Re: Measuring server frame time? [message #492117 is a reply to message #492071] |
Sat, 01 April 2017 03:42 |
|
I dont know how useful they are but the engine has values called FrameSeconds and RealFrameSeconds.
Put these in a source file somewhere and access them like any other float variable
REF_DEF2(float, FrameSeconds, 0x00857290, 0x00856478);
REF_DEF2(float, RealFrameSeconds, 0x00857294, 0x0085647C);
You could stick in a Think hook somewhere and see what those variables look like (not sure what the difference between the 2 actually is though)
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|