User avatar
Cardinal Ape
General of the Army
Posts: 608
Joined: Wed Mar 07, 2012 1:59 am

Out of State Militia bug.

Sun Jun 05, 2016 5:05 am

Cohesion wise, militia are not being properly penalized for being out of state. In fact, militia outside of their home state have 5 more max cohesion than those who are at home. Discipline and movement penalties for being out of state are working correctly, it is only the cohesion.

The source of this bug is located in the GameLogic.opt file. Under the Home Area Penalty/Bonus there is this entry:

areaOutsideHomeTQ = -3 // TQ (and 5 time that to max cohesion)

This value is producing a positive instead of a negative (only for cohesion, not TQ). I verified this by changing the -3 value to -15, the result was an overall increase to militia of 60 maximum cohesion points. When I changed the value to a +3, it gave the proper result of in-state militia having 10 more max cohesion than out of state militia. However, the discipline value was not decreased for being out of state.

User avatar
DrPostman
Posts: 2937
Joined: Wed Nov 09, 2011 5:39 pm
Location: Memphis, TN
Contact: Website Facebook Twitter YouTube

Sun Jun 05, 2016 10:16 pm

Good catch! I hope they do another patch.
"Ludus non nisi sanguineus"

Image

User avatar
BigDuke66
Brigadier General
Posts: 421
Joined: Fri Dec 11, 2009 2:06 pm

Re: Out of State Militia bug.

Thu Feb 09, 2017 2:28 am

Would upgrading a running game be without danger?

And I see more values in the file:
areaOutsideHomeAbi = -1 // -1 level to abies (can render them inactive)
areaOutsideHomeStr = -2 // Strategic
areaOutsideHomeOff = -2 // Offensive
areaOutsideHomeDef = -1 // Defensive
areaOutsideHomeTQ = -3 // TQ (and 5 time that to max cohesion)
areaOutsideHomeMR = 66 // Move Ratio Coeff (x0.66) // [changed 120921 from 0.33]
cohLocalAreaBonus = 10 // bonus to max cohesion if at home

Do all the others work correctly?
"Spread word to every slave, that even the mighty republic bleeds when struck!"
Join the Napoleonic Wargame Club
Join the American Civil War Game Club
Join the The Blitz Wargaming Club

User avatar
Cardinal Ape
General of the Army
Posts: 608
Joined: Wed Mar 07, 2012 1:59 am

Re: Out of State Militia bug.

Thu Feb 09, 2017 10:28 pm

You should be able to change it mid-game, though it will affect all your games.

I'm not sure if the other values work right, I think they do, I haven't noticed them not working. The out of state movement penalty does work. I think those values for strategic, offensive, and defensive are for corps outside their army commanders range. Interesting bit about how its lowers ability levels by one... I wonder if corps commanders can actually have their traits turned off if they get out of range.

Return to “Help improve CW2”

Who is online

Users browsing this forum: No registered users and 3 guests