Always forcing the player to respawn after death

Archive of the old editing forum
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.
Locked
User avatar
Beed28
Posts: 598
Joined: Sun Feb 24, 2013 4:07 pm
Location: United Kingdom

Always forcing the player to respawn after death

Post by Beed28 »

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?
User avatar
edward850
Posts: 5889
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: Always forcing the player to respawn after death

Post by edward850 »

You cannot change the properties of existing maps and definitions.
User avatar
Beed28
Posts: 598
Joined: Sun Feb 24, 2013 4:07 pm
Location: United Kingdom

Re: Always forcing the player to respawn after death

Post by Beed28 »

Surely there must be another way to make the player respawn in single player?
User avatar
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

Post by Ozymandias81 »

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.
Locked

Return to “Editing (Archive)”