(Hopefully) Fixed the rotation when sitting down in some cases.
Activation events are reworked so should have less "stutter" now!
New rotation values for a better sitting experience
Version 1.1.5 - 02/25/2024
Spoiler:
Show
Fix: Compatibility with alternate Pip-Boy mods and camera rotation when sitting down.
General Optimization of the script.
Version 1.1.6 - 03/23/2024
Spoiler:
Show
Fix: Compatibility with Enhanced Movement. Due to its changes with the First Person skeleton, I no longer need to apply any camera rotations! This also has the camera centered better!
Tiny optimization of the script.
Version 1.1.7 - 4/16/2024
Fix: Reloading a save where the "Sit Down" script is active should no longer break the script.
I have also added a condition that should "fix" the script by deleting any stuck sitting reference on reload where you are not currently sitting. If pressing the "Sit Down" key is not working, then save the game while standing and reload the save. That should fix it.
I use Atompunk Vault Suits - HD Retexture, the "Darker Variant". In my opinion, it is the best looking re-texture for Vault Suits while still having the vanilla vibe.
Sorry, it was just such a weird problem I did not know how to describe it. My character keeps... Gosh I'm still having trouble. Once in awhile, not every time consistently, I try to stand up And then I am at a strange angle not standing on the ground, upright as I should or as gravity would dictate. Instead I hover in the air at a strange angle with my head pointed the direction my gun would normally be.
A minor detail but it seems you can "sit" in sequences where player controls are disabled, which results in some weird camera angles. Specifically during character creation when you wake up and Doc M asks for your name, you can press the sit key and your character will clip through the bed.
Again a minor thing but thought I would mention it anyway. And to be fair I didn't do extensive testing, only with the opening scene.
No. Your character is sitting on an invisible "Sit on Floor" piece of furniture when you trigger this action, I'm not playing an animation. There are also other things in this script that trigger, like the camera fixes for when sitting, that would be broken if your character started to do the dance animation.
Do you get any error in the console? If you quit the game and reload your save, does it start to work again? If you reload a previous save and/or start a new game, does it start working? Or does it just not work at all? Need more information please.
Can you check in the console: player.AuxVarGetRef "rSit"
If you get a result other than "Invalid Form", then run this to clear it: player.AuxVarErase "rSit"
That clears the sit variable, which should be the only blocker to prevent the script from working...
Does anyone remember when it stopped working? Did you do anything specific? For example, did you sit down, save, then quit the game and/or reload maybe?
Did some testing after the glitch first happened to me. Seems like it would trigger after loading a save where I was sitting down. It wouldn't immediately stop working — I could still sit after loading the save — but it would stop working after I loaded into a different cell.
Step-by-step for clarity: 1) Sit down using the mod 2) Save while still sitting 3) Load the save 4) Enter new cell
Sorry for the late reply. This should now be fixed in v1.1.7! The script will also attempt to "fix" itself when reloading if it detects that the variable has a reference but you are not sitting. The reference variable being set was causing the script to not run when triggered as it thought you were already sitting.
Apologies if this comes off as really ignorant, but how do you install this mod? I obviously must be doing something wrong but I downloaded this mod and animated workbench (your other mod), installed it using MO2, and it doesn't seem to be working. Yes, I do have the two prerequisite mods. I tried dragging and dropping it directly into my Data folder too but it still doesn't work. Any help would be appreciated, thx.
Hello this is a great mod! though I'm having an issue where the camera will zoom out really far back when sitting and after standing up :( (I'm using FOV Slider, One More Dynamic Camera, and a gamesetting tweak that increase the max camera distance)
Does it stay zoomed out? Or does this happen while the sit down/stand up animations are happening, but it returns to normal once you are sitting/standing up?
Sounds like an issue with another mod. I only modify the first person camera's rotation to ensure it is straight; no changes to the 3rd person zoom, location, or rotation.
Hi, i dont know how to say this but...Its not working for me. I press the default key "p" and even i change the key before but nothing helps. Its like the mod is not installed. There's no error mesagges, not animations, anything. Any idea?
Try making sure its installed correctly, the script should be in the "Data/NVSE/plugins/scripts" folder. Also make sure you have the requirements installed. Otherwise, not sure what would cause your issue.
This mod is awesome, works super easily with no lag and no complex keys. Works perfectly with Enhanced Camera as well (With a few exceptions like floating arms in front for some reason, though that may just be on my end).
I also have an idea/ suggestion: have a button press to lean on things like walls and cars rather than just sitting.
Your arms float in front of you? That's weird...The right should be on the knee, and the left should be behind you. Are they both visible? Could be the "first person" arms are somehow becoming visible. Does it happen in all armors and such?
As for your suggestion, its not a bad idea though I probably won't use that for this mod. The main reason why is that the only way I could detect a wall or something around the player is via the collision object on the player. I could then then manually set the player's rotation so you "lean" the correct way on the object. Otherwise, it'll look weird if you do that just in the middle of no where. That's a bit beyond what I was hoping to do here, but I might incorporate this into a different mod that I am working on. :) We'll see what happens!
61 comments
Version 1.1.0 - 02/05/2024
Version 1.1.5 - 02/25/2024
Version 1.1.6 - 03/23/2024
Version 1.1.7 - 4/16/2024
Comments like this are pointless without further information....
My character keeps... Gosh I'm still having trouble. Once in awhile, not every time consistently, I try to stand up
And then I am at a strange angle not standing on the ground, upright as I should or as gravity would dictate. Instead I hover in the air at a strange angle with my head pointed the direction my gun would normally be.
Are you using any Pip-boy replacers? What skeleton do you have? Enhanced Camera? Can you send a screenshot?
Again a minor thing but thought I would mention it anyway. And to be fair I didn't do extensive testing, only with the opening scene.
how do i replace the animation for dancing
i tried to replace floorsitmarket with dancemarker but nothing happens
Starting a new game did work however. Is there a way to rerun the script?
No error logs, no solution with reloading even previous saves.
player.AuxVarGetRef "rSit"
If you get a result other than "Invalid Form", then run this to clear it:
player.AuxVarErase "rSit"
That clears the sit variable, which should be the only blocker to prevent the script from working...
Does anyone remember when it stopped working? Did you do anything specific? For example, did you sit down, save, then quit the game and/or reload maybe?
Step-by-step for clarity:
1) Sit down using the mod
2) Save while still sitting
3) Load the save
4) Enter new cell
Hope this helps.
(I'm using FOV Slider, One More Dynamic Camera, and a gamesetting tweak that increase the max camera distance)
I press the default key "p" and even i change the key before but nothing helps. Its like the mod is not installed. There's no error mesagges, not animations, anything. Any idea?
I also have an idea/ suggestion: have a button press to lean on things like walls and cars rather than just sitting.
As for your suggestion, its not a bad idea though I probably won't use that for this mod. The main reason why is that the only way I could detect a wall or something around the player is via the collision object on the player. I could then then manually set the player's rotation so you "lean" the correct way on the object. Otherwise, it'll look weird if you do that just in the middle of no where. That's a bit beyond what I was hoping to do here, but I might incorporate this into a different mod that I am working on. :) We'll see what happens!