Page 1 of 1
What does the "strengthValue" mean?
Posted: Mon Aug 06, 2018 10:15 pm
by Kossatx
Anyone knows what does the "strengthValue" of the units mean?

Re: What does the "strengthValue" mean?
Posted: Tue Aug 07, 2018 11:43 am
by Robotron
Not to be confused with a unit's hitpoints or combat values.
Unit strength is a variable that's used by the AI to determine the need for extra units to be deployed to the fronts.
Whether it's effective or working at all is unclear since the effects of assigning different strength values were hardly noticeable.
All in all I believe it's a redundant leftover from an earlier version of the AI (the AI had a major rebuilding at some time but I can't remember at which version number).
Sadly the different people who had experimented with the AI at various stages not always cleaned up the code after they were done, so some defunct stuff still lingers in the scripts.
Re: What does the "strengthValue" mean?
Posted: Tue Aug 07, 2018 12:17 pm
by Kossatx
Ok, is in your Potzblitz mod this value redundant? As you know, I make modifications over your own mod

Re: What does the "strengthValue" mean?
Posted: Tue Aug 07, 2018 2:40 pm
by Robotron
Yes it's still redundant, and I did not get any noticeable results by trying out different values.
But then again, feel free to experiment with the values, maybe you will notice a different AI behaviour that I overlooked.
Re: What does the "strengthValue" mean?
Posted: Tue Aug 07, 2018 3:06 pm
by Kossatx
Robotron wrote: ↑Tue Aug 07, 2018 2:40 pm
Yes it's still redundant, and I did not get any noticeable results by trying out different values.
But then again, feel free to experiment with the values, maybe you will notice a different AI behaviour that I overlooked.
Ok Robotron, I'll be aware about that. Thanks!