Page 2 of 2

Re: SourceTV Listener

Posted: Tue Apr 24, 2018 4:30 am
by 12jdlovins
decompile wrote:You dont need it, but its the official way to also hook auto-created demos, or user generated ones.



Yeah but dealing with offsets that can change at any update is a pain in the ass... i think id rather just make a wrapper around tv_ commands

Re: SourceTV Listener

Posted: Tue Apr 24, 2018 3:21 pm
by Zeus
theres this in sourcemod: https://github.com/demostf/plugin

Re: SourceTV Listener

Posted: Tue Apr 24, 2018 3:33 pm
by decompile
I agree with you @12jdlovins, you can also replace tv_autorecord by simply tv_record <> on map start.

Not sure if its a trouble still, but the most important feature I needed from the demo was the tick counter to save certain actions and make it easier for the player to directly skip to a specific tick. (Not sure if a @OnTick listener would reproduce the same tick than a demo)