I have come across a problem with
leaders spawning a second time while playing some of the
later scenarios (1757, 1758, etc.).
The "RoP Random Leaders" and the "RoP Options Leaders" event files contain events that don't check if a leader has already spawned in the game (like ACW does to avoid the same issue). I haven't gone over all of the events in these two files but it seems to me that this issue concerns
every spawn leader event in there.
Here is an example:
Playing the 1758 campaign Austria starts with
Darenberg as a corps commander (uni_AUS_Darenberg2), if you choose the "Receive Austrian General Option", Darenberg can spawn a second time (as the one star version, uni_AUS_Darenberg1).
[INDENT]SelectFaction = $AUS
StartEvent = evt_nam_AUS_LeaderReceived_L1|999|1|NULL|NULL|NULL|NULL
Conditions
MinDate = 1756/01/01
MaxDate = 1762/12/01
EvalEvent = evt_nam_AUS_LeaderReceived;=;1
Probability = 100
Actions
AddToRegList = $Wien;$Wien;$Prag;$Pressburg;$Pressburg
PickFromRegList = NotEnemy
GenMsg
SelectFaction = $AUS
CreateGroup
Posture = $Defensive
SetKind = $Land
Entranch = 0
InCS = 0
SetName = Feld Offizier
Apply
CreateUnit
SetType = $uni_AUS_Darenberg1
SetName = Darenberg
Apply
SetEvtOccurs = evt_nam_AUS_LeaderReceived;MaxOccurs;0
SetEvtOccurs = evt_nam_AUS_LeaderReceived;CuOccurs;0
SetEvtOccurs = evt_nam_AUS_LeaderReceived_L1;MaxOccurs;0
EndEvent[/INDENT]
I believe ACW uses the "EvalUnqUnit =" line in the conditions part of such an event to avoid this issue.
And another slightly different example:
In 1759
Soltikov becomes commander of the Russian Army via event ("
evt_nam_RUS_SaltykovCommands1759"). However that event fails to remove other versions of Saltikov from the game. Playing the 1758 campaign that would be neceassry since in that scenario Saltikov is already in the game as a two star commander. Consequently, in my last game I suddenly had two Saltikovs.
[ATTACH]15086[/ATTACH]
I know most people are playing the GC but playing any other scenario this is an annoying and frequent issue.
Am I aware that this means a lot of work since it concerns a huge number of events. But perhaps it can be adressed in a future patch anyway.
If you need a save game besides this description, please let me know.