Page 1 of 1
					
			
				Drawing the Face Cards
				Posted: Mon Apr 16, 2018 8:45 pm
				by Straight Arrow
				When one unlocks generals, are the newly appointed commanders totally random?
			 
					
			
				Re: Drawing the Face Cards
				Posted: Tue Apr 17, 2018 4:38 am
				by Durk
				As far as I can tell, there is no random draw, just a set sequence. Maybe someone else knows better.
			 
					
			
				Re: Drawing the Face Cards
				Posted: Tue Apr 17, 2018 11:01 am
				by Nikel
				Just tried 2 times and got the same result. In the off-map box they are listed by rank and seniority.
This is the code that manages the decision in 
WW1_UnlockGenerals.sct, example for Germany.
I understand that :
Must be at least 1 general in the off-map box.
SelectSubUnits appears 6 times because 6 commanders are selected.
They are moved to Berlin if in german hands.
But who is chosen and why, I do not know, but it is not rank and seniority  
 
 Code: Select all
SelectFaction = $CEN
SelectFaction = $CEN
StartEvent = evt_nam_UnlockGenerals_CEN_GER|999|0|NULL|NULL|NULL|NULL
Conditions
  SelectSubUnits = Region = $F7_GER;Families $famLeader;OnlyNotFixed
  EvalSubUnitCount = >;0
Actions
  SelectSubUnits = Region = $F7_GER;Families $famLeader;OnlyNotFixed
  MoveUnit = $Berlin;NotEnemy
  SelectSubUnits = Region = $F7_GER;Families $famLeader;OnlyNotFixed
  MoveUnit = $Berlin;NotEnemy
  SelectSubUnits = Region = $F7_GER;Families $famLeader;OnlyNotFixed
  MoveUnit = $Berlin;NotEnemy
  SelectSubUnits = Region = $F7_GER;Families $famLeader;OnlyNotFixed
  MoveUnit = $Berlin;NotEnemy
  SelectSubUnits = Region = $F7_GER;Families $famLeader;OnlyNotFixed
  MoveUnit = $Berlin;NotEnemy
  SelectSubUnits = Region = $F7_GER;Families $famLeader;OnlyNotFixed
  MoveUnit = $Berlin;NotEnemy
  GenTextMsg = evt_not_gen_unlock;1;NULL;NULL;NULL
EndEvent
AgeWiki info for this command is still available.
https://web.archive.org/web/20160829010 ... ctSubUnits 
					
			
				Re: Drawing the Face Cards
				Posted: Tue Apr 17, 2018 11:51 pm
				by epaminondas
				Consistent with what Durk and Nik have said, I have no real insight into the selection procedure; but I do suspect that there's a timeline issue involved somewhere.  For example, Hutier shows up in the German availability list very early in the game but over many playings I've never seen him actually appointed before 1917.
I can also add that the "randomisation" appears to be affected by the specifics of a particular turn.  As Nik points out, if you replay a completed turn you find yourself drawing the same batch of generals, but if you replay that turn from its start with a different pattern of movements you get a different bundle recruited.
			 
					
			
				Re: Drawing the Face Cards
				Posted: Thu Apr 19, 2018 8:01 pm
				by Altaris
				It's random, but I'm not sure when the RNG is seeded. You are correct that just rerunning a turn will not change results.