diff --git a/README.md b/README.md index f39e3d6..d12ea80 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,23 @@ -# sourcetvmanager +# SourceTV Manager Interface to interact with the SourceTV server from SourcePawn. + +This is a [SourceMod](http://www.sourcemod.net/) extension providing an API for plugins to access the [SourceTV](https://developer.valvesoftware.com/wiki/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](sourcetvmanager.inc). + +#### `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 +```sourcepawn +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. \ No newline at end of file diff --git a/smsdk_config.h b/smsdk_config.h index 4d3fcd2..3aa9055 100644 --- a/smsdk_config.h +++ b/smsdk_config.h @@ -40,7 +40,7 @@ /* Basic information exposed publicly */ #define SMEXT_CONF_NAME "SourceTV Manager" #define SMEXT_CONF_DESCRIPTION "Interface to interact with the SourceTV server." -#define SMEXT_CONF_VERSION "1.0.0.0" +#define SMEXT_CONF_VERSION "1.0.0" #define SMEXT_CONF_AUTHOR "Peace-Maker" #define SMEXT_CONF_URL "http://www.wcfan.de/" #define SMEXT_CONF_LOGTAG "STVM"