What I'm hopefully proposing as another feature for ACS, is a way for the game to detect which iwad you're using. I could imagine a few things that could be done with this, a weird example could be:
Code: Select all
SCRIPT 1 int mapnum (int iwad)
{
if(iwad("Doom")==1)
if(mapnum==13){ //Which would be E1M3 if you use Doom as an IWAD
<insert commands and such here>
}
}
What it could be used for is that it checks upon which IWad you are using currently, if the user is using the right wad that the script checks for, and when he steps into a certain map plotted for that IWad, it can/could execute a set of commands. More common of a usage would be without editing any other maps but being able to add to them with this method.
Another way could be is if it could even check for nomal wads, not just iwads, so if there was something also like:
Code: Select all
SCRIPT 1 int mapnum (int wad)
{
if(wad("claust")==1)
if(mapnum==13){ //Which would be map 13 of the wad, if it's a Doom 2 config type.
<insert commands and such here>
}
}
Any chance there could be something like this?