Thread
:
[TF2]Editing Round Timer
View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
09-11-2019 , 17:15 Re: [TF2]Editing Round Timer
#
2
For TF2 Prop Hunt, I actually hooked my
team_round_timer
spawning to the
SDKHook_SpawnPost
of the
team_control_point_master
entity. As a failsafe, I check in
teamplay_round_start
to see if a TCPM entity exists on the map and spawn one if it doesn't. (Side note: Don't do this in CTF maps)
Granted, this was on the arena game mode, so in
OnClientPutInServer
, I used
SendConVarValue
to fake the
tf_arena_round_time
value to force the client UI to draw the timer background as it won't if this cvar is set to 0 (the default).
__________________
Not currently working on SourceMod plugin development.
Powerlord
View Public Profile
Find More Posts by Powerlord