Zandronum Chat @
Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002597Zandronum[All Projects] Suggestionpublic2016-01-26 14:322017-07-15 10:55
Assigned To 
PlatformOSOS Version
Product Version2.1 
Target VersionFixed in Version 
Summary0002597: Allow coop starts in gamemodes with teams
DescriptionCurrently there is no way to make a gamemode with teams use coop starts. This limitation makes it much harder to make bug-free teamgame mods based around coop on existing coop maps.
Steps To ReproduceUsing PLAYERSONTEAMS flag for the cooperative gamemode, as in the following code, DOES NOT work. It makes coop use dm spawns:

cooperative {
Additional InformationThere are several ugly ways to work around this limitation:

* make the game coop and replace all damage types to only damage the players who are on the opposing "team" (this is what is used by Master of Puppets). Complexity explodes with the amount of damage types and teams. Explosive team damage cannot be removed if suicides must be preserved. BFG tracer damage is simply impossible to eliminate due to a hardcoded damagetype and no way to reduce the damage to 0 (0 is interpreted as default, and default is 40), but it can be minimized by setting the damage to 1 and doing the rest of damage with an explosion of the needed damagetype that is spawned from a bfg extra effect.

* make scripts to temporarily switch the game to coop and record the coordinates of coop starts, then switch back to the needed gamemode. Then use scripts to teleport the players who spawn at dm spawns back to coop spawns. AFAIK, no mod has attempted this yet.

* a variaton of the second workaround: pre-record the coordinates at server startup by adding bots. Or precompile a list of coop spawn positions for many megawads that will typically be played with a given mod. Avoids the slow startups or annoying map switching but works only with a predefined list of maps. Requires the administrator to specify the wad twice. Has not ever been attempted either.

This all is very ugly and can be avoided by simply allowing the use of coop starts in team games.
Attached Files? file icon coopteamgame.wad [^] (68 bytes) 2016-01-26 14:32

- Relationships

-  Notes
User avatar (0014970)
Korshun (reporter)
2016-05-21 21:09

Forgot to note, this issue prevents Complex MOP from having team chat.
User avatar (0017996)
Korshun (reporter)
2017-07-09 21:56

I found a workaround that enabled teams in Complex MOP. The workaround is to add the following to TeamInfo:


Team "Marines"
    TextColor "Green"
    PlayerStartThingNumber 1

Team "Puppetmasters"
    TextColor "Red"
    PlayerStartThingNumber 2

PlayerStartThingNumber makes the whole team spawn at a single coop start.

BUT this workaround COMPLETELY BREAKS VOODOO DOLLS. This breaks A LOT of Boom maps that use voodoo dolls on conveyors to trigger essential stuff like opening the door forward.
User avatar (0018002)
Ru5tK1ng (updater)
2017-07-11 03:54

The easiest soultion would probably be to implement handling for coop modes that add the PLAYERSONTEAM flag rather than try to change TEAMGAME handling. There are a bit of checks in which TEAMGAME relies on the presence of team spawns otherwise it's a no go. By-passing these checks will lead to undesired side effects. It's just one of those design oversights that causes pain for map flexibility every now and then.

The example wad shows that the functionality is nearly complete and all that's missing are a few checks to force the use of coop spawns as the first option rather than dm spawns.
User avatar (0018003)
Ru5tK1ng (updater)
2017-07-11 04:25

Can you test this build and see if it works any better: [^]
User avatar (0018004)
Korshun (reporter)
2017-07-11 14:40
edited on: 2017-07-11 14:46

Players do correctly belong to teams and spawn on coop spawns. In multiplayer, voodoo dolls seem to be replaced by invisible indestructible actors (that don't show up on the automap even with am_cheat 3), which makes Boom maps work correctly. This is great.

In singleplayer, voodoo dolls look as expected. Are the multiplayer voodoo dolls SERVERSIDEONLY?

But players on opposing teams can't hurt each other, unless teamdamage is on, which makes this feature unusable for mods where players on opposing teams need to shoot each other.

Also, it displays "SERVERCONSOLE_SetupColumns: Couldn't get column!" in Windows server GUI on every map change.

User avatar (0018005)
Ru5tK1ng (updater)
2017-07-11 15:29

The column issue is just something on my end.

I am no expert on voodoo dolls so I can't answer that question.

Ill look into fixing the team damage however.
User avatar (0018033)
Ru5tK1ng (updater)
2017-07-15 03:36

Teams should work better now: [^]
User avatar (0018037)
Korshun (reporter)
2017-07-15 10:51
edited on: 2017-07-15 10:55

Team damage works and there is no "SERVERCONSOLE_SetupColumns: Couldn't get column!". Voodoo doll maps continue to work.

I think this is fixed, unless there are some unexpected non-obvious bugs.

Many thanks, as it allows MOP and other coop team game mods to be played with actual teams without giving up on voodoo doll maps.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: Korshun Monsterovich djskaarj JC Tenton MaxRideWizardLord N30N Frits KirovNoir Konda Argentum
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2016-01-26 14:32 Korshun New Issue
2016-01-26 14:32 Korshun File Added: coopteamgame.wad
2016-05-21 21:09 Korshun Note Added: 0014970
2017-07-09 21:56 Korshun Note Added: 0017996
2017-07-11 03:54 Ru5tK1ng Note Added: 0018002
2017-07-11 04:25 Ru5tK1ng Note Added: 0018003
2017-07-11 14:40 Korshun Note Added: 0018004
2017-07-11 14:43 Korshun Note Edited: 0018004 View Revisions
2017-07-11 14:46 Korshun Note Edited: 0018004 View Revisions
2017-07-11 15:29 Ru5tK1ng Note Added: 0018005
2017-07-15 03:36 Ru5tK1ng Note Added: 0018033
2017-07-15 03:38 Ru5tK1ng Status new => feedback
2017-07-15 10:51 Korshun Note Added: 0018037
2017-07-15 10:51 Korshun Status feedback => new
2017-07-15 10:54 Korshun Note Edited: 0018037 View Revisions
2017-07-15 10:55 Korshun Note Edited: 0018037 View Revisions

Questions or other issues? Contact Us.


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker