Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.

SetFacMaxEntrench

From AGEWiki

Jump to: navigation, search

SetFacMaxEntrench

Syntax  

SetFacMaxEntrench = Value

Description

Set Faction Max Entrenchment Level.

With the now possible alteration of the MaxEntrench level by faction and turn, you can fine tweak what can be done in games.

Note: If no faction is selected, the limit is set for ALL Factions.

Limitation: You can't set the value to zero, if by default the level is not zero in
the game (AACW and BOA), you are required to have at least level 1. In NCP, the default
entrench level is zero, so it can be set = 0 without problem.

The Max level of entrenchment if no artillery is present is not modifiable by script, but is
limited by SetFacMaxEntrench anyway. There are 2 variables exported to a file in the settings directory. 
Official values for each game as of October 6, 2011 are:
AACW
:cbtMaxEntrenchLevel = 8
:cbtMaxEntrenchNotArt = 4
 
WIA
:cbtMaxEntrenchLevel = 2
:cbtMaxEntrenchNotArt = 1

NCP
:cbtMaxEntrenchLevel = 2
:cbtMaxEntrenchNotArt = 1

RoP
:cbtMaxEntrenchLevel = 2
:cbtMaxEntrenchNotArt = 1

RUS
:cbtMaxEntrenchLevel = 8
:cbtMaxEntrenchNotArt = 4

PON
:cbtMaxEntrenchLevel = 2
:cbtMaxEntrenchNotArt = 1

Example  

SetFacMaxEntrench = 2

The Maximum entrenchment is set = 2. This will also limit cbtMaxEntrenchLevel AND cbtMaxEntrenchNotArt to 2 until changed again


 

Parameters

Value

Integer

(1-999)
(0-999 for NCP only)
Forums