Hi:
I'm using the RESTART command to test my script changes and I'm unable to get the MAP or WARP commands to work along with it. I can use the same command via command line args and it works fine (warps straight to a map).
Say something like this command line works (DOES warp):
gzdoom -iwad doom.wad +map e1m1
But this doesn't from the console (does NOT warp):
restart -iwad doom.wad +map e1m1
According to this page, it seems they should work the same:
https://zdoom.org/wiki/CCMDs:Other
Is there a better way to test script changes without restarting ZDOOM?
Thanks.
Console RESTART Command Question
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Console RESTART Command Question
The restart command cannot do everything you do from the command line, the engine was really never made to be restartable so a few limitations couldn't be removed.
Re: Console RESTART Command Question
Thanks for the info.Graf Zahl wrote:The restart command cannot do everything you do from the command line, the engine was really never made to be restartable so a few limitations couldn't be removed.
What's the most efficient way of testing script changes on the fly?
- Caligari87
- Admin
- Posts: 6233
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
- Contact:
Re: Console RESTART Command Question
Quitting and restarting the engine, honestly. GZDoom isn't really set up to handle run-time resource changes.
I recommend setting up testing levels specifically for this, as you can run console commands from the commandline, like so

I recommend setting up testing levels specifically for this, as you can run console commands from the commandline, like so
Code: Select all
gzdoom -file mytestfile.pk3 +map testmap +god +notarget +summon mytestmonster

Re: Console RESTART Command Question
Got it. Thanks.