Jump to content

[LE] how to script game settings changes


Salamandre19

Recommended Posts

yes, requires SKSE, requires maintenance on player load game, it not Save persistent, BTW when I had to do this, I research it, and read SKSE sources to find relevant codes required, as we all know, any thing worth doing is worth going well.

 

Hint 1 OK here it is: don't quote me but I think it in the Utility Class, from memory, been a while since I played Skyrim

 

Hint 2 Use the wikki to see what the finished product look likes

 

like i said, it been a while, so that best I can do ATM

Link to comment
Share on other sites

ScriptName SetJumpQuest Extends Quest

 

GameSetting Property fJumpDoubleMult Auto ;//look in creation kit, I just guessed what the type is and then fill it with the setting

 

Event OnPlayerLoadGame()

fJumpDoubleMult = 0.5 ;//this might need to be a function depending on the type

EndEvent

 

that's a pretty big hint lol

Link to comment
Share on other sites

...apart from the fact that you can't make properties for game settings and the script needs to be added to a player alias.

 

Scriptname SomeScript extends ReferenceAlias

Event OnInit()
	Game.SetGameSettingFloat("fJumpDoubleMult", 0.5)
EndEvent

Event OnPlayerLoadGame()
	Game.SetGameSettingFloat("fJumpDoubleMult", 0.5)
EndEvent

SetGameSettingFloat_-_Game

OnPlayerLoadGame_-_Actor

Link to comment
Share on other sites

  • 11 months later...

I'm glad I found this. :smile: I've run into a similar problem, though kinda reversed, and posted about it here with the script.

 

To simplify - all lines in the scripts with the "Game.SetGameSettingFloat" need to be replaced with something else that can change jump height and that doesn't require SKSE.

if someone can take a peek at this and let me know if this change is possible, I'd really appreciate it?

 

https://forums.nexusmods.com/index.php?/topic/9343738-slowfall-effect-script-problem/

Edited by anathemastudio
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...