Startscripts and Maps
Posted: 19 Apr 2008, 00:23
Hi scripters out there,
I'm currently improving how spring deals with startscripts.
To start a map with a custom startscript (think of a scenario / campaign, or various "fun-maps" like towerdefense etc.), currently every player needs to download the same startscript and map and set it all in the setup script (but I am not aware of any lobby which supports this).
I recently commited a patch which makes it possible to include a startscript in a maparchive.
What I'm currently doing is a "Script" tag in the map definition file (*.smd / *.sm3). This tag specifies the startscript to use, it will overwrite the "Scriptname"-tag in the setupscript.
However, this will make the "SelectMap"-Function of startscripts not to work. Is anyone actually using this? Or do you have any other suggestions?
Thanks for feedback
I'm currently improving how spring deals with startscripts.
To start a map with a custom startscript (think of a scenario / campaign, or various "fun-maps" like towerdefense etc.), currently every player needs to download the same startscript and map and set it all in the setup script (but I am not aware of any lobby which supports this).
I recently commited a patch which makes it possible to include a startscript in a maparchive.
What I'm currently doing is a "Script" tag in the map definition file (*.smd / *.sm3). This tag specifies the startscript to use, it will overwrite the "Scriptname"-tag in the setupscript.
However, this will make the "SelectMap"-Function of startscripts not to work. Is anyone actually using this? Or do you have any other suggestions?
Thanks for feedback