How to increase the amount of casualties when chasing skirmishers

Moderator: rbodleyscott

Post Reply
Horde
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 64
Joined: Mon Feb 08, 2021 11:03 am

How to increase the amount of casualties when chasing skirmishers

Post 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
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28320
Joined: Sun Dec 04, 2005 6:25 pm

Re: How to increase the amount of casualties when chasing skirmishers

Post 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.
Richard Bodley Scott

Image
Horde
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 64
Joined: Mon Feb 08, 2021 11:03 am

Re: How to increase the amount of casualties when chasing skirmishers

Post by Horde »

Thanksfor your response, Richard!
Post Reply

Return to “Field of Glory II: Medieval - Modding”