User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Cohesion = 0

Mon Oct 06, 2008 11:25 am

LGE_DB_Models exc. file:
AI Column: Cohesion
Relative Comment Box states:
[color="RoyalBlue"]A value between 0 and 100, used to represent the model "cohesion", i.e. its organizational strength. When a model has a 0 cohesion, it will retreat from or not engage in combat[/color].

Beeing that true, lowering to zero all units cohesion, (by an event-command) could work to avoid engagemnts during an armistice!

Then, I suppose AI to be so smart to move Zero cohesion units at any friendly controlled region, possibly with depot, city depots, fortresses within.

User avatar
PhilThib
Posts: 13705
Joined: Tue Oct 18, 2005 5:21 pm
Location: Meylan (France)

Mon Oct 06, 2008 12:28 pm

Interesting idea, if you are right this opens a wealth of opportunities...might be worth a try...would you like to attempt it? :confused:
Image

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Mon Oct 06, 2008 1:24 pm

PhilThib wrote:Interesting idea, if you are right this opens a wealth of opportunities...might be worth a try...would you like to attempt it? :confused:



I'm forced to try!
Need to open my way to manage the Armistice! :wacko:

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

SetCohesion; 0

Tue Oct 07, 2008 11:41 am

I went after first test sessions!

SetCohesion command used.

SetCohesion; 1
SetCohesion; 0

Used in Setup exc. sheet for a campaign or used in Event sheet before a reinforcement group.

Even with SetCohesion; 0 Units have an average cohesion > 1; that although most SU have cohesion = 1.
Elite units, as guards, have anyway cohesion highly > 1.

Guess, model parameters influencing cohesions, and leaders with ability can power up unit cohesion even in presence of SetCohesion; 0 commands.

[color="Red"]Unfortunately this way does not work![/color] :(

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

ChgCohesion=##

Tue Oct 07, 2008 9:36 pm

Tried a second way.

Actions
SelectSubUnits; Area $Theater_Germany|FactionTags FRA
AlterCuSubUnit; ApplytoList|ChgCohesion -120


Analogous command used to lower down COA side units cohesion.

Command is repeated, turn by turn to keep unit cohesion at zero level.

Although all single sub units have cohesion = 0, at divisional and corps level the cohesion is slightly > 1.
Again by effect of leader abilities with bonus over troops cohesion.
[color="Red"]AI is very aggressive, advancing and engaging enemy[/color], although very low medium cohesion levels of troops, that produce short, low losses engagements.

So, not a working solution to avoid engagements during the armistice. :(

[color="RoyalBlue"]The lesson: keeping peace alive is harder than feeding war![/color]

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 10 guests