User avatar
Citizen X
AGEod Veteran
Posts: 716
Joined: Tue Feb 02, 2010 1:34 pm

ChgFormedCmdMax

Fri Mar 15, 2019 12:08 pm

Anybody remembers what this command was meant to do?
ChgFormedCmdMax

User avatar
lodilefty
Posts: 7557
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Re: ChgFormedCmdMax

Fri Mar 15, 2019 12:54 pm

Changes [plus or minus] number of allowed Armies, Corps,..
SetFormedCmdMax sets them, vs an algebraic change....


Format, taken from Script Engine code:

SetFormedCmdMax: Syntax is SetFormedCmdMax = NbCorpsStacks|NbArmiesStacks

ChgFormedCmdMax: Syntax is ChgFormedCmdMax = NbCorpsStacks|NbArmiesStacks

and, IIRC to include Divisions

SetCombiUnits: Syntax is SetCombiUnits = NbSmall|NbMedium|NbLarge

where NbLarge is the # Divisions...... IIRC, the Small and Medium are legacy, so use with extreme care


Events using these can be seen in CW2 file 1861 July Campaign.sct




....sigh, I miss the Wiki..... :crying:
.....

User avatar
Citizen X
AGEod Veteran
Posts: 716
Joined: Tue Feb 02, 2010 1:34 pm

Re: ChgFormedCmdMax

Fri Mar 15, 2019 1:58 pm

Thank you so much.
Note to self: Take better notes :P

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

Re: ChgFormedCmdMax

Fri Mar 15, 2019 7:46 pm

I cannot find the examples of "ChgFormedCmdMax"

Only of "SetFormedCmdMax"

Searched with Notepad++ in the events folder files, with examples in April and July 1861 campaigns in CW2.

Code: Select all

  SetFormedCmdMax = 9999;6
  SetFormedCmdMax = 9999;6
  SetFormedCmdMax = 0;3
  SetFormedCmdMax = 0;3
  SetFormedCmdMax = 9999;9
  SetFormedCmdMax = 9999;9
  SetFormedCmdMax = 0;9999
  SetFormedCmdMax = 0;9999
  SetFormedCmdMax = 9999;6
  SetFormedCmdMax = 9999;6
  SetFormedCmdMax = 0;3
  SetFormedCmdMax = 0;3
  SetFormedCmdMax = 9999;9
  SetFormedCmdMax = 9999;9
  SetFormedCmdMax = 0;9999
  SetFormedCmdMax = 0;9999

User avatar
lodilefty
Posts: 7557
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Re: ChgFormedCmdMax

Sat Mar 16, 2019 2:42 pm

Yeah, we rarely used the "change" version of commands, as weirdness could result: using "set" leaves little doubt as to how many....

...but it really is "in there" in the script engine.....

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

Re: ChgFormedCmdMax

Sun Mar 17, 2019 6:46 pm

OK, thanks lodilefty :hat:


Citizen X, what are you modding, if I may ask?

User avatar
Citizen X
AGEod Veteran
Posts: 716
Joined: Tue Feb 02, 2010 1:34 pm

Re: ChgFormedCmdMax

Mon Mar 18, 2019 12:59 am

Currently nothing. I was just sorting stuff on my harddisk, really. With the new engine at the gates I started going through the stuff I had written down about the old one. Which wasn't much because everything seemed to be online.

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

Re: ChgFormedCmdMax

Mon Mar 18, 2019 8:13 pm

With the wiki gone, not so much info available for modding, the databases of some games, this forum.

And I wonder which is the future of this very forum...

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 3 guests