CoB4thTexas wrote:
Does this file work?, if so should it stay in logistics or go somwhere else?
No. The SDK has an incorrect copy of it. As such it will not work. However, if you place the following: [BattleDef] as the 1st line in the file, it will work just fine. Then flank and rear fire can be modded to have a proper moral effect.

Sometimes i go dense, and sorry this is one of those times.
So the file should look like this in notepad?:
,,
[BattleDef],,
;[CasualtyMorale],,
; This is done for every man lost in battle,,
; This is modified by factors in unitattributes.csv,,
CMBaseLoss=8,,
; This modifier is multiplied by the percentage of men lost, then by the morale loss,
; So 100 with 50% of men lost and modified loss of 10 would mean a total 15 point loss,,
; So this value means take 100% of the percent lost modifier,,
CMPctMenRemainingMod=50,,
; Lastly we modify for where the fire came from, this value is the percent of the remaining value to use,
CMPctFrontFire=300,,
CMPctRearFire=800,,
CMPctFlankFire=600,,
; So the final formula is: ,,
; result = BaseLoss + unitattributes modifiers,,
; result = Random( result - randfact, result + randfact ),
; the minimum value of result will be 1 at this point,,
; result = result + (result * PctMenLost) * PctMenRemainingMod,,
; result = result * FireType,,
CMRandFact=3,,
; this is used to specify the killing rate in seconds,,
CMMaxNextKillTime=10,,
CMMaxKillTimePenalty=5,,
Also this line bothers me, ;[CasualtyMorale],,
is this correct, and should this file even be in the logistics folder?