Bug Tracker – Bug 629

5+ Player Coop Spawn Protection

Last modified: 2016-11-15 00:14:31 UTC
Bug 629 - 5+ Player Coop Spawn Protection
Summary: 5+ Player Coop Spawn Protection
Status: NEW
Alias: None
Product: Odamex
Classification: Unclassified
Component: Server & Client (show other bugs)
Version: (old) 0.5.0 - 0.5.5
Hardware: All All
: P2 enhancement
Assignee: Odamex Bug Reporter
Depends on:
Reported: 2010-09-04 18:41 UTC by Ralph Vickers
Modified: 2016-11-15 00:14 UTC (History)
2 users (show)

See Also:


Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Vickers 2010-09-04 18:41:57 UTC
Most coop maps are only designed for 4 players (since vanilla Doom only have 4 player starts). Of course, Odamex supports much more than 4 players. A problem arises when 5 or more players enter the next level because some players will be telefragged and lose all of their stuff.

Skulltag solves this by just allowing players to keep telefragging each other but having them keep their weapons until they move off the spawn spots. I personally find this method very sloppy and think that Odamex can do it better. Perhaps something like our current sv_unblockplayers except it would only take effect on players when they spawn (and they'd become solid again once they've cleared each other)?
Comment 1 Dr. Sean 2011-04-26 01:12:27 UTC
We could spawn the first 4 players immediately as normal and put all other players into spectator mode.  The spectators would have a message like "Waiting for spawn point access" displayed on the screen.  As each player moves off a spawn point, one of the spectators would be spawned into the level until all the players are in the game.
Comment 2 Ralph Vickers 2011-07-06 02:16:26 UTC
That sounds feasible, but what if the players never move off of the spots? Would it only give them x amount of time to move before spawning the next guy in?
Comment 3 HeX_Vulture 2016-11-15 00:14:31 UTC
Ralphis, AlexMax, and I discussed a possible fix for this issue. When sv_unblockplayers is on, this issue does not exist. However when turned off, players still telefrag each other on start. The proposed solution is to enable unblockplayers temporarily on level start until players exit each other's "radius" in an effort to prevent telefragging.

bug 1068 might be related to this solution.