Feature #1292

Add shoutcaster role

Added by Spyhawk 5 months ago. Updated 3 months ago.

Status:Feedback% Done:

80%

Priority:LowSpent time:-
Assignee:-
Category:Mod generic
Target version:2.78
OS: Arch:

Description

Add shoutcaster role, which is basically the same as spec mode with a few useful addition:
  • can see player names floating above them (in spec and following mode), always! (done)
  • can see revive icons (done)
  • can see disguised covops (done)
  • can see landmines (glowing red) (done)
  • can see dynamite counter (done)
  • can see tank and truck health (done)
  • can see objective indicator, always! (done)
  • can see compass/minimap even in free fly mode (done)
  • can see all position on command map (done)
  • can see respawn time of both team (see custom ETTV client screenshot) (done)
  • can see dynamite/landmine owner
  • can see scoring time of SW previous round (see custom ETTV client screenshot) (not needed)
  • can see throw wall to some extend (see CS-Go)
  • can see banner prints that print objective information showing what objective has been done in what time and for the next round it also prints if that was slower or faster. For example: in the next round allies team captures the forward flag, and it prints "allies has captured the flag in 1:56 (faster on 30s than in previous round)" or something like that. See games doing speedrun competition.

This is related to ETTV, which might never be implemented (due to prevalence of twitch nowadays), but this feature is still useful for stream.

In addition:
  • shoutcaster shoudn’t be able to join the game (unlike spec) (done)
  • can’t be kicked (unlike spec). See g_inactivity / g_spectatorinactivity too (done)
  • add ref menu to designate someone as shoutcaster (done)
  • add a rcon-like password system to let shoutcaster connect directly (done)
  • more than a single shoutcaster could be added (done)
  • add a label in scoreboard too (done)
  • add label in spec view (instead of "spectator") (done)
  • grey out team flags in limbo menu (done, using existing code with ugly red colour)
  • add a new icon for shoutcaster (instead of the spectator’s eye) in limbo menu and map (done)

2019-05-03-163527-supply.jpg (108 KB) Spyhawk, 26.05.2019 12:36

csgo-ui.png - CS Go see through wall (592 KB) Spyhawk, 26.05.2019 12:52

cs_go_shoutcaster_hud.png - CS:GO shout caster hud (1.51 MB) Bystry, 26.06.2019 21:27

shoutcasterver1.jpg (1.01 MB) hatcher, 28.07.2019 19:03

1108
1109
1122
1131

Related issues

Related to ET: Legacy Development - Feature #838: Add dynamite counter for spectators/shoutcaster New 27.04.2015
Related to ET: Legacy Development - Bug #443: Spectators don't see all players on command map. Invalid 26.12.2013

Associated revisions

Revision 32f905f4
Added by Spyhawk 4 months ago

mod: added shoutcaster management functions, refs #1292

Revision cd1e8c72
Added by Spyhawk 4 months ago

mod: added in-game shoutcaster management buttons, refs #1292

Revision 47b85441
Added by Spyhawk 4 months ago

ui: added shoutcast settings in hostgame, refs #1292

Revision 38e73eed
Added by Spyhawk 4 months ago

cgame: added shoutcaster label in freefly and scoreboard, refs #1292

Revision 84c9afd1
Added by Spyhawk 4 months ago

game: added shoutcaster checks for join team, votes and speclock, refs #1292

Revision 16c249ff
Added by Spyhawk 4 months ago

game: shoutcasters are immune to inactivity drop, refs #1292

Revision d155e113
Added by Spyhawk 4 months ago

game: shoutcasters can’t be kicked by vote, refs #1292

Revision 711ff14e
Added by Spyhawk 4 months ago

game: added Lua shoutcaster player field, refs #1292

Revision 79f79aaf
Added by Spyhawk 4 months ago

game: display shoutcaster status in /players command, refs #1292

Revision 699fbf90
Added by Spyhawk 4 months ago

cgame: shoutcasters always see player name labels, refs #1292

Revision ec429297
Added by Spyhawk 4 months ago

cgame: don’t draw crosshair health for shoucasters, refs #1292

Revision 19992fff
Added by Spyhawk 4 months ago

cgame: shoutcasters can see tank and truck health, refs #1292

Revision 3b119356
Added by Spyhawk 4 months ago

mod: shoutcasters can see landmines, refs #1292

Revision 761b85f0
Added by Spyhawk 4 months ago

cgame: shoutcasters can see revive and disguised icons, refs #1292

Revision 0f970061
Added by Spyhawk 4 months ago

cgame: shoutcasters see compass per default, refs #1292

Revision 7dee0f59
Added by Spyhawk 4 months ago

cgame: adjusted labels height, refs #1292

Revision 38f6d0d1
Added by Spyhawk 4 months ago

cgame: shoutcasters can see dynamite timer, refs #1292

