Page 1 of 1
ChgFormedCmdMax
Posted: Fri Mar 15, 2019 12:08 pm
by Citizen X
Anybody remembers what this command was meant to do?
ChgFormedCmdMax
Re: ChgFormedCmdMax
Posted: Fri Mar 15, 2019 12:54 pm
by lodilefty
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|NbArmiesStacksChgFormedCmdMax: Syntax is
ChgFormedCmdMax = NbCorpsStacks|NbArmiesStacksand, 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.....
.....
Re: ChgFormedCmdMax
Posted: Fri Mar 15, 2019 1:58 pm
by Citizen X
Thank you so much.
Note to self: Take better notes :P
Re: ChgFormedCmdMax
Posted: Fri Mar 15, 2019 7:46 pm
by Nikel
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
Re: ChgFormedCmdMax
Posted: Sat Mar 16, 2019 2:42 pm
by lodilefty
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.....
Re: ChgFormedCmdMax
Posted: Sun Mar 17, 2019 6:46 pm
by Nikel
OK, thanks lodilefty
Citizen X, what are you modding, if I may ask?
Re: ChgFormedCmdMax
Posted: Mon Mar 18, 2019 12:59 am
by Citizen X
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.
Re: ChgFormedCmdMax
Posted: Mon Mar 18, 2019 8:13 pm
by Nikel
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...
Re: ChgFormedCmdMax
Posted: Wed Apr 10, 2019 2:12 pm
by AntoniusPius
I've a copy of the whole agewiki. PM me at
depottwit@outlook.fr to get the download link.
I'm looking for the Ageod Mapedit, btw. PM me too.
Re: ChgFormedCmdMax
Posted: Thu Apr 11, 2019 4:34 pm
by Nikel
A first poster with the complete wiki?
Which is the format of your saved version?
The map utility was named Exmap2, AFAIK it was as rough as hell.
This was the old download link, that of course is not working.
http://ageoddl.telechargement.fr/latest/AGE_Exmap.zip
Re: ChgFormedCmdMax
Posted: Thu Apr 11, 2019 6:09 pm
by AntoniusPius
https://app.box.com/s/xyuk33y5f2pdwt0d1q9kk1cs3h67pixfunrar and doubleclick on the index file. The whole wiki will be displayed into your browser.
Re: ChgFormedCmdMax
Posted: Fri Apr 12, 2019 4:00 pm
by Nikel
Thank you, it works
Though what was the date of the save? It is not complete, for example the command of the title of this very thread is missing.
There were up to 310 commands in the list according to the wayback machine, and in your save "only" 293.
Re: ChgFormedCmdMax
Posted: Fri Apr 12, 2019 4:27 pm
by Nikel
The
missing script commands are:
Saved in the WBM:
AI.RemAgent
https://web.archive.org/web/20160813145 ... I.RemAgentSetCSNoCrossing
https://web.archive.org/web/20170326204 ... NoCrossingNot saved:
AlterComponent
ChgFormedCmdMax
ChgGameRules
EvalHasThisTreatyAttrib
EvalMenuOption
GetBackAllUnits
GetBackUnits
Lockshortcut
SetCustomMM
SetForcedWeather
SetModelImage
SetPrisonersRgn
SetStartScripts
TakeOverAllUnits
TakeOverUnits
Re: ChgFormedCmdMax
Posted: Fri Apr 12, 2019 4:47 pm
by AntoniusPius
Nikel wrote:Thank you, it works
Though what was the date of the save? It is not complete, for example the command of the title of this very thread is missing.
There were up to 310 commands in the list according to the wayback machine, and in your save "only" 293.
a few years ago
Re: ChgFormedCmdMax
Posted: Fri Apr 12, 2019 6:09 pm
by Nikel
The Definitions, abilities and Modding Options categories seem to be complete.
AI modding, only the already commented and saved AI.RemAgent is missing.
Re: ChgFormedCmdMax
Posted: Fri Apr 12, 2019 6:16 pm
by Nikel
Thank you again AntoniusPius!
Hope it is useful to any modder that may appear.
Long live AGE engine!
Re: ChgFormedCmdMax
Posted: Fri Apr 12, 2019 10:16 pm
by AntoniusPius
Digging deeper in my archives, I've found a very old version of exmap.
A stroke of dispair inducing me to try, I've learnt it works perfectly with recent games like ECW, if you add to each rgn files 2 lines :
UID = 197
Name = Region00197
Kind = 0
x = 1860
y = 4456
xc = 2129
yc = 4663
DisplayNb = 4
Coo0 = 2156|4628|0
Coo1 = 2068|4692|0
Coo2 = 2188|4700|0
Coo3 = 2212|4660|0
TerrainType = 14
SprFacing = 0
DisplaceOffset0 = 0|0
Adjacency0 = 195Must be modified into
UID = 197
Name = Region00197
Kind = 0
x = 1860
y = 4456
xc = 2129
yc = 4663
DisplayNb = 4
Coo0 = 2156|4628|0
Coo1 = 2068|4692|0
Coo2 = 2188|4700|0
Coo3 = 2212|4660|0
Bitmap = 0Rensselaer, NY.bmp
WinterBmp = Winter_0Rensselaer, NY.bmp
TerrainType = 14
SprFacing = 0
DisplaceOffset0 = 0|0I've divided one ECW region in 2 succesfully.
Here's the link:
https://app.box.com/s/k41gfvsq0y98ccwjttriucug4ckbr128
Re: ChgFormedCmdMax
Posted: Sat Apr 13, 2019 2:04 am
by Bohémond
A really cool feature.
Thanks a lot.
Regards
Re: ChgFormedCmdMax
Posted: Sat Apr 13, 2019 10:06 am
by Citizen X
Too bad it is not the Wiki code. But still a huge step onward.
I spent several weeks to transform the HTML Code of the wayback machine into Wiki Code. Just got finished. Will see how your safe can fit in after Easter Holidays.
Re: ChgFormedCmdMax
Posted: Sun Apr 14, 2019 7:01 pm
by Nikel
AntoniusPius wrote:Digging deeper in my archives, I've found a very old version of exmap.
A stroke of dispair inducing me to try, I've learnt it works perfectly with recent games like ECW, if you add to each rgn files 2 lines :
UID = 197
Name = Region00197
Kind = 0
x = 1860
y = 4456
xc = 2129
yc = 4663
DisplayNb = 4
Coo0 = 2156|4628|0
Coo1 = 2068|4692|0
Coo2 = 2188|4700|0
Coo3 = 2212|4660|0
TerrainType = 14
SprFacing = 0
DisplaceOffset0 = 0|0
Adjacency0 = 195Must be modified into
UID = 197
Name = Region00197
Kind = 0
x = 1860
y = 4456
xc = 2129
yc = 4663
DisplayNb = 4
Coo0 = 2156|4628|0
Coo1 = 2068|4692|0
Coo2 = 2188|4700|0
Coo3 = 2212|4660|0
Bitmap = 0Rensselaer, NY.bmp
WinterBmp = Winter_0Rensselaer, NY.bmp
TerrainType = 14
SprFacing = 0
DisplaceOffset0 = 0|0I've divided one ECW region in 2 succesfully.
Here's the link:
https://app.box.com/s/k41gfvsq0y98ccwjttriucug4ckbr128
From 2007!
Anybody with a more recent version?
Pocus?
Re: ChgFormedCmdMax
Posted: Sun Apr 14, 2019 11:21 pm
by lodilefty
File date stamp 2015, not sure what version:
...........
.............
Re: ChgFormedCmdMax
Posted: Mon Apr 15, 2019 12:31 am
by AntoniusPius
Great.
2.41 version. A few data folders are missing in the archive, but I've fixed that.
From a search on this forum, this version is among the more recent.
Re: ChgFormedCmdMax
Posted: Sat Apr 27, 2019 7:39 pm
by Lafrite
The of AntoniusPius copy is now online
https://www.leqg.org/doc/age/
Re: ChgFormedCmdMax
Posted: Sat Apr 27, 2019 9:03 pm
by lodilefty
Re: ChgFormedCmdMax
Posted: Mon Apr 29, 2019 8:55 am
by Pocus
Many thanks for the move.
It has been made possible by CitizenX who worked hard to pull back the old Wiki from its grave and convert it into an HTML format, that has been then put by Lafrite on the LE QG website
Many thanks to CitizenX, and also big thanks to Lafrite for hosting it.
Re: ChgFormedCmdMax
Posted: Tue Apr 30, 2019 9:15 am
by Citizen X
Kudos for this goes to Lafrite alone.
While true that I converted the HTML code found at wayback machine back to Wiki Code, this is presumably AntoniusPius 's HTML backup of the old Wiki. I might get corrected there.
Good job, Lafrite and AntoniusPius.
Re: ChgFormedCmdMax
Posted: Sun Jun 14, 2020 12:51 am
by Tom
Great that you got the Wiki posted again. Thanks!
Is it possible to make updates / additions?
For example, I am playing PON/VGN and a faction is not able to build military buildings. I'm trying to figure out how to give that ability. (need depots!) Can try scripting every building, but better to have in-game.
For example, in one nation's events, I found this command:
ChangeStrucPool
But I don't know how to tell what names to use for the structures. I can see them listed in this folder: VGN\GameData\Structures
But I don't think the file names or numbers are correct. How to know the scripting names of the structures?
[edit] For example, opening the .str file for Depot has this ... must be one of those. Is it $stuDepot ?
UID = 17
Alias = Depot
Name = $stc_nam_Depot
Text = $stc_txt_Depot
Kind = $stuDepot
SubKind = $stsMil
Family = $sfmDepot
Thanks
Re: ChgFormedCmdMax
Posted: Sat Jun 20, 2020 12:26 pm
by Tom
OK It seems to be using Alias, so $Depot.