Other Units at singleplayer campain start

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
Seg
New user
Posts: 1
Joined: 01 Aug 2009, 13:09

Other Units at singleplayer campain start

Post by Seg »

It is posible to start the singleplayer Campain with other Units?
Maybe with editing the Savegame after the start?

P.S. sorry for the bad english.

thx Seg
maynard
Trained
Trained
Posts: 38
Joined: 08 Jul 2009, 22:50

Re: Other Units at singleplayer campain start

Post by maynard »

this is out of basic.slo which is a script file that is part of base.wz

//make some components available
makeComponentAvailable(viperBody, 0);
makeComponentAvailable(machineGun, 0);
makeComponentAvailable(howitzerBody, 1);
makeComponentAvailable(missileBody, 1);
makeComponentAvailable(trikeBody, 6);
makeComponentAvailable(buggyBody, 6);
makeComponentAvailable(babaBody, 6);
makeComponentAvailable(trikeBody, 7);
makeComponentAvailable(buggyBody, 7);
makeComponentAvailable(babaBody, 7);
makeComponentAvailable(spade, 0);
// makeComponentAvailable(ecm, 6);
// makeComponentAvailable(ecm, 7);
makeComponentAvailable(wheeledProp, 0);
makeComponentAvailable(wheeledProp, 1);
makeComponentAvailable(trackProp, 1);
makeComponentAvailable(babaProp, 6);
makeComponentAvailable(babaProp, 7);

these file are a pain to edit, So far what I have figure out is to copy base.wz to another directory and then change the file ext to zip. Then in order to get the file to a usable state I then create a new text document wordpad. Then I open a text file then copy it paste it into word pad then recopy it then repaste it back into the origanal txt file and save it. Be sure and not change the orinal game files but to make a new zip file and include your changes to it then change the zip file to the wz ext.
Also you may have to find edit and include certain wrf files to force the game to use your changes in your mod. Also you need to search the web for all the help to can find on makeing mods. There will be lots of trial and error so have lots of patients.

Goood luck
Oh btw for every slo file you edit there is also a matching vlo file that goes with it.