Bug Tracker – Bug 146

Spectators

Last modified: 2008-08-13 16:44:43 UTC
Bug 146 - Spectators
Summary: Spectators
Status: RESOLVED FIXED
Alias: None
Product: Odamex
Classification: Unclassified
Component: Server & Client (show other bugs)
Version: (old) 0.0.1
Hardware: All All
: P2 enhancement
Assignee: Denis Lukianov
URL:
Depends on: 47
Blocks: 307
  Show dependency tree
 
Reported: 2006-03-05 01:35 UTC by Dean Joseph
Modified: 2008-08-13 16:44 UTC (History)
2 users (show)

See Also:

Attachments

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 Dean Joseph 2006-03-05 01:35:58 UTC
Specator support would be a nice addition to Odamex!

Question is, if we do implement it, do we have it supported by first release, or sometime afterwards?
Comment 1 Denis Lukianov 2006-03-05 05:41:40 UTC
Also allow rcon player login for covert spectating
Comment 2 Tom J. 2006-03-18 09:41:14 UTC
Good spectator support is important from start. Nothing beats a nice 1-on-1 server with like 6 spectators where the waiting players spectate their next prey.

Also, there could be a client-side toggle for 1st person or 3rd person view.
Comment 3 Tom J. 2006-03-18 09:52:10 UTC
It can be annoying for players if spectator talk is visible and audible. Especially in 1-on-1.
I'd recommend spectators be able to talk to spectators only and players to players only.
Comment 4 Josh Simpson 2006-03-20 22:04:37 UTC
> I'd recommend spectators be able to talk to spectators only and players to
> players only.

Why shouldn't spectators be able to hear those playing?
Comment 5 Tom J. 2006-03-21 05:19:44 UTC
(In reply to comment #4)
> > I'd recommend spectators be able to talk to spectators only and players to
> > players only.
> 
> Why shouldn't spectators be able to hear those playing?
> 
this could be an _option_ as well.
Comment 6 Albert Brown 2007-03-16 21:37:33 UTC
I'm going to play around with this a little, I suppose... Now, if only my good computer were working.

As far as chat restrictions go, I thin it is a little insane.  As a player, one should just ask the spectators to be quiet and that would be fine.  Perhaps, if that restriction were made to be an option, spectators would use team chat, and the messages would only be directed to other spectators.

How would this work in team games?  Should spectators even belong to teams if they are watching a game?
Comment 7 Albert Brown 2007-06-17 23:08:49 UTC
Spectator mode now has it's own branch.  Use this bug report to file issues and document changes as it progresses.

What I've done is make the server broadcast a new message, svc_spectateplayer, to all of the new-enough clients.  This is much better then just suiciding the player since it gives us more control over the exact course of events taken.  The player is killed, but nothing goes through the scoring system.  When the client receives this message, id does virtually the same thing, but now flips the player's playerstate to PST_SPECTATE.  All other changes are implemented by checking for this playerstate.

Right now, I'd estimate that %85 of the work needs to be done in the client.  It's been bruised badly and still hasn't made a full recovery.  Nothing should be broken outside of spectator mode, however.
Comment 8 Denis Lukianov 2008-05-03 06:14:52 UTC
most comments here are redundant, as New and GhostlyDeath have implemented spectator mode. this bug is moot.