Thanks so much for this, it really helps as vrplayroom can cause a lot of unforeseen issues with mods.
Also if anybody is using VRIK, make sure to change the height offset for comfort sneaking to 0, as this is simulating a button press VRIK by default will lower your height. It's completely seamless and works perfectly, better than Bethsoft's physical sneaking.
Hi Shizof, may I ask how does this mod determine the default (non-sneaking) HMD height when the playroom is disabled? Right now I have to stand up on a chair for it to recognize that I'm not sneaking LOL.
EDIT: I'm guessing that SteamVR's Worldscale setting messes up the height calculations. Right now SteamVR is set at 128% worldscale; perhaps I need to divide the height thresholds by 128% to match.
FIXED: I'm confirming it was the SteamVR Worldscale that caused the issue. Thank you Shizof.
For anyone else experiencing this issue, you need to divide your desired HeightChangeThreshold in the INI by your Worldscale value. For example for 1.45 Old HeightChangeThreshold / 1.28 Worldscale = 1.13 New HeightChangeThreshold
Turning off the playroom and using this solved a number of issues I had before! Thanks!
I have one small feature suggestion for this mod: Setting an angular offset to prevent sneaking/standing up just from looking down or up. Essentially, letting the user define a value in the config that gets added to the height check based on the up-/downwards facing rotation of the headset.
To give an example: With the offset set to 0.1, the headset would need to be 10cm higher when facing straight up and 10cm lower when facing striaght down to toggle sneaking. Other angles would be calculated dynamically and looking straight ahead would be the same as now. I think this should be possible but I don't know much about VR development.
Just a small, optional idea I wanted to share to fix an issue that vanilla sneaking had as well. This mod is great anyways and will stay in my LO forever to avoid the playroom problems.
Hey Shizof, brand new vr skyrim player here, just started 2 days ago. I'm trying to physically jump with the mod, but nothing works. So I went into the config file, turned autosneak to 0 (I prefer the vanilla physical sneaking, for now), autojump to 1, and forceactivewindow to 1. Assuming that'll work finally, still can't physically jump in the game. Do I have to turn off device tracking in my quest 2 for autojump to work or something?
Headset height is a little lower than your IRL height because you put it on your eyes, it's more like your eye height from the ground. Maybe you set it too high to do it all the time.
You can use the log to determine the height you need to set it. To do that, set Logging = 1 in AutoSneakVR.ini and than use a program to view the log file automatically (I use mTail). You can then put on the headset and see(or someone else in the room can) what height it shows normally and what height it shows when you jump. Make sure you set Logging = 0 again after you finish.
There is also an alternate method of jumping implemented for those with bad knees and cannot jump. You can activate that by setting JumpAlternate=1. It makes you jump when you lower slightly before getting higher. You can try that if you have trouble actually jumping like me.
I uninstalled this alongside physical dodge and now whenever i go in i just crash instantly after loading my save, reinstalling both does nothing.
what i posted on physical dodge vr:A bit ago i turned off this mod alongside physical sneak and jump, but i might have turned them off while sneaking so now i cant sneak and when i try to sprint i roll, so i tried to reinstall both mods and i crash after a few seconds of being in the game, i saw a post on this page that said that they crash whenever they try to dodge, so i think i might be in a constant sneak but not sneak state that the game thinks I'm dodging but I'm not so it just crashes me, any tips`?
Can you post your sksevr.log and the crash log using controlc.com? I need to see the logs to see what's going on before I can offer any help for your situation.
I'm not sure. Your crash log doesn't point to a specific mod. It mentions scripts etc. only.
One thing that it can be is that Physical Dodge VR comes with an esp and removing it and adding it at a different load order can break other script mods because you changed the load order in the middle of the save. This is not specific to Physical Dodge VR. You just shouldn't change your load order in the middle of the save ever.
You need to find out the correct load order first and then order your esp/esm plugins to fit that. I recommend opening a non-messed up save file (a save file before you removed the mod) with ReSaver to check the plugins order and then match your load order in your mod manager. After that, load that save file to resume the game.
Im gonna try this now Edit: it only showed this and a weird low quality picture :\Users\mitch\OneDrive\Dokument\My Games\Skyrim VR\Saves\Save13_18A866DB_1_6368616972_HaemarsShame02_010754_20230512152324_49_1.ess chair the level 49 Khajiit male, in Haemar's Shame on 031.54.02 (1160/2460 xp).
Version string: null
Form version: 77
Time: Fri May 12 17:23:24 CEST 2023
Total size: 14.1 mb (5.0 mb with LZ4)</li>
Papyrus size: 7.5 mb
ChangeForms size: 6.3 mb
Total ScriptData in load order: not available
The savefile was successfully loaded.
Read 5.0 mb in 3.2 seconds.
SKSE co-save was loaded.
Potential problems were identified There are 28 unattached instances.
There are 18 undefined elements.
edit 2: the weird image was what i was seeing at the time but in low quality
there is one other thing though, im kinda stuck in sneak mode but im full height and the eye thing doesnt show up so whenever i try to sprint it just makes me roll and it doesnt work to sneak, my theory is that it might have been caused by deleting the mod while sneaking, and now there is no mcm to try and fix the issue, any tips?
Ok this may sound dumb but what is a VR playroom? I google it and only get results for a game? Wondering if I need this mod.
If I crouch in real life I go into sneak mode. I can not jump in real life tho otherwise my head making out with the ceiling fan so I have that sprint jump mod. Do I need this?
That place with the waterfalls and training dummies and stuff? Looks like a cave? I didn't disable that so I guess I don't need this mod then. What does disabling that do? Load faster?
Real nice and fun Mod. Must-Have for all who want to get lost in the game. I had a f*** hard time to realy jump to get over a cliff to the other side. Just like i would have had in RL :D Auto sneacking and jumping on RL sneacking and jumping just makes the game so more immersive. Big thanks :)
my .ini file only has a few lines... AutoSneak VR: 0.5.0 SKSE Version: 17039601 AutoSneakVRPluginScript loaded VRIK dispatch message returned true... Got VRIK interface Building Event Sinks... VR System is alive.
Do I just copy and paste the lines in blue into the notepad? Someone mentioned steam worlscale.. Where do I find this? Ty bunches. This has been a game breaker. I am currently using the wabbajack Tahrovin.. I dont know how I got stuck in sneak mode.. Its killing my game. thatand the dang toggle grass thing.
That is the log file. ini file of AutoSneak is located next to the dll file in SKSE\Plugins\ folder in AutoSneakVR mod folder of MO2.
Regarding toggle grass, if you are talking about VR FPS Stabilizer, that bug was in the previous versions, but fixed in the latest. If you want to disable that feature regardless, you can do it from VRFPSStabilizer.ini file next to its dll. Again in SKSE\Plugins\ folder in VR FPS Stabilizer mod folder of MO2.
My physical jump and crouch don't work anymore, but Playroom setting seems to be set to 1, so I assume your mod will not help. I use Natural Locomotion with vive trackers to physically run around (an awesome product on Steam). I've assumed this was the problem, but nobody else on their forum seems to have the issue, so perhaps it's a setting elsewhere. Physical jump and crouch appear activated in the Skyrim Settings screen.
I think it would help, because I just automatically press Ctrl, so it would work if your physical crouch doesn't work right now. Nothing to lose if you try.
At first your mod didn't solve my problem, then today it started to work (not entirely sure why). In any case, sneak works easily, but jumping is very hard to make it trigger. I tried increasing the height (wasn't sure if height should be to the bottom or top of the HMD?). I also turned off alternate jump (my knees are good), but no luck. Maybe my setting is too tall. Even if I get the perfect height, it's then not going to work for my wife or anyone else who plays.
Can't you read the height of the HMD and when it exceeds a user-defined threshold of X centimeters, then it triggers the jump? That way it would work for most players without fiddling with the INI and testing and re-testing values.
Same with the sneak (which luckily worked for me by default). The threshold setting should be X% below the HMD height triggers sneak. For example, if the HMD falls below say 70% of your height, you're sneaking.
I can get the height of course, that's how the mod works.
I just can't be sure if you are standing at that moment. For example I start the game from the desktop and for the first minute, my hmd just sits on the table. Not a reliable way to get the height.
I suggest enabling logging in the ini, and using a software like mTail to read the log constantly to find out your standing height. Then if you are using normal method of jumping, you can use that value to fill this one parameter: JumpThreshold. Set this higher than your standing height. As I said, in the ini comments, I'm 1.77 and 1.65 works for me.
Just make sure disabling Logging in the ini after you are done.
It shouldn't be difficult to obtain height. The Natural Locomotion app did it for the past year without ever asking the user to input a height each time someone new plays (until something went awry for me).
For example, once the player character starts moving around for a few seconds, you take a few height readings, average them together, and bingo, the player's height. Tell the player to move around standing up straight to calibrate at the beginning.
You can disable or enable this mod anytime. It works at runtime. So it doesn't do anything to your save. Or you can just set AutoSneak to 0 or 1 from the ini if you prefer that.
It was working for an earlier setup that I had, but I had to start the game over because that save was stuck and wouldn't let me move. I reinstalled a few trusted mods along with this one, but can't get the autosneak to work anymore. I could never get the autojump to work. I turned off physical sneak too. Still nothing.
Yes, but it turns out I figured out the problem while troubleshooting some other issues. Instructions are still a bit assumptive with the whole modding process, since it's all brilliant devs who are in the know designing them freely and independently. I also tried to speed run the process for myself and ended up missing the part where skse's are supposed to work by launching our games from the 'skse..._loader.exe' applications, not from steam. I've had a bunch of stuff not working until today for it. My fully figured character in Skyrim VR literally jumped for joy as a result thanks to your mod. Now to fix the jump threshold. Thanks for making this.
105 comments
Also if anybody is using VRIK, make sure to change the height offset for comfort sneaking to 0, as this is simulating a button press VRIK by default will lower your height. It's completely seamless and works perfectly, better than Bethsoft's physical sneaking.
EDIT: I'm guessing that SteamVR's Worldscale setting messes up the height calculations. Right now SteamVR is set at 128% worldscale; perhaps I need to divide the height thresholds by 128% to match.
SteamVR Worldscale may change how it works yes.
For anyone else experiencing this issue, you need to divide your desired HeightChangeThreshold in the INI by your Worldscale value. For example for 1.45 Old HeightChangeThreshold / 1.28 Worldscale = 1.13 New HeightChangeThreshold
I have one small feature suggestion for this mod: Setting an angular offset to prevent sneaking/standing up just from looking down or up.
Essentially, letting the user define a value in the config that gets added to the height check based on the up-/downwards facing rotation of the headset.
To give an example: With the offset set to 0.1, the headset would need to be 10cm higher when facing straight up and 10cm lower when facing striaght down to toggle sneaking. Other angles would be calculated dynamically and looking straight ahead would be the same as now.
I think this should be possible but I don't know much about VR development.
Just a small, optional idea I wanted to share to fix an issue that vanilla sneaking had as well. This mod is great anyways and will stay in my LO forever to avoid the playroom problems.
Maybe you set it too high to do it all the time.
You can use the log to determine the height you need to set it. To do that, set Logging = 1 in AutoSneakVR.ini and than use a program to view the log file automatically (I use mTail). You can then put on the headset and see(or someone else in the room can) what height it shows normally and what height it shows when you jump.
Make sure you set Logging = 0 again after you finish.
There is also an alternate method of jumping implemented for those with bad knees and cannot jump. You can activate that by setting JumpAlternate=1. It makes you jump when you lower slightly before getting higher. You can try that if you have trouble actually jumping like me.
what i posted on physical dodge vr:A bit ago i turned off this mod alongside physical sneak and jump, but i might have turned them off while sneaking so now i cant sneak and when i try to sprint i roll, so i tried to reinstall both mods and i crash after a few seconds of being in the game, i saw a post on this page that said that they crash whenever they try to dodge, so i think i might be in a constant sneak but not sneak state that the game thinks I'm dodging but I'm not so it just crashes me, any tips`?
Your problems lie elsewhere.
nvm, https://controlc.com/0a49cfec
One thing that it can be is that Physical Dodge VR comes with an esp and removing it and adding it at a different load order can break other script mods because you changed the load order in the middle of the save. This is not specific to Physical Dodge VR. You just shouldn't change your load order in the middle of the save ever.
Edit:
it only showed this and a weird low quality picture
:\Users\mitch\OneDrive\Dokument\My Games\Skyrim VR\Saves\Save13_18A866DB_1_6368616972_HaemarsShame02_010754_20230512152324_49_1.ess
chair the level 49 Khajiit male, in Haemar's Shame on 031.54.02
(1160/2460 xp).
-
-
-
-
-
-
-
The savefile was successfully loaded.Version string: null
Form version: 77
Time: Fri May 12 17:23:24 CEST 2023
Total size: 14.1 mb (5.0 mb with LZ4)</li>
Papyrus size: 7.5 mb
ChangeForms size: 6.3 mb
Total ScriptData in load order: not available
Potential problems were identified
There are 28 unattached instances.
There are 18 undefined elements.
edit 2: the weird image was what i was seeing at the time but in low quality
Fixed!!
ty for everything
Wondering if I need this mod.
If I crouch in real life I go into sneak mode. I can not jump in real life tho otherwise my head making out with the ceiling fan so I have that sprint jump mod. Do I need this?
I had a f*** hard time to realy jump to get over a cliff to the other side. Just like i would have had in RL :D
Auto sneacking and jumping on RL sneacking and jumping just makes the game so more immersive.
Big thanks :)
not sure if I need this but good to have when i need it.
Not sure how all these combination of motion mods and why playroom and sneak broken or messed up found on some discussion
Just researching before I swtch from 2d to VR and buy the game
AutoSneak VR: 0.5.0
SKSE Version: 17039601
AutoSneakVRPluginScript loaded
VRIK dispatch message returned true...
Got VRIK interface
Building Event Sinks...
VR System is alive.
Do I just copy and paste the lines in blue into the notepad?
Someone mentioned steam worlscale.. Where do I find this?
Ty bunches. This has been a game breaker.
I am currently using the wabbajack Tahrovin.. I dont know how I got stuck in sneak mode.. Its killing my game. thatand the dang toggle grass thing.
Regarding toggle grass, if you are talking about VR FPS Stabilizer, that bug was in the previous versions, but fixed in the latest. If you want to disable that feature regardless, you can do it from VRFPSStabilizer.ini file next to its dll. Again in SKSE\Plugins\ folder in VR FPS Stabilizer mod folder of MO2.
Nothing to lose if you try.
Can't you read the height of the HMD and when it exceeds a user-defined threshold of X centimeters, then it triggers the jump? That way it would work for most players without fiddling with the INI and testing and re-testing values.
Same with the sneak (which luckily worked for me by default). The threshold setting should be X% below the HMD height triggers sneak. For example, if the HMD falls below say 70% of your height, you're sneaking.
Any chance of something like this?
I just can't be sure if you are standing at that moment. For example I start the game from the desktop and for the first minute, my hmd just sits on the table. Not a reliable way to get the height.
I suggest enabling logging in the ini, and using a software like mTail to read the log constantly to find out your standing height.
Then if you are using normal method of jumping, you can use that value to fill this one parameter: JumpThreshold. Set this higher than your standing height. As I said, in the ini comments, I'm 1.77 and 1.65 works for me.
Just make sure disabling Logging in the ini after you are done.
For example, once the player character starts moving around for a few seconds, you take a few height readings, average them together, and bingo, the player's height. Tell the player to move around standing up straight to calibrate at the beginning.
As I said, it's in "My Documents\My Games\Skyrim VR\SKSE" folder.
Or you can just set AutoSneak to 0 or 1 from the ini if you prefer that.