Spoiler: details and screenshots (Open)
Spoiler: screenshots (Open)
Spoiler: (Open)
Spoiler: screenshot (Open)
Spoiler: screenshots (Open)
Spoiler: CAT (Open)
Spoiler: details and screenshots (Open)
Spoiler: screenshots (Open)
Spoiler: (Open)
Spoiler: screenshot (Open)
Spoiler: screenshots (Open)
Spoiler: CAT (Open)
In Zan 3.2.1+, we have ACS technology:TDRR wrote: ↑Fri Sep 18, 2020 9:22 pmThere's reliable ways to detect the game (Doom, Hexen, Heretic or Strife) but no real easy way to detect Doom 1 or Doom 2 specifically. The only way I can think off the top of my head, would be using an ACS OPEN script with Stricmp, StrMid and StrParam to get and compare the map lump name to the ExMx format, set a map variable and another script that sets this map var as it's result value. The check itself is separate so as to reduce the performance impact of doing it every time a monster needs to use it.
Code: Select all
int lump_index = LumpOpen("DEMO4", 0);
if(lump_index >= 0 && LumpGetInfo(lump_index, LUMP_INFO_SIZE) == 3286)
{
LumpClose(lump_index);
log(s:"It's Ultimate DOOM time.");
}
In Zan 3.2.1+, we have ACS technology:TDRR wrote: ↑Fri Sep 18, 2020 9:22 pmThere's reliable ways to detect the game (Doom, Hexen, Heretic or Strife) but no real easy way to detect Doom 1 or Doom 2 specifically. The only way I can think off the top of my head, would be using an ACS OPEN script with Stricmp, StrMid and StrParam to get and compare the map lump name to the ExMx format, set a map variable and another script that sets this map var as it's result value. The check itself is separate so as to reduce the performance impact of doing it every time a monster needs to use it.
Code: Select all
int lump_index = LumpOpen("DEMO4", 0);
if(lump_index >= 0 && LumpGetInfo(lump_index, LUMP_INFO_SIZE) == 3286)
{
LumpClose(lump_index);
log(s:"It's Ultimate DOOM time.");
}