Troop Type and Combat Capabilities

Moderators: rbodleyscott, Slitherine Core, Gothic Labs

Post Reply
StuccoFresco
2nd Lieutenant - Panzer IVF/2
2nd Lieutenant - Panzer IVF/2
Posts: 669
Joined: Sun Feb 10, 2019 11:10 am

Troop Type and Combat Capabilities

Post by StuccoFresco »

I'm curious if it's possible to mod the ingame effects of the various Troop Types and Combat Capabilities.

For example, what if I want Heavy Weapons to have +125 PoA in Melee or if I want Elephants to disorganize enemy infantry?

Is there a file I can modify to obtain that kind of changes?
Paul59
General - King Tiger
General - King Tiger
Posts: 3861
Joined: Tue Jul 21, 2015 11:26 pm

Re: Troop Type and Combat Capabilities

Post by Paul59 »

StuccoFresco wrote: Tue Dec 03, 2019 11:56 am I'm curious if it's possible to mod the ingame effects of the various Troop Types and Combat Capabilities.

For example, what if I want Heavy Weapons to have +125 PoA in Melee or if I want Elephants to disorganize enemy infantry?

Is there a file I can modify to obtain that kind of changes?
These are all possible. Have you looked at the Modding Guide?

viewtopic.php?f=322&t=53873
Field of Glory II Scenario Designer - Age of Belisarius, Rise of Persia, Wolves at the Gate and Swifter than Eagles.

Field of Glory II Medieval Scenario Designer.

FOGII TT Mod Creator

Warhammer 40,000: Sanctus Reach Tournament Scenario Designer.
StuccoFresco
2nd Lieutenant - Panzer IVF/2
2nd Lieutenant - Panzer IVF/2
Posts: 669
Joined: Sun Feb 10, 2019 11:10 am

Re: Troop Type and Combat Capabilities

Post by StuccoFresco »

There is nothing in the guide about modifying what those things do ingame.
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28330
Joined: Sun Dec 04, 2005 6:25 pm

Re: Troop Type and Combat Capabilities

Post by rbodleyscott »

StuccoFresco wrote: Tue Dec 03, 2019 11:56 am I'm curious if it's possible to mod the ingame effects of the various Troop Types and Combat Capabilities.

For example, what if I want Heavy Weapons to have +125 PoA in Melee or if I want Elephants to disorganize enemy infantry?

Is there a file I can modify to obtain that kind of changes?
For the first you would need to mod the GetMeleePOA() function in CombatTools.BSF

For the second you would need to mod the PercentDisordered() function in CombatTools.BSF
Richard Bodley Scott

Image
StuccoFresco
2nd Lieutenant - Panzer IVF/2
2nd Lieutenant - Panzer IVF/2
Posts: 669
Joined: Sun Feb 10, 2019 11:10 am

Re: Troop Type and Combat Capabilities

Post by StuccoFresco »

Thanks, i'll look into it.
Post Reply

Return to “Modders Corner”