How do you work with game settings in Fallout?

Post » Thu Oct 21, 2010 6:02 am

In Oblivion you could use the command GetGameSetting in order to use any of the setting values within a script, but that doesn't seem to work with Fallout. Is there a new command that allows for this, like the SetQuestDelay? I've looked but I haven't been able to find anything.
User avatar
Shirley BEltran
 
Posts: 3450
Joined: Wed Jul 26, 2006 4:14 pm

Post » Thu Oct 21, 2010 4:45 am

In Oblivion you could use the command GetGameSetting in order to use any of the setting values within a script, but that doesn't seem to work with Fallout. Is there a new command that allows for this, like the SetQuestDelay? I've looked but I haven't been able to find anything.


I've been fooling around with the console commands a bit. "getgs"/"setgs" is "get/set game setting". For example, "setgs fMoveBaseSpeed 500" makes you run very fast.
User avatar
tiffany Royal
 
Posts: 3340
Joined: Mon Dec 25, 2006 1:48 pm

Post » Wed Oct 20, 2010 6:51 pm

Are you using the function with the correct variable types - short or float?

short iCombExpfloat fSneakAttenExpset iCombExp to GetGamesetting iCombatExplodePartChanceset fSneakAttenExp to GetGamesetting fSneakDistanceAttenuationExponent



The only new functions that deal with settings are FOSE functions:

short iXPRewardKillNPCVeryEasyGSfloat fDifficultyMultiplierGSset iXPRewardKillNPCVeryEasyGS to GetNumericGameSetting iXPRewardKillNPCVeryEasyset fDifficultyMultiplierGS to GetNumericGameSetting fDiffMultXPN

User avatar
Ashley Tamen
 
Posts: 3477
Joined: Sun Apr 08, 2007 6:17 am

Post » Wed Oct 20, 2010 8:37 pm

Are you using the function with the correct variable types - short or float?


I'm pretty sure I have been, but maybe I screwed up. So GetGameSetting does work then? I've tried different things with the fActionPointRestoreRate setting, but nothing I've done has ever worked. My last attempt was simply to use it as a basis for a variable, (fActionPointRestoreRate * .25). I'm 90% positive I used the correct type.
User avatar
Lory Da Costa
 
Posts: 3463
Joined: Fri Dec 15, 2006 12:30 pm

Post » Thu Oct 21, 2010 5:23 am

Doh! No wonder it wasn't working, I was typing ActionPoint and it was supposed to be ActionPoint(s). :facepalm:

Now I can just use a percentage value of the actual game setting instead of trying to come up with some arbitrary value. Well back to testing everything out to make sure it's all balanced correctly. :banghead:

PS: Man, this is getting pretty neat. I have a bunch of variables and modifiers that are based on a percentage of two basic values, which are in turn based on a percentage value of actual game settings. So in order to get everything balanced out I only have to adjust 2 numbers, and the rest will follow on their own. Cool! :celebration:
User avatar
brenden casey
 
Posts: 3400
Joined: Mon Sep 17, 2007 9:58 pm


Return to Fallout 3