Modifying Gamesettings via Perks

Post » Mon Jun 18, 2012 4:08 pm

I'd like to modify certain Gamesettings e.g. fSneakMaxDistance by acquiring a normal perk, however I haven't been able to figure out how to do so.
Any suggestions on how to do this?
User avatar
Cameron Wood
 
Posts: 3384
Joined: Wed Oct 31, 2007 3:01 pm

Post » Mon Jun 18, 2012 10:00 am

Bump~
User avatar
Stephy Beck
 
Posts: 3492
Joined: Mon Apr 16, 2007 12:33 pm

Post » Mon Jun 18, 2012 5:24 pm

Unfortunately, there are not "SetGameSetting" functions in Papyrus. I think you'll have to wait for SKSE to implement this one.

Cipscis
User avatar
asako
 
Posts: 3296
Joined: Wed Oct 04, 2006 7:16 am

Post » Mon Jun 18, 2012 5:08 pm

Alright, I've got one more question though and it'd be a waste to make another thread for it.
I was wondering if it's possible to modify the Movement type settings (like NPC_Sneaking_MT) by attaching a papyrus script to a perk.
User avatar
Brian LeHury
 
Posts: 3416
Joined: Tue May 22, 2007 6:54 am

Post » Mon Jun 18, 2012 10:23 am

Unfortunately, there are not "SetGameSetting" functions in Papyrus. I think you'll have to wait for SKSE to implement this one.

Cipscis
However, there is the http://www.creationkit.com/SetINIFloat_-_Utility function. But I can't get it to work. :(
User avatar
:)Colleenn
 
Posts: 3461
Joined: Thu Aug 31, 2006 9:03 am

Post » Mon Jun 18, 2012 3:09 pm

Could you post an example of how you're trying to use it? Does your script compile correctly? What happens when the command is supposed to run - nothing at all? Have you made sure your code is running with a debug command of some sort?

Cipscis
User avatar
casey macmillan
 
Posts: 3474
Joined: Fri Feb 09, 2007 7:37 pm


Return to V - Skyrim