Thanks.
From campaign screen ...
How do units end up above 100% strength?
-
rbodleyscott
- Field of Glory 2

- Posts: 28411
- Joined: Sun Dec 04, 2005 6:25 pm
Re: How do units end up above 100% strength?
All units are adjusted by up to 10% either way when they are created. 480 is only "paper" strength.
Richard Bodley Scott


-
kronenblatt
- General - Carrier

- Posts: 4828
- Joined: Mon Jun 03, 2019 4:17 pm
- Location: Stockholm, SWEDEN
Re: How do units end up above 100% strength?
In which file is that made, and where? I really like the feature itself of units having unique strengths, but maybe in the future would like to mod it (i.e., disable that adjustment) as part of making the units more generic and to use strength in relative terms instead of representing actual number of men.rbodleyscott wrote: ↑Tue Sep 29, 2020 8:27 am All units are adjusted by up to 10% either way when they are created. 480 is only "paper" strength.
kronenblatt's campaign and tournament thread hub:
https://www.slitherine.com/forum/viewtopic.php?t=108643
https://www.slitherine.com/forum/viewtopic.php?t=108643
-
rbodleyscott
- Field of Glory 2

- Posts: 28411
- Joined: Sun Dec 04, 2005 6:25 pm
Re: How do units end up above 100% strength?
The function that does it is RandomiseStartingStrength() in Tools.BSFkronenblatt wrote: ↑Sat Oct 03, 2020 9:04 amIn which file is that made, and where? I really like the feature itself of units having unique strengths, but maybe in the future would like to mod it (i.e., disable that adjustment) as part of making the units more generic and to use strength in relative terms instead of representing actual number of men.rbodleyscott wrote: ↑Tue Sep 29, 2020 8:27 am All units are adjusted by up to 10% either way when they are created. 480 is only "paper" strength.
It is usually called from CustomiseUnits(), either in a scenario's scenario script, or in Slith_RandomMap2.bsf for random map battles.
Richard Bodley Scott


-
kronenblatt
- General - Carrier

- Posts: 4828
- Joined: Mon Jun 03, 2019 4:17 pm
- Location: Stockholm, SWEDEN
Re: How do units end up above 100% strength?
Oki, thanks.rbodleyscott wrote: ↑Sat Oct 03, 2020 10:34 amThe function that does it is RandomiseStartingStrength() in Tools.BSFkronenblatt wrote: ↑Sat Oct 03, 2020 9:04 amIn which file is that made, and where? I really like the feature itself of units having unique strengths, but maybe in the future would like to mod it (i.e., disable that adjustment) as part of making the units more generic and to use strength in relative terms instead of representing actual number of men.rbodleyscott wrote: ↑Tue Sep 29, 2020 8:27 am All units are adjusted by up to 10% either way when they are created. 480 is only "paper" strength.
It is usually called from CustomiseUnits(), either in a scenario's scenario script, or in Slith_RandomMap2.bsf for random map battles.
kronenblatt's campaign and tournament thread hub:
https://www.slitherine.com/forum/viewtopic.php?t=108643
https://www.slitherine.com/forum/viewtopic.php?t=108643
