Page 1 of 1
How to increase the amount of casualties when chasing skirmishers
Posted: Sun Aug 22, 2021 5:13 pm
by Horde
Does anyone know how can I mod the amount of casualties that skirmishers get when they are chased and not caught? I would like to mod it. Also, does anyone know if there can be established in the code than, when they are are chased but not caught, there“s a possibility that they decrease a cohesion level?
Thanks in advance
Re: How to increase the amount of casualties when chasing skirmishers
Posted: Mon Aug 23, 2021 6:38 am
by rbodleyscott
The function that determines evader casualties is
RemoveEvaderCasualties(me, enemy)
in /Data/scripts/MoreCloseCombatTools.BSF
Modding it to increase the casualties would be very simple. Modding it to force a Cohesion Test in some circumstances would be more complicated, but could be done.
As always, we recommend you use the modding system and don't mod your main build. You absolutely must not do so if you will ever play MP.
Re: How to increase the amount of casualties when chasing skirmishers
Posted: Mon Aug 23, 2021 3:11 pm
by Horde
Thanksfor your response, Richard!