sv_singleplayerrespawn
Moderator: GZDoom Developers
sv_singleplayerrespawn
https://github.com/rheit/zdoom/pull/869
Simple. Allows you to respawn in single player like you do in multiplayer without any special map flags or bots.
Simple. Allows you to respawn in single player like you do in multiplayer without any special map flags or bots.
Re: sv_singleplayerrespawn
Oh yes!
By the way, can you make it so that mods can enforce it? A certain gameplay mod of mine needs it, as it desperately needs it to get rid of the MAPINFO hack it has.
By the way, can you make it so that mods can enforce it? A certain gameplay mod of mine needs it, as it desperately needs it to get rid of the MAPINFO hack it has.
Re: sv_singleplayerrespawn
How do you mean? What would be the ideal way for your mod to enable it?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49066
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: sv_singleplayerrespawn
Err... MAPINFO?
Re: sv_singleplayerrespawn
I'm confused. It's already doable through MAPINFO. If you want it done some other way, give me a sample definition.
But otherwise, for the mod-side idea to work, I think there should be a way to retroactively activate level flags without using "defaultmap" - i.e. if you load it after the previous mod's MAPINFO. That would be much cleaner, in my opinion, and would much more cleanly enable this without the use of hacks.
I am willing to implement a "skillinfo" version of this, though.
This submission is just purely a non-mod way to accomplish the same thing.
But otherwise, for the mod-side idea to work, I think there should be a way to retroactively activate level flags without using "defaultmap" - i.e. if you load it after the previous mod's MAPINFO. That would be much cleaner, in my opinion, and would much more cleanly enable this without the use of hacks.
I am willing to implement a "skillinfo" version of this, though.
This submission is just purely a non-mod way to accomplish the same thing.
-
- Posts: 1774
- Joined: Sat Oct 17, 2009 9:40 am
Re: sv_singleplayerrespawn
I guess what he meant is to not restrict to single specific maps, so something similar to 'allowrespawn' should be allowed in the gameinfo block?
[edit] nevermind, 'gamedefaults' block should accomplish the same. What's the hack here?
[edit] nevermind, 'gamedefaults' block should accomplish the same. What's the hack here?
Re: sv_singleplayerrespawn
I think what they're wanting is for this to be enabled retroactively (enabled in MAPINFO for post-load order), but I suggested an alternate (and in my opinion, cleaner) solution for that - being that there should be a map settings override block if this should be done through MAPINFO.
Regardless, that entire discussion is beyond the scope of this submission.
Without Graf's involvement in this discussion, my wording would have changed instead of addressing him directly, to expressing my opinion that this is the way it should be done, first, and that it would require a separate submission (this would be a more complex system and may or may not require some deeper and more systematic code changes).
Regardless, that entire discussion is beyond the scope of this submission.
Without Graf's involvement in this discussion, my wording would have changed instead of addressing him directly, to expressing my opinion that this is the way it should be done, first, and that it would require a separate submission (this would be a more complex system and may or may not require some deeper and more systematic code changes).
- Major Cooke
- Posts: 8175
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Location: QZDoom Maintenance Team
Re: sv_singleplayerrespawn
Graf was addressing Beed28. And yes, mods can enforce it via the use of MAPINFO.
Re: sv_singleplayerrespawn
I tried "gamedefaults" once. I still had to redefine every map from MAP01 to MAP32. Any map that isn't defined, it isn't applied to.
I've cooked up an example wad. In MAP01 and MAP03, you'll be able to respawn, there's low gravity, and you have full air control. But only in MAP01 and MAP03. It doesn't apply to the other maps at all. I've tried "defaultmap", "adddefaultmap" and "gamedefaults". None of those solve the problem.
I've cooked up an example wad. In MAP01 and MAP03, you'll be able to respawn, there's low gravity, and you have full air control. But only in MAP01 and MAP03. It doesn't apply to the other maps at all. I've tried "defaultmap", "adddefaultmap" and "gamedefaults". None of those solve the problem.
- Attachments
-
- mapinfotest.wad
- (578 Bytes) Downloaded 51 times
Re: sv_singleplayerrespawn
That's because of the issue I already addressed earlier when I thought Graf was addressing me.
Those are pre-load headers. They only work for entries that are subsequent (following). What you're looking for is something that does not yet exist, probably due to technical reasons - an override header.
Those are pre-load headers. They only work for entries that are subsequent (following). What you're looking for is something that does not yet exist, probably due to technical reasons - an override header.