I'm making an arcade style gameplay mod for ZDoom, but I need it to always respawn the player each time he dies. The only way I could see this done was with a MAPINFO that added the "allowrespawn" property to "adddefaultmap", which then only works if I copy-paste all of Doom's map definitions (E1M1-E4M9, MAP01-MAP33, LEVEL01-LEVEL09), which just feels hacky.
This won't work with mods that include their own MAPINFO, not to mention that it breaks TNT: Evilution and Plutonia's map names and text screens. Is there any other way to do this?
Always forcing the player to respawn after death
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Re: Always forcing the player to respawn after death
You cannot change the properties of existing maps and definitions.
Re: Always forcing the player to respawn after death
Surely there must be another way to make the player respawn in single player?
- Ozymandias81
- Posts: 2068
- Joined: Thu Jul 04, 2013 8:01 am
- Graphics Processor: nVidia with Vulkan support
- Location: Mount Olympus, Mars
- Contact:
Re: Always forcing the player to respawn after death
I tried some silly ACS with RESPAWN script types, but didn't work. I'm sure that edward850 is right, iwad or pwad stuff can't change unless you change them directly.