78 Commits

Author SHA1 Message Date
Ezra Hill
aefee463b0
Added Snap Turning (#556)
* Added Snap Turning

- Disabled by default, can be enabled in settings
- Amount per input can be defined in settings (current range is 15 - 90 degrees)
- Default input action is the right thumb stick (same as smooth turn)

* Moved snap turn from slider to selector for settings

* Fixed snap turning with smooth HUD/Helmet

- Previously, the smooth HUD/Helmet would uncomfortably move a long distance after you snap turn
- Now, if smooth HUD and snap turning are both enabled, the helmet snap turns for a frame, then resumes it's previous behavior

* Disable snap turning while in zero-g

---------

Co-authored-by: Raicuparta <Raicuparta@users.noreply.github.com>
2025-03-02 22:55:41 +01:00
Raicuparta
5b23c68937 Add workaround for bad dream man, and DESTROY bepinex 2022-10-28 22:27:20 +02:00
artum
be68ea5d66
Add settings to change opacity of hud markers and the look arrow (#511)
* Add settings to change opacity of hud markers and the look arrow

* Avoid unecessary confusion in comments and naming

* Merge look arrow setting with opacity

* Version bump
2022-07-03 20:11:31 +02:00
12090113
556f177969
Add options to remove the look arrow, camera recentering, and the flashlight gesture (#512)
* Added option to remove look arrow

* Added option to disable moving the camera for preventing clipping

* Added option to disable the flashlight gesture

* Revert solution file versions

Co-authored-by: artum <jacopo.libe@gmail.com>
2022-06-29 17:23:51 +02:00
Jacopo Libè
0b3536bdd5 Fix default config after restoring settings 2021-12-15 21:31:17 +01:00
Jacopo Libè
fc7be1b01e Restore disabled settings 2021-12-15 20:06:28 +01:00
Ricardo
1bd35ad62b
Add helmet smoothing option (#490)
* Make SmoothFollowCameraRotation toggleable

* Expose HudSmoothFollow to options

* Refactor HudSmoothFollow setting to adapt it to IModSettingProvider

* Fix missing reference

* Refactor helmet smooth follow

Co-authored-by: Miguel Medina Ballesteros <miguel.medina-ballesteros@ubisoft.com>
2021-12-03 10:16:39 +01:00
Raicuparta
241fbdeebb Remove fatal errors 2021-10-30 23:23:43 +02:00
Raicuparta
42d9e5a5e5 Cleanup 2021-10-22 09:33:17 +02:00
Ricardo
2a6c0277ba
Style cleanup (#448)
* Style cleanup

* More cleanup

* More cleanup
2021-10-22 09:29:31 +02:00
Ricardo
509f2b35cd
Disable some options until scrolling is fixed (#442) 2021-10-21 20:46:16 +02:00
artum
3d043864f8
NomaiVR 2.0.0 (#440)
* Open virtual keyboard on focusing text fields

* Reopen keyboard if auto-closed and empty

* BepInEx version

* Fix storage

* BepInEx config

* Cleanup dependencies

* Unlock mouse

* Debug mode

* GetValue not needed I think

* Setting ranges

* Path fixes

* Update Readme with rollback info

* Fix empty patches

* Added support Unity project

* NomaiVR modifications to SteamVR plugin

* Add patch files for future SteamVR updates

* Assume Unity 2019.4 assemblies are present

* XRModule loading, testing automated unity build

* Should now deploy without issues

* Transition project to netstandard2.0

* Added enabler mod

* Full unity build only on release

* VR loading

* Some camera fixes

* Rotate camera

* Add comment

* Restore exception logs

* Add some inputs. MoveXZ and LookXZ not working.

* Patch move, look, roll

* Cleanup

* Revert restore logging

* Fix hands in menu, but still wrong position ingame

* Enable every module except controllerinput

* Updated fog fix

* Player rotation fix

* Some progress on shader issues

* Shadow fix fix

* Bye bye XR plugin

* Shadow fix fix, fix after removing the xr loader

* Re-enabled mostly working stuff

* Simulating input for landing camera

* Simulate flashlight input

* Cleanup

* Add binding for autopilot

* Add recenter input (oculus only)

* Act on recenter input

* Separate UI select action from jump action

* Remove redundant laser input simulation stuff

* Removed redundant patches

* Restore reference frame tracker patches

* Removed autopilot bindings

* Use interact button for EVERYTHING

* Add boost input

* Revert to old camera system

* Additional inputs, restored hand independent inputs

* Restored water effects in DLC areas

* Haptics and stationary tools test

* Additional input tweaks

* Cleanup inputs

* more cleanup

* Force gamepad mode

* Remove leftover log

* Add more menu inputs

* Fix holding items

* Add debug cheats

* Added proof of concept of image prompts for vr bindings

* Re-enable holding word stones, prevent HoldItem from fully crashing if one of them isn't found

* Change supported version

* Re-enable gesture prompts

* Add separate actions for UI, use triggers for subtabs

* oculus: right stick click to autopilot, chord to recenter

* Mouse pointer interactions for menus, dialogues and probably shiplog too

* Switched back to old stable VRToolSwapper

* Restored shiplog swap

* Re-enable signalscope zoom

* Fix null reference that could occur on final sequence of the game

* Prevent null reference in eye scene

* Imported poses playground in Unity project

* Fixed playground

* Added basic pose tutorial

* Formatting issues

* Spelling...

* Effect fixes for a certain item in the DLC

* Prevent too much UI rebuilding, add controls for DLC item, remove failed shiplog experiment

* Fix crashes during a certain transition

* Dynamic prompt icons (#437)

* Starting work on dynamic prompt icons

* Reading input icons from new structure

* new VRActionInputs

* Abstract and interaface for vractioninput

* Fixed vector2, cleanup

* Add more stuff to input mapo

* stationary actions

* Cleanup

* Cleanup

* Readd usable items check that disappeared from merge

* Fix map condition

* Cleanup

* Break lines

* Add patch to remove unused inputs

* Add menu entry for recentering

* Fix signalscope positioning when the suit is off

* Create proper SteamVR manifest for the mod

* Getting prompts from all input maps (#438)

* Small input fixes

* Fixed a DLC transition

* Trying out new ways of interacting with an item in the DLC

* Simulated inputs now need explicit values

* Attempt at fixing a 2d effect

* Fix poses on pause menu exit, changes to holdables to better detect equip/unequip

* Add cheats: wake up in dream, start mind projection

* Different attempt at mind projection

* Fix menu buttons not being visible to new profiles

* Interactable autopilot button in the ship

* Fixes to a certain shader used in the DLC

* Include SteamVR shaders in shader bundle

* Starting work on DLC hand poses

* More polish on some poses

* Fixed light sorce locations on DLC item

* Fixes to certain means of transport in the DLC

* Made previous fix head direction independent

* Fixes to a cool mechanic in the DLC

* Fixed stationary dpad not bound properly

* Added icons for each controller, thanks to NoChill for the index icons and WMR layout

* Official bindings for index

* Run draw on top patch only when needed

* Patcher default moddir, peephole fixes and removed unused code

* Restored not so unused code

* Fix another DLC item

* Solved performance issues during credits scene

* Avoid null reference exceptions during post credits scene

* Removed debug code

* Better mind projection shader reproduction

* Additional fixes to mind effect

* Add launch support as doorstop target for the vr patcher

* Support for OWML builds

* Hand poses for all DLC items

* Fixed typo

* Texture for empty actions, action part caching

* Cleanup old classes

* More fixes to prompt logic

* Properly change autopilot prompts during autopilot phases

* Added direction and click to prompts

* Avoid spamming haptics events

* Fix vive bindings, add trackpad hand

* Updated WMR bindings to use all the new actions

* Fixed prompts for CV1 controllers

* Test OWML external patcher

* Ignore files already copied

* Started to update readme for new release

* Disable debug cheats by default, cleaup old comments

* Ensure that one DLC effect doesn't persist when opening the pause menu

* Moved vrmanifest under StreaminAssets

* Removed physics override, use SteamVR refreshrate always

* Removed bepinex dependency from patcher, copy patcher in mod's postbuild events

* Changed full build order

* Separated secondary interact from grip action

* Added cleanup logic for previous versions to the patcher

* Updated readme to be more in line with the current build process

* Updated user settings file instructions

* Simplify build process

* Further details in readme for dev builds

* Support main hand swap for usable items

* Revert change that caused project initialization issues

* Fixed issues in project references

* Move fov management inside camera helper, disabled fov changes for a DLC effect

* Cleanup readme

* Improve oculus bindings

* Adjusted autopilot button color and text

* Removed unused asset bundles

* Make end scene follow snap to the front of the headset every 70 degrees

* Usable items now use the interact button and are droppable

* Fix oculus tool bindings

* Increased manifest version to force rebind

* Adjust prompts position

* Removed instructions to downgrade OWML

* Fix menu collider not aligning

* Fix typo in last change

* Cleanup force settings

* Don't change probe retrieve prompt

* Upgrade OWML

* Remove DLC info from warning

* Mods dir

* Cleanup readme

* More Readme cleanup

* Remove comfort section

* Fix setup link

* Fixed table of contents

* fixed toc again

* Add readme pointer to warning message

* Update readme and warning

* Autopilot and Recenter now marked as optional

* Add info about icons

Co-authored-by: Ricardo Lopes <raicuparta@gmail.com>
Co-authored-by: Raicuparta <Raicuparta@users.noreply.github.com>
2021-10-21 20:07:20 +02:00
artum
bb2360d328
More immersion settings (#422)
* Added some immersion settings (HUD opacity, Feet/Hand laser visibility)

* UnityExplorer compatibility

* Bump version
2021-07-02 17:53:19 +02:00
artum
58b1fbb2a4
Input rework
* Dynamic input prompts
* Hands independent interactions with hand-held tools
* Changeable dominant hand
* New controller bindings (tools DPAD now on trackpad for Index and old WMR controllers)
* New WMR Bindings also addresses #406
* Reset axes when bindings are disabled (prevents turning/moving on tool equip)
* Fix GC allocations in OWInput update
* Fixed an issue when rebuilding hand prompts, should enable starting the game without controllers
* Move mallow eating detector to player camera instead of the avatar's head
* Updated gesture prompts appropriately and reduced memory allocations
* Fixed repair on loop reload and removed unecessary audio listener from signalscope camera
* Updated project README
2021-05-08 16:31:20 +02:00
artum
4267a0948d
Toggle unity logs with debug setting; Distant fog fix; Small fixes. (#393) 2021-03-15 03:24:28 +01:00
Ricardo Lopes
be5d667fa8 Fix config typo 2020-08-17 22:02:32 +02:00
Ricardo Lopes
624766d08a
Always hide HUD during dialogue, except notifications; Refactor settings (#336) 2020-08-14 01:25:32 +02:00
Ricardo Lopes
3828733ab4
Crash with message if missing components or wrong game version (#333) 2020-08-11 23:16:17 +02:00
Ricardo Lopes
02fb2f9a21 Remove leftover log 2020-08-05 20:55:48 +02:00
Ricardo Lopes
9e7019f25c Bump version 2020-08-05 02:20:28 +02:00
Ricardo Lopes
82117e3723 Configurable HUD scale
closes #269
2020-08-04 17:35:23 +02:00
Ricardo Lopes
0fd9bc96e1 Add toolbelt height option, and auto-hide toolbelt based on hand distance
Closes #283
2020-08-03 22:03:50 +02:00
Ricardo Lopes
d743e0ba0d Set helmet to visible by default 2020-08-02 16:53:51 +02:00
Ricardo Lopes
752f5a5fc6 Change keys of all settings to avoid update conflicts 2020-07-25 18:43:02 +02:00
Ricardo Lopes
66a241f6a0 Improve mod settings structure (#303) 2020-07-25 18:03:59 +02:00
Ricardo Lopes
5e6a1f2408
Move patch methods to NomaiVRPatch 2020-07-25 16:28:56 +02:00
senritsu
56d295b051
Add option to hide HUD during conversations (#284) 2020-07-13 16:58:55 +02:00
Ricardo Lopes
4153ddd4b9
Add option for controller-oriented movement (#277) 2020-07-07 04:22:07 +02:00
Ricardo Lopes
a1d26c09e6 Add text prompts for gestures (#256)
* Cleanup

* Showing text

* Showing text when looking at interact receiver

* Cleanup

* Cleanup

* Flashlight text

* Canvas smooth follow camera

* Cleanup

* More flashlight text

* Hide probe text if already equiped probe

* Hide if inside ship

* Signalscope

* Translator prompts

* Smaller ray

* Hide translator prompt if has used translator

* Change font

* Improved text

* Styled text

* Listen to probe prompt triggeers

* Option for hiding prompts

* Hide flashlight prompt after first time using

* Cleanup

* Text style

* Cleanup

* Cleanup
2020-06-12 02:11:17 +02:00
Ricardo Lopes
14527912bc Fix incorrectly formatted config 2020-06-03 19:15:16 +02:00
Ricardo Lopes
3781f10457 Configuirable vibration strength
Closes #229
2020-06-03 18:48:20 +02:00
Ricardo Lopes
8b57d4b2f0 Fix config 2020-05-26 21:06:34 +02:00
Ricardo Lopes
692f2a0172
Allow hiding helmet via config (#239)
* Settings class

* Use helmet option

* Move bindings

* Cleanup
2020-05-22 15:55:59 +02:00
Ricardo Lopes
3e608e7d2e Bump version 2020-05-21 20:01:50 +02:00
Ricardo Lopes
0cdabf3391
Refactor patches (#233)
* Code cleanup

* Move hand into separate behaviour

* Rename handscontroller

* Holdable behaviour

* Adjusted mallow position

* Hands directory

* Cleanup

* Refactor patches

* Refactor more

* PlayerBodyPosition

* spacey

* Dialogue

* Hands controller

* Feet marker

* Input prompts

* HelmetHUD

* VRTutorial

* ShipTools

* Fix InputPrompts patches

* ControllerInput

* Common

* Layers helper

* Cleanup common

* Cleanup helpers

* FogFix

* LoopTransitionFix

* WaterFix

* CameraMaskFix

* MapFix

* Menus

* PostCreditsScene

* FlashlightGesture

* HoldMallowStick

* HoldProbeLauncher

* HoldSignalscope

* HoldTranslator

* LaserPointer

* Cleanup

* HoldItem

* HoldPrompts

* Fix

* Logs

* Refactor asset loading

* Configurable preventcursorLock

* Cleanup
2020-05-18 23:59:32 +02:00
Ricardo Lopes
37f85423fa Bump version 2020-05-16 19:19:15 +02:00
Ricardo Lopes
644eb9386f
Configurable refresh rate (#226)
* Configurable refresh rate

* Add configurable refresh rate instructions to Readme
2020-05-10 14:13:47 +02:00
Ricardo Lopes
2b49b90680 Bump version 2020-04-24 19:08:49 +02:00
Ricardo Lopes
b739b61fb2
Fixed wrongly formatted config json 2020-04-24 18:59:47 +02:00
Ricardo Lopes
c4290fad0a Bump version 2020-04-24 00:31:16 +02:00
Ricardo Lopes
baab1ad203 Bump version 2020-04-19 20:48:10 +02:00
Ricardo Lopes
e56359af36
VR Inputs tutorial (#210)
* VR inputs tutorial

* Show VR controller models

* Better hand model positions

* Show mallow stick prompts

* Added localization to VR bindings
2020-04-19 20:44:12 +02:00
Ricardo Lopes
1cee47c991 Bump version 2020-04-18 20:36:46 +02:00
Ricardo Lopes
0d7a652ba8 Bump version 2020-03-29 21:01:38 +02:00
Ricardo Lopes
caa153f8a4 Bump version 2020-03-26 07:47:42 +01:00
Ricardo Lopes
c334f823bd Bump version 2020-03-21 18:35:18 +01:00
Ricardo Lopes
d5b0cea87e Bump version 2020-03-20 23:45:20 +01:00
Ricardo Lopes
9eeff47e28 Bump version 2020-03-20 21:31:45 +01:00
Ricardo Lopes
0dce9376f7 Bump version 2020-03-05 21:40:55 +01:00
Ricardo Lopes
56918bd26d Bump version 2020-03-04 21:58:26 +01:00