TimeDemo 0.2, by Mek 23 June 1998 --------------------------------- I was sick of not knowing my average frames per second over a reasonable period of time, so I made this UnrealScript package. It's intended to be run when you're sitting in the intro screen watching the flyby. TimeDemo 0.2 now shows the FPS, time and frames for exactly one complete cycle of the flyby. You have to wait for at least one full cycle before it can show you this value. TimeDemo also you the following information: - The current average FPS since you started TimeDemo - The average FPS over the last second - The minimum FPS encountered in a second since TimeDemo was started - The maximum FPS encountered in a second since TimeDemo was started - The FPS, frames and time for the last full cycle of the flyby Installation ------------ To install, put the timedemo.u file in your Unreal\System directory. TimeDemo is activated from the console (press ~) by typing: > SUMMON TIMEDEMO.TIMEDEMO To get rid of it, go to the console and type: > KILLALL TIMEDEMO It will then show you a summary, which is the number of frames rendered, the total elapsed time and hence the average FPS for the time TimeDemo was run. How it works ------------ It replaces your HUD with a descendent of the IntroNullHUD class which is your HUD shown when you're in flyby mode. Unreal appears to call the HUD's PostRender event once every frame, so I count the frames at this point. I also take over one of the interpolation points in the flyby sequence, and replace it with my own InterpolationPoint class. I use this to time one exact cycle of the flyby. Bugs ---- The menu doesn't come up correctly in software sometimes. I find it works OK for me in 3DFX though. Other Stuff ----------- I hope you find this useful. If you don't I suggest you don't use it. This mod is supplied as-is, so if it makes your cat sick, it's not my fault, honest. If there's something you'd like to see TimeDemo do, drop me an email on the address below. Mek mek@planetunreal.com http://www.planetunreal.com