Difference between revisions of "CPU-usage of Functions"

37 bytes added ,  16:55, 13 September 2007
Reminder for FormIDs
imported>Haama
(That should be FormID for console)
imported>Haama
(Reminder for FormIDs)
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 FormID of your item, and n is the number of items to add.
Write down the FormIDs of the items. 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