Revision f32e52c7
Added by Spyhawk 4 months ago

mod: shoutcasters can see all players on command map, refs #1292

Revision 99feb488
Added by Spyhawk 4 months ago

cgame: fixed compass icons display for shoutcasters, refs #1292

Revision cdf660bc
Added by Spyhawk 4 months ago

cgame: adjusted objective indicator for shoutcasters, refs #1292

Revision 0716cf3a
Added by Spyhawk 4 months ago

cgame: added shoutcaster spawn timers, refs #1292

Revision 7ec81b67
Added by Spyhawk 4 months ago

game: fixed out-of-bound and args count mismatch errors, refs #1292

Revision 558ca6e5
Added by Spyhawk 4 months ago

game: fixed shoutcaster login command, refs #1292

Revision 0be8b52e
Added by Spyhawk 4 months ago

game: fixed missing parameters in read session data, refs #1292

See 7ec81b67f33b1314741b36d79b0f9ef1537ae888

Revision 740e44a6
Added by Spyhawk 4 months ago

cgame: adjusted reinforcement timer alignment, refs #1292

Revision 320a59e8
Added by Spyhawk 4 months ago

cgame: fixed command map update when sent to limbo, refs #1292

Revision f9310bdd
Added by Spyhawk 4 months ago

cgame: lock teams for shoutcaster and add debriefing status, refs #1292

Revision 0987baa6
Added by Spyhawk 4 months ago

cgame: adjusted vote string for shoutcaster, refs #1292

Revision b5bb8070
Added by Spyhawk 4 months ago

cgame: fixed disguised icon on command map for shoutcaster, refs #1292

Revision 01e3b3ed
Added by Spyhawk 4 months ago

cgame: adjusted obj indicator color for following shoutcaster, refs #1292

Revision c40d3f6d
Added by Spyhawk 4 months ago

cgame: adjusted limbo panel for shoutcaster, refs #1292

History

#1 Updated by Spyhawk 5 months ago

  • Related to Feature #838: Add dynamite counter for spectators/shoutcaster added

#2 Updated by Spyhawk 5 months ago

  • Related to Bug #443: Spectators don't see all players on command map. added

#3 Updated by Spyhawk 5 months ago

  • Description updated (diff)

#4 Updated by Spyhawk 5 months ago

  • Description updated (diff)

#5 Updated by Spyhawk 5 months ago

  • Priority changed from Normal to Low
  • Target version changed from 2.78 to 2.77

Evaluate this for 2.77.

It shouldn’t be too hard to implement (everything is in the code already), but we should be cautious on how we implement the SC role:
  • add a new team (blue, red, spec, shoutcaster): beware of how conditions across the game are handled (ie, not BLUE nor RED = spec team)
  • use spec team but add some sort of "referee" flag: only check for the flag when code would diverge from the regular spec team (I’d favour this implementation).
  • check SC assignment from referee menu. There seem to be an issue when players have the same nickname (check slot number rather than partial name match?)

#6 Updated by Spyhawk 5 months ago

  • Description updated (diff)

#7 Updated by Spyhawk 5 months ago

  • Description updated (diff)

#8 Updated by Spyhawk 5 months ago

  • Description updated (diff)

#9 Updated by Spyhawk 5 months ago

  • Description updated (diff)

#10 Updated by Spyhawk 5 months ago

Check etpub implemention - it’s partial but quite some has been done. Also, it’s implemented like referee is, so that would indeed by the preferred way to do it.

#11 Updated by Spyhawk 5 months ago

  • Description updated (diff)

#12 Updated by Spyhawk 5 months ago

  • Description updated (diff)

#13 Updated by Spyhawk 5 months ago

  • Description updated (diff)

#14 Updated by Spyhawk 5 months ago

#15 Updated by Spyhawk 5 months ago

  • Description updated (diff)

#16 Updated by Spyhawk 5 months ago

#17 Updated by Spyhawk 5 months ago

  • Description updated (diff)

#18 Updated by Spyhawk 5 months ago

  • Description updated (diff)

#19 Updated by Spyhawk 5 months ago

  • Description updated (diff)

#20 Updated by Spyhawk 5 months ago

  • Description updated (diff)

#21 Updated by Spyhawk 5 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 70

#22 Updated by Spyhawk 4 months ago

  • Status changed from In Progress to Feedback
  • % Done changed from 70 to 80

#23 Updated by Spyhawk 4 months ago

  • Description updated (diff)

#24 Updated by Spyhawk 4 months ago

  • Description updated (diff)
  • Target version changed from 2.77 to 2.78

Should be good to go. Fixed a bunch of bugs in the implementation, the rest can be delayed to 2.78.

#25 Updated by Bystry 4 months ago

#26 Updated by hatcher 3 months ago

Also available in: Atom PDF