Difference between revisions of "CPU-usage of Functions"

2 bytes removed ,  16:55, 13 September 2007
That should be FormID for console
imported>Haama
(Useful contribution info)
imported>Haama
(That should be FormID for console)
Line 23: Line 23:
   ;Tested function
   ;Tested function
end</pre>
end</pre>
Save and activate the mod. In game, add the items to the player by opening the console (default ~), and typing in ''player.AddItem YourItem n'' and pressing <Enter>, where YourItem is the EditorID of your item, and n is the number of items to add.
Save and activate the mod. In game, add the items to the player by opening the console (default ~), and typing in ''player.AddItem YourItem n'' and pressing <Enter>, where YourItem is the FormID of your item, and n is the number of items to add.


Find a quiet spot in game to test: No NPCs roaming around, no sparkling Ayleid wells nearby, etc. Start the debug mode by opening the console, and typing in ''TDT''. The number in the upper-right is your FPS. Try to find a place to look where your FPS is stable. Looking straight up into the sky seems to be the best, but make sure you aren't hitting the max FPS (60). Keep an eye on it in case it suddenly drops, but you'll be using the tracker item for a more precise calculation.
Find a quiet spot in game to test: No NPCs roaming around, no sparkling Ayleid wells nearby, etc. Start the debug mode by opening the console, and typing in ''TDT''. The number in the upper-right is your FPS. Try to find a place to look where your FPS is stable. Looking straight up into the sky seems to be the best, but make sure you aren't hitting the max FPS (60). Keep an eye on it in case it suddenly drops, but you'll be using the tracker item for a more precise calculation.
Anonymous user