Go to file
Peace-Maker 737b2ab1d0 Fix demo recording support for CS:GO
The IDemoRecorder interface was heavily modified.
2016-07-07 16:27:46 +02:00
.gitignore Update .gitignore for SM specifics 2016-03-14 14:54:23 +01:00
AMBuilder Build for TF2, DOD:S and HL2:DM as well 2016-03-12 17:23:13 +01:00
AMBuildScript Initial commit of project files 2016-02-29 09:59:09 +01:00
configure.py Initial commit of project files 2016-02-29 09:59:09 +01:00
extension.cpp Fix firing OnShutdown with wrong instance index on mapchange 2016-03-15 12:25:20 +01:00
extension.h Fix demo recording support for CS:GO 2016-07-07 16:27:46 +02:00
forwards.cpp Fix demo recording support for CS:GO 2016-07-07 16:27:46 +02:00
forwards.h Fix OnSpectatorDisconnect forward on linux 2016-03-17 13:39:52 +01: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 Add natives to force a camera shot 2016-03-01 02:19:19 +01:00
hltvserverwrapper.cpp Fix demo recording support for CS:GO 2016-07-07 16:27:46 +02:00
hltvserverwrapper.h Fix demo recording support for CS:GO 2016-07-07 16:27:46 +02: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 demo recording support for CS:GO 2016-07-07 16:27:46 +02: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 to 1.0.1 2016-05-04 19:27:29 +02:00
sourcetv_test.sp Unify spectator client accessing native names 2016-03-06 14:11:33 +01:00
sourcetvmanager.games.txt Fix demo recording support for CS:GO 2016-07-07 16:27:46 +02:00
sourcetvmanager.inc Unify spectator client accessing native names 2016-03-06 14:11:33 +01: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.