14.12.2008, 12:13
zipzapp Wrote:My explanation was bad. There are two ways:Can we have more than one version simultaneously?
1) Rename one of the actors.statics in the Alpen folder to save it and give the small one thats name.
Example:
Rename actors_east.static as save_actors_east.static
Rename airport-actors.static as actors_east.static
Thats simple but not very comfortable, because you always have to rename the files to switch between the "full" and the "light" version. So the second way:
Double the load.ini as you did it, change the reference of the actors in it and create a new entry in the all.ini.
Example:
Rename the zip_Alpen_east_load.ini as light.ini (Of course you will rename a copy, not the original one) in the Alpen folder.
Change in the light.ini the following entry:
[static]
actors_east.static
into
[static]
aiport-actors.static
So when the "light.ini" is called, the game knows it shall use an "airport-actors.static."
Now open the all.ini in the mapmods/maps folder and add the following line where ever you want:
zip_Alpen_light zip_Alpen/light.ini
So an entry "zip-Alpen_light" will appear in the map directory of the fmb as a new map and the game knows, it shall look into a folder "zip_Alpen" (that always exists) to start a file named "light.ini" (that you jsut created). And following the instructions in the "light.ini" it will load a "airport-actors.static"
The first part is free, you can also use
Ajmm-66i zip_Alpen/light.ini (I did not test this ;-))
than the map will appear as "Ajmm-66i" in the map directory of the fmb and not as "zip_Alpen-light", you can name it as you want. But following are the names of the map folder and of the actors to be used, they must meet the existing map folder and the name of the actors you want to use. The error message "MAP2D section not found" appears if a folder or file was not found, mostly it doesn't have to do anything with the "MaP2D"-Section in the load.ini.
If you create a mission using this new map, in the .mis file you will find an entry
[MAIN]
MAP zip_Alpen/light.ini
To use the mission in the original map you must change this into
[MAIN]
MAP zip_Alpen/zip_Alpen_east_load.ini
or
[MAIN]
MAP zip_Alpen/zip_Alpen_west_load.ini
I hope this helps.