GAMEMODE lump help

Discuss all aspects related to modding Zandronum here.
Post Reply
Catastrophe
Retired Staff / Community Team Member
Posts: 2571
Joined: Sat Jun 02, 2012 2:44 am

GAMEMODE lump help

#1

Post by Catastrophe » Sat Aug 03, 2013 9:08 pm

I have my gamemode lump set up like this.

Code: Select all

Survival {
removeflag COOPERATIVE
removeflag PLAYERSEARNKILLS
removeflag TEAMGAME
addflag DEATHMATCH
addflag PLAYERSEARNFRAGS
}
My problem is, why are player frags negative when I kill someone as shown here: Image

And why does it give the teamkill message when I set COOPERATIVE off and turned DEATHMATCH and PLAYERSEARNFRAGS on?

And why don't the frags go away when the map changes?
Am I doing something wrong here?

And why does it show deaths?

example wad: http://www.speedyshare.com/6MmEn/WTF.wad - survival, addbots, teamdamage 1.0
Last edited by Catastrophe on Sat Aug 03, 2013 9:22 pm, edited 1 time in total.

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

RE: GAMEMODE lump help

#2

Post by Torr Samaho » Mon Aug 05, 2013 7:26 pm

Catastrophe wrote: Am I doing something wrong here?
No. The problem is that the basic flags COOPERATIVE, DEATHMATCH, TEAMGAME were never intended to be changed by mods. Most internal code uses the corresponding cvar instead of checking these flags. If you submit a bug report at the tracker, we can see whether it's feasible to fix this in the engine.

Post Reply