LuisGuzman wrote: ↑2020-08-26 16:03, Wednesday
Actually option #1 is resolved in game as you say, so any change could modify the behavior of other designers using that choice if we change the behavior now. Maybe we could rethink for future versions, once the current RC is promoted to official
I checked and no: if set as shown, then the unit gets no XP-bar and no leader (i tried by setting the leader chance to 100% - but without the XP-bar, this didn't matter anyway):
LuisGuzman wrote: ↑2020-08-26 16:03, Wednesday
The option #2 is resolved in Suite so we can change easily and moreover it already does what you want if you set this way:
https://i.ibb.co/Thhy6vs/image.png
I ticked also the filter to change "only if ..." to show that you can also exclude some units for the global replacement, but it is not required to set a random experience level plus bars for a selection of units.
After apply the the range of units you need, you can review the units and set a leader for whichever you want.
By this, the XP is set at design time - and actually, only once: immediately after set up, thus Suite (not OpenGen) randomizes, just once, within the given range (and applies the XP-bar).
However, the [Rand+] feature works at play time = everytime OpenGen (not the Suite) loads the scenario, thus for example
1) i play scenario X on monday, then the unit has 100 XP
2) i replay on tuesday, then the unit has 133 XP
3) i replay on tuesday an hour later, then the unit is created with 111 XP
and so on.
In the Suite, it would still be set as [XP = 99 ; Rand+ = 50], but OpenGen then randomizes within {99;149} every time the scenario is loaded.
For easier set up of scenarios, i would like the [Rand+] included in the Global Changes, as for example for [Class = Infantry] and [Name = Conscript], i could then set for all 10 Conscript units the given pair of 99+50 for example. And then repeat for the 12 [Regular] infantries with 110+60, and the 9 [artillery] units with 50+49.
Yes, i am a very lazy person
Additionally the tricky thing is, as shown above, that the XP-bar is missing, if the randomization raises above a multiple of 100 XP.