|Anonymous | Login | Signup for a new account||2020-08-11 03:05 UTC|
|My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002158||Zandronum||[All Projects] Bug||public||2015-04-01 23:55||2017-08-13 18:10|
|Target Version||Fixed in Version|
|Summary||0002158: GameType() returns incorrect values for some gametypes.|
|Description||So I just came across this issue when trying to make a mod that calculates experience differently between team games and non-team games. GameType() erroniously returns GAME_NET_DEATHMATCH in Team Deathmatch, Team Last Man Standing, and Team Possession. Domination, CTF, Skulltag and the generic "Team Game" work fine.|
|Additional Information||The gametype check in PCD_GAMETYPE is very basic and only checks teamgame for truth.|
|Attached Files||invasion-gametype-acs.wad [^] (3,459 bytes) 2017-08-13 17:22|
Torr Samaho (administrator)
|Zandronum distinguishes between GMF_TEAMGAME and GMF_PLAYERSONTEAMS, ZDoom doesn't have anything like this. I could easily have the function map GMF_PLAYERSONTEAMS to GAME_NET_TEAMGAME. Is this what we want?|
I'm having a similar issue where GameType() is returning GAME_NET_COOPERATIVE during offline single-player.
I'll add a test wad. Notice the CMPGNINF, DECORATE, and SCRIPT lumps.
I'm using docs athttps://zdoom.org/wiki/GameType [^] and I am checking for GAME_SINGLE_PLAYER or GAME_TITLE_MAP as validation for my "IsSinglePlayerGame()" function.
My mod needs to detect if it's in singleplayer mode or not, so this bug is a little game-breaking for me at the moment. And PlayerCounting= 1 stuff won't suffice.
Zan v3.0-alpha (2.8pre-441-g458e1b1) 170709-2004
I don't think so. IMO it's better to have a new function for that.
|Only registered users can voice their support. Click here to register, or here to log in.|
|Supporters:||No one explicitly supports this issue yet.|
|Opponents:||No one explicitly opposes this issue yet.|
|2015-04-01 23:55||AlexMax||New Issue|
|2015-04-02 06:12||Torr Samaho||Note Added: 0011979|
|2017-08-13 17:22||arkore||Note Added: 0018185|
|2017-08-13 17:22||arkore||File Added: invasion-gametype-acs.wad|
|2017-08-13 18:10||Dusk||Note Added: 0018188|
Questions or other issues? Contact Us.
|Copyright © 2000 - 2020 MantisBT Team|