User avatar
Straight Arrow
General
Posts: 507
Joined: Fri Nov 07, 2014 5:44 pm
Location: Washington State

Drawing the Face Cards

Mon Apr 16, 2018 8:45 pm

When one unlocks generals, are the newly appointed commanders totally random?

User avatar
Durk
Posts: 2921
Joined: Thu Apr 28, 2011 4:36 am
Location: Wyoming

Re: Drawing the Face Cards

Tue Apr 17, 2018 4:38 am

As far as I can tell, there is no random draw, just a set sequence. Maybe someone else knows better.

User avatar
Nikel
Posts: 2879
Joined: Sun Apr 20, 2008 8:38 pm

Re: Drawing the Face Cards

Tue Apr 17, 2018 11:01 am

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 :siffle:




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

epaminondas
Colonel
Posts: 362
Joined: Thu Feb 08, 2007 9:35 pm

Re: Drawing the Face Cards

Tue Apr 17, 2018 11:51 pm

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.

Altaris
Posts: 1551
Joined: Wed Dec 07, 2011 8:20 pm

Re: Drawing the Face Cards

Thu Apr 19, 2018 8:01 pm

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.

Return to “To End All Wars”

Who is online

Users browsing this forum: No registered users and 22 guests