Game Difficulty Setting

Post » Thu Oct 21, 2010 7:26 pm

Is there a way to get the current difficulty setting of the game? I need to know that so I can use the proper fDiffMultXPx gamesettings for XP computations. Or is there a better way? I'm trying to figure out what the XP reward for killing a actor is. I have the refID of the actor through a Refwalk. If a follower kills the actor, I want to be able to reward part of it to the player.
User avatar
Hayley O'Gara
 
Posts: 3465
Joined: Wed Nov 22, 2006 2:53 am

Post » Thu Oct 21, 2010 5:19 pm

NM.

Found it.

short iGameDifficultyLevelINI   set iGameDifficultyLevelINI to (GetNumericIniSetting "iDifficulty:GamePlay")



The setting is read from the FalloutPrefs.ini
Returns 0-4, for very easy to very hard.
User avatar
Kyra
 
Posts: 3365
Joined: Mon Jan 29, 2007 8:24 am

Post » Fri Oct 22, 2010 6:14 am

wrong forum my bad.
User avatar
Stu Clarke
 
Posts: 3326
Joined: Fri Jun 22, 2007 1:45 pm


Return to Fallout 3