Quote:
Originally Posted by psychonic
TF2's engine is tickless.
|
Are you sure? According to this page, TF2 servers run at 66 tickrate by default and cannot be changed:
https://developer.valvesoftware.com/...yer_Networking
And AFAIK for it to be changeable, you need a plugin that hooks GetTickInterval(), such as this:
Code:
float GetTickInterval()
{
float tickinterval = DEFAULT_TICK_INTERVAL;
if ( CommandLine()->CheckParm( "-tickrate" ) )
{
float tickrate = CommandLine()->ParmValue( "-tickrate", 0 );
if ( tickrate > 10 )
tickinterval = 1.0f / tickrate;
}
RETURN_META_VALUE(MRES_SUPERCEDE, tickinterval );
}
(Code taken from
daemon32's Tickrate Enabler.)
What would happen if you use SourceMod functions such as GetGameTime() and GetGameTickCount()?
__________________