Go to file
2016-11-14 03:09:30 -06:00
.gitignore Update CS:GO gamedata 2016-08-15 23:21:04 +02:00
AMBuilder Add OnSpectatorChatMessage forwards to catch chat 2016-11-14 01:16:39 -06:00
AMBuildScript Initial commit of project files 2016-02-29 09:59:09 +01:00
commonhooks.cpp Add OnSpectatorChatMessage forwards to catch chat 2016-11-14 01:16:39 -06:00
commonhooks.h Add OnSpectatorChatMessage forwards to catch chat 2016-11-14 01:16:39 -06:00
configure.py Initial commit of project files 2016-02-29 09:59:09 +01:00
extension.cpp Add OnSpectatorChatMessage forwards to catch chat 2016-11-14 01:16:39 -06:00
extension.h Add OnSpectatorChatMessage forwards to catch chat 2016-11-14 01:16:39 -06:00
forwards.cpp Add OnSpectatorChatMessage forwards to catch chat 2016-11-14 01:16:39 -06:00
forwards.h Add OnSpectatorChatMessage forwards to catch chat 2016-11-14 01:16:39 -06:00
hltvclientwrapper.cpp Track spectators for each SourceTV instance seperately 2016-03-06 12:50:07 +01:00
hltvclientwrapper.h Track spectators for each SourceTV instance seperately 2016-03-06 12:50:07 +01:00
hltvdirectorwrapper.cpp Add natives to force a camera shot 2016-03-01 02:19:19 +01:00
hltvdirectorwrapper.h CSGO: Fix messages and director shot natives 2016-07-28 17:01:58 +02:00
hltvserverwrapper.cpp Add OnSpectatorChatMessage forwards to catch chat 2016-11-14 01:16:39 -06:00
hltvserverwrapper.h Add OnSpectatorChatMessage forwards to catch chat 2016-11-14 01:16:39 -06:00
ihltvdemorecorder_csgo.h Fix demo recording support for CS:GO 2016-07-07 16:27:46 +02:00
ihltvdemorecorder.h Fix demo recording support for CS:GO 2016-07-07 16:27:46 +02:00
LICENSE Initial commit 2016-02-29 09:52:26 +01:00
natives.cpp Fix sending messages to locally connected spectators 2016-11-14 03:09:30 -06:00
natives.h Clean up some SDK calls to use SourceHook directly 2016-03-03 09:13:59 +01:00
PackageScript Initial commit of project files 2016-02-29 09:59:09 +01:00
README.md Update README 2016-03-15 13:00:31 +01:00
smsdk_config.h Bump version number to 1.0.3 2016-10-15 17:17:03 -06:00
sourcetv_test.sp Add SourceTV_PrintToConsole native 2016-11-14 03:09:03 -06:00
sourcetvmanager.games.txt Add SourceTV_PrintToChat native 2016-11-14 03:01:44 -06:00
sourcetvmanager.inc Add SourceTV_PrintToConsole native 2016-11-14 03:09:03 -06:00

SourceTV Manager

Interface to interact with the SourceTV server from SourcePawn.

This is a SourceMod extension providing an API for plugins to access the SourceTV server instance(s).

API

There are natives and forwards to access

  • Basic SourceTV information (stats, delay, active)
  • Interacting with spectators (chat/console messages, kick, ip, name)
  • Forcing camera shots on the director
  • Demo recording (filename, recording tick, print message to demo console)

Have a look at the include file.

status command fixes

There are several quirks around recording the status command output in a SourceTV demo. While this extension is running, you're going to be able to do

FakeClientCommand(SourceTV_GetBotIndex(), "status");

and have the output recorded in the demo. This can help quickly identifying the players in the demo while playing it back.

Note: Doesn't run on relay proxies yet.