MantisBT - Zandronum
View Issue Details
0000933Zandronum[All Projects] Suggestionpublic2012-07-24 03:362012-07-29 20:26
TerminusEst13 
 
normalfeatureN/A
closedno change required 
MicrosoftWindowsXP/Vista/7
1.0-beta 
 
0000933: Expand on the GameType ACS information function.
Hello.

The ACS information function GameType allows for the execution of different commands depending upon whether the mode is offline singleplayer, online in co-op, or online in deathmatch.
This allows for useful features such as giving people damage protection against certain weapons in co-op while letting them harm each other in DM, or (outside of SV_UnblockPlayers) turning on +THRUSPECIES for projectiles so players can shoot through each other while turning it off in DM, or letting an item pickup give a lot of health and armor in co-op while giving only a little in DM, etc, etc, etc.

At the moment, however, several team-based game modes will be considered co-operative under the script--such as Capture the Flag or Skulltag. So a script that (for example) has bullets/projectiles to go through players in co-op mode suddenly makes CTF/ST gameplay decisively more difficult.
I would like to suggest expanding GameType so as to recognize additional modes, if they're being played.
'http://zdoom.org/wiki/GameType [^]' - The function as said on the ZDoom wiki.
No tags attached.
Issue History
2012-07-24 03:36TerminusEst13New Issue
2012-07-24 06:31Torr SamahoNote Added: 0004066
2012-07-29 12:38Torr SamahoStatusnew => feedback
2012-07-29 20:15TerminusEst13Note Added: 0004138
2012-07-29 20:15TerminusEst13Statusfeedback => new
2012-07-29 20:26Torr SamahoNote Added: 0004139
2012-07-29 20:26Torr SamahoStatusnew => closed
2012-07-29 20:26Torr SamahoResolutionopen => no change required

Notes
(0004066)
Torr Samaho   
2012-07-24 06:31   
Quote from TerminusEst13
At the moment, however, several team-based game modes will be considered co-operative under the script--such as Capture the Flag or Skulltag.

You already should be able to distinguish between CTF/ST and Coop. In CTF/ST the function is supposed to return GAME_NET_TEAMGAME (=4), while it should return GAME_NET_COOPERATIVE (=1) in coop. If this doesn't work for you, please post a minimal example wad that demonstrates the problem.
(0004138)
TerminusEst13   
2012-07-29 20:15   
Ah, I didn't even know GAME_NET_TEAMGAME existed. Yeah, that works perfectly in regards to things.

Well, then, I guess nevermind.
(0004139)
Torr Samaho   
2012-07-29 20:26   
I'm glad to hear that :). Closing this then.