Page 1 of 1

EXIT Script type

PostPosted: Wed Oct 24, 2018 11:10 am
by Collegia Titanica
A script type that triggers whenever a map ends, regardless of what way it ends. This happens before the default intermission screen.
[UNLOADING doesn't work]


A very easy and convenient way of creating custom intermissions in a mod that can overwrite/skip the default ones regardless of what wad is being played.

Imagine this: A variable in an ENTER script logs the name of the nextmap which is set up via the PRINTNAME_NEXTLEVEL

Map xx ends and the Exit script Always changes map to INTERMAP (defined in mod) in which very relevant custom stats and images can be displayed while freezing the player and disabling the hud.
After that, the intermission map changes to the map in the variable above, effectively bypassing the default intermission.

Re: EXIT Script type

PostPosted: Wed Oct 24, 2018 11:15 am
by Graf Zahl
I don't really think that ACS is the right tool for such stuff...

Re: EXIT Script type

PostPosted: Wed Oct 24, 2018 11:29 am
by Collegia Titanica
I'm just going with what I know, acs is usually used for level stuff so it seems fitting.And I figured implementing what I wrote above should be simple.

If not that, then how would this be done in Z ? Suppose I somehow Scriptcall the value from the ACS variable above, move it to some zscript class, some EventHandler and then ... ?

If I can get this to work, I can easily make a great intermission for a popular mod, I really want to get this working somehow :/

Re: EXIT Script type

PostPosted: Wed Oct 24, 2018 12:10 pm
by Graf Zahl
If you cannot do what you need in an UNLOADING script, any other type won't help you either. Because that gets called when the map exits.