Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Scripts
Scripts [message #224870] Thu, 05 October 2006 16:10 Go to next message
extreme_sol is currently offline  extreme_sol
Messages: 14
Registered: November 2005
Karma: 0
Recruit
How is it possible to get the FPS from scripts i tryed The_Game()->Framecount but thats not it?
Re: Scripts [message #224881 is a reply to message #224870] Thu, 05 October 2006 16:38 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3809
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
You just press "`" and the type "FPS" and then "Enter"

Re: Scripts [message #224885 is a reply to message #224870] Thu, 05 October 2006 16:46 Go to previous messageGo to next message
extreme_sol is currently offline  extreme_sol
Messages: 14
Registered: November 2005
Karma: 0
Recruit
:/ i dont mean ingame, i mean from scrips.dll
Re: Scripts [message #224947 is a reply to message #224870] Fri, 06 October 2006 01:06 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

you make a timer which get called every second, and then
calculate the FPS... Current FPS count minus the old FPS count (one second ago).

here you go Wink


When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
Re: Scripts [message #224964 is a reply to message #224947] Fri, 06 October 2006 05:48 Go to previous message
extreme_sol is currently offline  extreme_sol
Messages: 14
Registered: November 2005
Karma: 0
Recruit
Well it cut it down to 121, which is still different that what it says on console, Thanks for the help too
Previous Topic: Double players health
Next Topic: Purchase Terminal Presets...
Goto Forum:
  


Current Time: Sat Nov 16 22:11:21 MST 2024

Total time taken to generate the page: 0.00808 seconds