After a first round of tests on these commands i came up with this: ******************************************
*USAGE - EXAMPLE - FUNCTION - EXPLANATION *
******************************************
***************
*USAGE: *
*EXAMPLE: *
*FUNCTION: *
*EXPLANATION: *
***************
NOTE:I'm first gonna test everything in editor on an existing skirmish map (skirmish2.md3).It is possible that some commands only work in game, but will test that later. It is also possible that some of the codes are intended for Alexander or Heroes Of Annihilated Empires as these commands are also present in those engine.exe's.
addhi
USAGE: addhi n
EXAMPLE: addhi 20
FUNCTION: adds height to the map by n ( 20 in this case in example)
EXPLANATION: Increases the total map height by specified number.I presume you can use any number between 1-999. Also negative values work to decrease total map height and lower it. So you can use - 1 to -200. Watch out for unpredicted results on already existing maps ;-), especially in lowering the map height.
addstmm
USAGE: unknown
EXAMPLE: unknown
FUNCTION: unknown
EXPLANATION: unknown
addpk
USAGE: unknown
EXAMPLE: unknown
FUNCTION: unknown
EXPLANATION: i tried addpk 10 and the game crashed to desktop :-) It surely does something, just dont know what
addfr
USAGE: unknown
EXAMPLE: unknown
FUNCTION: unknown
EXPLANATION: i tried addfr 20 on a building and the game crashed to desktop.
addtom
USAGE:unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:unknown
bstage
USAGE: bstage %
EXAMPLE: bstage 50
FUNCTION: Sets a building to an unfinished building state in % of its total building time.
EXPLANATION: Select a building in Map Editor, type bstage 0-100 and the building will show its unfinished building animation.
change
USAGE: unknown
EXAMPLE: unknown
FUNCTION: unknown
EXPLANATION: unknown
changeunit
USAGE: changeunit UnitNam(Nation)
EXAMPLE: changeunit UnitFuz(FR)
FUNCTION: changes units in to defined unit
EXPLANATION: If you have for example a formation of voltigers on the map, select them ,enter, and type changeunit UnitFuz(FR) , the formation will automatically change in to Fusiliers. Also works for single units . To do this you ofcourse need to know the name's of the units the game uses by checking the nation.nds file under [MEMBERS] and check with text/mdlist.txt if you don't know which unit is which. Doesnt seem to work for buildings though, but it says changeUNIT.
charge
USAGE:unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:unknown
deposits
USAGE:deposits
EXAMPLE:depo sits
FUNCTION:adds 50 000 of each resources
EXPLANATION:mainly used for single player skirmishes, cause in editor you already have maximum amount of resources.
dest
USAGE: unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:unknown
endprof
USAGE: endprof
EXAMPLE: endprof
FUNCTION: Debugger function for profiler
EXPLANATION: if you use this function it give's you the assertion screen stating : .\Profiler\FSampleProfiler.cpp .Suggest you stay away from this one.
I presume this command is used to end the runprof code.
erase
USAGE:erase
EXAMPLE:erase
FUNCTION: erases any building or unit from the map without leaving any trace's
EXPLANATION:Select a building or unit and use this code. This one is different than using the DEL key which burns a building down first leaving a rubble behind and a texture or if you have a formations, make's the flagbearers run over the map etc... Quick and Clean method of deleting stuff on the map you didnt intent to do. Could also use the N hotkey for terrain features ofcourse.
estats
USAGE:estats
EXAMPLE:estats
FUNCTION:brings up the statistics screen for battle for europe mode
EXPLANATION:this made my game crash in editor. In single player mode ( skirmish-BFE mode) it works and shows the statistics screen on a part of the screen.
exec
USAGE:unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:unknown, but i presume this is short for execute, only execute what and which parameter is to be used here?
fast
USAGE:fast
EXAMPLE:fast
FUNCTION:increases game speed
EXPLANATION:everything goes at very fast speed. Return to normal with slow command
fway
USAGE:unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:unknown
FWAY
USAGE:unknown
EXAMPLE:unknown
FUNCT ION:unknown
EXPLANATION:unknown
hbor
USAGE:hbor
EXAMPLE:hbor
FUNCTION:Hides the resource bar, mini map, type hbor again to reveal it again
EXPLANATION: Evidently you can hide the toolbar ( ctrl+T), Minimap (M~toggle) but i never knew how to hide the resource bar. This is one Daddio will like for his screenshots when he create's previews for his maps. Suggest you take screenshots (H) after having used this command, will make it easier for the last line of shots to compile a preview of a map. nice one. I presume it refers to hide borland ( hbor) Are they using a borland interface?
heroes
USAGE:unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:i think this is for Alexander and Hoae, cause they got heroes
heroesupgrade
USAGE:unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:i think this is for Alexander and Hoae, cause they got heroes and upgrades
hold
USAGE:unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:unknown
illusion
USAGE: illusion
EXAMPLE: illusion
FUNCTION: takes away the vision of a unit building even though it belongs to a nation
EXPLANATION: If you want to hide a particular unit ( so the fog of war goes over it), select the unit, use this code and you will see fog of war over the unit.on next load you will not see the unit. Nice one for hidding surprise units belonging to a nation for campaign use or smth forcing the player to scout around on the map for hidden easter eggs.
immortal
USAGE: immortal1
EXAMPLE: immortal 1
FUNCTION: makes a building (unit ?) immortal
EXPLANATION: the code only take's effect on the next load up of the map. It would seem that after rebooting the computer the effect of the code is gone so it does not attach to the map itself, but must store this information in a temporary file or cached memory of the game.
invnorms
USAGE:invnorms
EXAMPLE:invnorms
FUNCTION:unknown
EXPLANATION:on using this i get a message back saying: Normals were inverted. Ok , but which'normals' and I didnt notice anything different.
locktype
USAGE:unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:i tried this on the french barracks typing locktype UnitFuz(FR) thinking this would lock or hide the Fusilier but didnt seem to do so. I also tried locktype Strela thinking this would lock a unit from using his weapons but didnt seem to work. Don't know what its for at the moment or how to use the parameters. Ok, a few codes further some of my french fusiliers formations suddenly dont have any interface anymore and since this is the only command i used on them that remotely could do something like this it must have been correct. (locktype UnitFuz(FR)) trying on a different unit.Ok no, this must be something i screwed up on my mod, as i'm testing this on my mod version. pff.GG.Well a single fusilier has its weapons interface but not a formations, i still think this is one of these commands that didnt seem to do something but did so, but why i got this on other version of my mod aswell then, gotta back track this properly in my logs and versions.
lucky
USAGE: lucky
EXAMPLE:lucky
FUNCTION: opens up the map ( hide's the fog of war) and give's you access to the nations screen
EXPLANATION: after typing in the code, the map will be revealed and then type P to access the units/buildings tab. To close again hit the x button on the tab and pres F9 to return to normal mouse mode.
mind
USAGE: unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:unknown
ntch
USAGE:unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATIO N:Only guessing what it could mean : not charge, no team change, ...?
PostGameStat
USAGE:unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:unknown
pulse
USAGE:pulse
EXAMPLE:pulse
FUN CTION:unknown
EXPLANATION:when selecting a formation and then typing pulse, it leave's a circle on the minimap.like the command centers or the strategic zone's. Unsure what this is for
reinforce
USAGE: reinforce
EXAMPLE: reinforce
FUNCTION: reinforces formation
EXPLANATION: pretty clear
rifle
USAGE:rifle
EXAMPLE:rifle
FUNCTION:formation will shoot with rifle at enemy
EXPLANATION:when putting2 enemy formations near eachother, nothing happens, but as soon as you select one formation and type rifle, about 20% of the units will shoot from various positions at the enemy
rntf
USAGE:unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:unknown
runprof
USAGE: runprof (?)
EXAMPLE: unknown
FUNCTION: runs the debugger/profiler
EXPLANATION: when i tried this command it started up the debugger but gave me a fatal error stating the following: Could not CoCreate CLSID_DiaSource(Alt). Register msdia20.dll or add its location to your path. OK --->Assertion Failure(pos\=0&&pos<NValues): file../ClassEngine\dynarray.h.line 98 Retry?Cancel? Well clearly i need msdia20.dll, register it or add its location to the path. But the dynarray.h error tells me i will need the source code to the engine in order to run this debugger properly. I did give me a blue screen with some text in the background but these errors showed up above it and i could not read what was written there.
Ok , so in installed msdia20.dll and registered it regsvr32 msdia20.dll trough cmd.exe . Then on running this code again I get the next error message: Fatal Error loadData From Pdb/Exe-->Ok. blue screen on background still not entirely visible but says: Profiler Initialisation : Then you can p.....able profiling. To view results , unpress N....CTRL-ALT-SHIFT-SPACE. Stuck here
RunScript
USAGE: unknown
EXAMPLE: unknown
FUNCTION: mostlikely a shortcut to start up the attached script to a mission map
EXPLANATION: i tried this on one of the mission maps, but didnt do anything mostlikely because i didnt define the name of the script itself. However you can run the script to test trough the ctrl+ battleeditor options or Script editor aswell, its probably just a quick way of doing this
savestats
USAGE: savestats <filename (without extension)>
EXAMPLE: savestats test123
FUNCTION: generates a report with nation statistics
EXPLANATION: This will generate an excel spreadsheet with all kinds of statistics and information about the current nations(units+buildings) in the game. This file iwll appear in your data folder of the installed game. I saved the file and copied it to a backup folder for further inspection. See Attachment for example (it's from one of my mod version, so dont pay attention to unusual things in there).
scout
USAGE:scout
EXAMPLE:scout
FUNCTION:lifts fog of war
EXPLANATION: toggle to hide or show fog of war
setmind
USAGE:unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:unknown
setbrignat
USAGE:setbrignat n
EXAMPLE:setbrignat 3
FUNCTION:changes the nation color of a formation
EXPLANATION: Select a formation, use setbrignat 1-7 to change the color and owner of the nation.
sklad
USAGE: sklad n
EXAMPLE:sklad1
FUNCTION:sets the function of a building to a storehouse
EXPLANATION: for example on one of the GorFRa or SelFra buildings for the villages so the villagers instead of going back in the mine's, drop the resources on this building.
slow
USAGE:slow
EXAMPLE:slow
FUNCTION:sets the game speed back to normal
EXPLANATION:sets game speed to slow after having used the 'fast' command
stats
USAGE:stats
EXAMPLE:stats
FUNCTION:shows statistics screen
EXPLANATION:shows end game statistics. After closing i get a defeat message and the game returns to editor
susptime
USAGE:unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:i presume this means suspend time, but it doesnt do anything if i type it or if adding parameters like susptime 20 etc...
tchange
USAGE:unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:i presume this is for team change, but need to test on a map with teams, could also be time change, who knows
tlink
USAGE: unknown
EXAMPLE: unknown
FUNCTION:unknown
EXPLANATION:well if tchange would be for teamchange, then this could mean team link but then again it could be something totally different
toplink
USAGE: unknown
EXAMPLE: unknown
FUNCTION:unknown
EXPLANATION:saw something changin on my minimap but was to quick to see, tried again and didnt show. Weird
trestore
USAGE:unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:mostlikely something to do with tchange and tlink to restore any changes, but dont know
vprof
USAGE:vprof
EXAMPLE:vprof
FUNCTION:Internal Profiler Menu
EXPLANATION:Opens up a new menu, still have to figure out and test what it exactly does, but nice one. So much hidden stuff in this game, just when you think you'v seen it all, there's a whole new world opening.
walkover
USAGE:walkover
EXAMPLE:walkover
FUNCTION:wins current level
EXPLANATION:for single player games: skirmish, campaigns, battles
wledit
USAGE:unknown
EXAMPLE:unknown
FUNCTION:unknown
EXPLANATION:unknown[END]
So 15/37 codes known now. I will do more tests later on the unknown commands. Hope for some feedback of other people on this.
E.A.
*******************************************************************************************************************
Update : Added 14 other codes i found to the above lists, still have to try them out. And updated 2 code usage's. So 17/51 codes known now.
*******************************************************************************************************************
Update: Added 5 more usage's of codes to above list. So 22/51 codes known now. And attached that skirmish2test.csv (excel file)
*******************************************************************************************************************
Update: Added 1 new code and added 4 usage's of codes to above lists. So 26/52 codes known now.
*******************************************************************************************************************