User avatar
Citizen X
AGEod Veteran
Posts: 795
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: 7613
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: 795
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: 2879
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: 7613
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: 2879
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: 795
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: 2879
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...

AntoniusPius
Conscript
Posts: 5
Joined: Wed Apr 10, 2019 2:06 pm

Re: ChgFormedCmdMax

Wed Apr 10, 2019 2:12 pm

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.

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

Re: ChgFormedCmdMax

Thu Apr 11, 2019 4:34 pm

A first poster with the complete wiki? :blink:

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

AntoniusPius
Conscript
Posts: 5
Joined: Wed Apr 10, 2019 2:06 pm

Re: ChgFormedCmdMax

Thu Apr 11, 2019 6:09 pm

https://app.box.com/s/xyuk33y5f2pdwt0d1q9kk1cs3h67pixf

unrar and doubleclick on the index file. The whole wiki will be displayed into your browser.

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

Re: ChgFormedCmdMax

Fri Apr 12, 2019 4:00 pm

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.

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

Re: ChgFormedCmdMax

Fri Apr 12, 2019 4:27 pm

The missing script commands are:


Saved in the WBM:

AI.RemAgent

https://web.archive.org/web/20160813145 ... I.RemAgent

SetCSNoCrossing

https://web.archive.org/web/20170326204 ... NoCrossing




Not saved:

AlterComponent

ChgFormedCmdMax

ChgGameRules

EvalHasThisTreatyAttrib

EvalMenuOption

GetBackAllUnits

GetBackUnits

Lockshortcut

SetCustomMM

SetForcedWeather

SetModelImage

SetPrisonersRgn

SetStartScripts

TakeOverAllUnits

TakeOverUnits
Last edited by Nikel on Fri Apr 12, 2019 6:12 pm, edited 1 time in total.

AntoniusPius
Conscript
Posts: 5
Joined: Wed Apr 10, 2019 2:06 pm

Re: ChgFormedCmdMax

Fri Apr 12, 2019 4:47 pm

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

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

Re: ChgFormedCmdMax

Fri Apr 12, 2019 6:09 pm

The Definitions, abilities and Modding Options categories seem to be complete.


AI modding, only the already commented and saved AI.RemAgent is missing.

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

Re: ChgFormedCmdMax

Fri Apr 12, 2019 6:16 pm

Thank you again AntoniusPius! ;)


Hope it is useful to any modder that may appear.

Long live AGE engine! :wacko:

AntoniusPius
Conscript
Posts: 5
Joined: Wed Apr 10, 2019 2:06 pm

Re: ChgFormedCmdMax

Fri Apr 12, 2019 10:16 pm

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 = 195


Must 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|0


I've divided one ECW region in 2 succesfully.

Here's the link:

https://app.box.com/s/k41gfvsq0y98ccwjttriucug4ckbr128
Last edited by AntoniusPius on Sat Apr 13, 2019 1:03 pm, edited 1 time in total.

User avatar
Bohémond
Posts: 2799
Joined: Wed May 14, 2008 8:47 pm

Re: ChgFormedCmdMax

Sat Apr 13, 2019 2:04 am

A really cool feature.

Thanks a lot.

Regards

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

Re: ChgFormedCmdMax

Sat Apr 13, 2019 10:06 am

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.

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

Re: ChgFormedCmdMax

Sun Apr 14, 2019 7:01 pm

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 = 195


Must 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|0


I'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?

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

Re: ChgFormedCmdMax

Sun Apr 14, 2019 11:21 pm

File date stamp 2015, not sure what version:


...........

Exmap.zip
(960.03 KiB) Downloaded 508 times


.............

AntoniusPius
Conscript
Posts: 5
Joined: Wed Apr 10, 2019 2:06 pm

Re: ChgFormedCmdMax

Mon Apr 15, 2019 12:31 am

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.

Lafrite
Posts: 847
Joined: Mon Nov 14, 2005 9:00 pm
Contact: Website

Re: ChgFormedCmdMax

Sat Apr 27, 2019 7:39 pm

The of AntoniusPius copy is now online https://www.leqg.org/doc/age/ :)

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

Re: ChgFormedCmdMax

Sat Apr 27, 2019 9:03 pm

Lafrite wrote:The of AntoniusPius copy is now online https://www.leqg.org/doc/age/ :)




:coeurs: :gardavou: :dada: :leprechau :party: :fleurs: :hat:

User avatar
Pocus
Posts: 25659
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Re: ChgFormedCmdMax

Mon Apr 29, 2019 8:55 am

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.

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

Re: ChgFormedCmdMax

Tue Apr 30, 2019 9:15 am

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.

:hat: :hat:

Tom
Private
Posts: 31
Joined: Sun Dec 30, 2007 6:22 pm
Location: Krakow, Poland

Re: ChgFormedCmdMax

Sun Jun 14, 2020 12:51 am

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

Tom
Private
Posts: 31
Joined: Sun Dec 30, 2007 6:22 pm
Location: Krakow, Poland

Re: ChgFormedCmdMax

Sat Jun 20, 2020 12:26 pm

OK It seems to be using Alias, so $Depot.

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 24 guests