About this mod
Automagically sets player scale when loading game and piloting since player height other than 1 is hard to use when piloting.
- Requirements
- Permissions and credits
- Changelogs
- Donations
Now, thanks to LarannKiar's Starfield Engine Fixes - SFSE (which is a soft requirement for this mod) the setscale command now works on the player. In fact it works very well, one of the best implementations yet. I could go into a pretty long winded conversation about this but I'll spare you, if you happen to follow me elsewhere you can see my testing.
Anyway, this current implementation leads us to two issues. First, with SEE the player scale is not baked into the save, unlike previous games. This means if you change the player height you have to do it again every time you load a game. Not a huge deal, but still annoying. The second is that when piloting a spaceship, scales of anything other than 1 will cause issues with the first person camera making it hard to fly. This is much more annoying.
So this mod does two things, changes the player scale when you load a game and when you enter/exit the pilot seat. You can set the value for the scale with globals with a separate value for when piloting and when not with a simple script.
How To Use:
Install like any other mod, SEE is not a hard requirement, but this mod will do little if it is not installed in the current state of the game.
One in game open the console and enter :
help YTS 3
This will search for the globals of this mod. You will see 4 globals which should be set to 1, here is what they do:
YTS_PS_Enable: Turns on/off the function of this mod, useful to temporarily disable the mod function if needed
YTS_PS_Debug: Turns on/off debug messages
YTS_PS_NormalScale: The scale you want the player to be when not piloting, 1 is normal
YTS_PS_PilotScale: The scale you want the player to be when piloting, 1 is normal
You can skip the above step, but it is good to know to check later on.
To change the globals requires an extra step from FO4/Skyrim, you need to find the ID enter this code (substituting other global names if needed:
findform yts_ps_normalscale
The console will give you an ID, since this is a Light Master it will be in the FE space. You will use that ID in the next step.To change the global enter this code, with xxxxxxxx being the ID you just found and yyy being the scale/value you want to set:
set xxxxxxxx to yyy
This should change the global, you can check with the help code above.Change any other global/settings if you want.
This value will save in your game so future saves will have it, but you will need to repeat these steps for any earlier saves (though if you want you can use xEdit/CK to change the default value for the globals directly or as a patch).
The have it take effect you can either save and load your game or sit in any chair or get up (the code uses OnSit/OnGetUp to trigger piloting checks, so the checks will also run when entering/exiting a chair). The mod should run, check if you are piloting and apply the defined scale.
I was planning to do a video tutorial, but I'm currently having HDD issues where the game capture would be stored, I can provide one later if needed.
Feel free to modify the code, it's super simple and there probably is a better way (definitely if just wanting to do the setscale on load).
Once again, thanks to LarannKiar providing the actual functionality of setscale to the player.
How To UseUploaded byLarannKiarLarannKiarUploaded byLarannKiar