Commit graph

59 commits

Author SHA1 Message Date
Petr Bartos
22bfd58616 Add haptics for menu 2023-10-14 16:54:59 +02:00
Petr Bartos
67616a166f Run (or teleport) with left grip when using akimbo 2023-10-14 11:36:54 +02:00
Petr Bartos
1d6418330b IRL crouch 2023-10-12 20:58:59 +02:00
Petr Bartos
ce6d680ba9 Updated controls:
- HUD toggle moved to menu
- Removed right grip shortcuts (they were interfering with selector)
  - X/Y for selecting items replaced by selector
  - Trigger to toggle scope/silencer/akimbo moved to X (instead of HUD toggle)
2023-10-08 19:16:22 +02:00
Petr Bartos
0f6d6386e8 Real dual-wield for akimbo 2023-10-08 17:09:41 +02:00
Petr Bartos
4000523483 Wheel selector 2023-10-04 20:40:06 +02:00
Petr Bartos
a0730801a5 Use gesture 2023-09-27 16:13:08 +02:00
Petr Bartos
cfe7b8b8bc Menu cursor improvements 2023-03-20 22:39:58 +01:00
Grant Bagwell
893463afad Quick Save and Scope Mode Fix
Reinstated Quick Save and Load to be an offhand backpack reach.
Added a fallback check so people don't get stuck in scoped mode.
2022-02-25 17:13:07 +01:00
mietszczyslaw
dc4eea6895
fix: cleaned up backpack detection code 2022-01-08 00:18:43 +01:00
radwan92
d1bfb6e9a2 fix: backpack reach detection 2022-01-07 23:34:14 +01:00
Grant Bagwell
600475e91c Haptics hopefully finished + Cybershoes
Also changed doors to always soft open
2021-07-16 00:54:51 +02:00
Grant Bagwell
0a97fa4b4f Start of bHaptics work 2021-05-01 07:56:52 +02:00
Simon
142e971388 adjust positional factor based on refresh rate 2021-04-20 21:10:50 +01:00
Simon
8a77c03073 90hz Support for Quest 2 2020-12-10 20:48:58 +00:00
Simon
6dcf3a589d Couple of fixes
- When resyncing client yaw with engine on a snap-turn, use HMD pitch rather than engine pitch (which caused a weird jitter)
- If FPS drops below 72, ensure that positional tracking is still consistent rather than suddenly moving the player a greater distance
2020-09-29 20:58:49 +01:00
Simon
0644bd7cf1 Recoil for silencer and haptics to replace screen shake 2020-09-03 19:17:44 +01:00
Simon
8d9f218c97 Better pistol recoil 2020-09-02 22:54:08 +01:00
Simon
9229db9fe2 Various changes in prep for 1.1.0
removed "ironsight lock" as that was pretty rubbish
default r_gamma to 1.1
Tweak offset of virtual stock to line up with dominant hand/eye
force copy of weapon pak for now
2020-09-01 19:27:10 +01:00
Simon
a3077f2711 Fixed couple of bugs.. 2020-08-31 18:56:22 +01:00
Simon
62eef448fc More virtual stock stuff 2020-08-31 15:02:33 +01:00
Simon
f0d839b38f two handed pistol stabilisation
Draw iron sight lock mode as mono
2020-08-26 10:01:48 +01:00
Simon
e60b606b57 Virtual Stock Implementation
For FG42, Mauser, Thompson and Sten
Optional (default is off), dominant eye can be selected for alignment
The FG42 needs a bit of work on aligning..
2020-08-24 23:23:04 +01:00
Simon
5851fd457d Lots of changes.,..
- Extra texture mode options (no filter, bileaner (no mipmap))
- Set cinematics to be 2D or 3D
- Adjust virtual screen depth
- Anisotropy adjust in menu
- "Switch Sticks" will also switch function of A/B/X/Y so jumping etc is possible with switched sticks
2020-08-23 17:58:43 +01:00
Simon
8d54ccd46e Added cvar to switch sticks
Particularly useful for left handed players who favour right handed stick configuration
Added the Venom mod scripting update pak to the assets (thanks _HELLBARON_!)
2020-08-16 18:31:46 +01:00
Simon
3e756e826e RC1
- Weapon alignments from VR_Bummser
- Restored controller based movement direction as default
- Added toggle for turning mode (smooth vs snap)
-
2020-08-13 15:43:50 +01:00
Simon
9e9b6a2377 TESLA
Correct alignment of tesla lightning
Allow use of inventory items and cycling through using X and Y with grip button pushed
2020-08-10 18:50:42 +01:00
Simon
04801b7d19 a few fixes
- Ensure right handed for wepaon calibration
- Fix issue with sniper mode fixing yaw after a shot is fired
2020-08-02 15:24:06 +01:00
Simon
ed5e665f26 Small tweaks
- No need to slow movement when teleport active as user can do that in the menu
- default znear to 1.0
2020-08-01 11:57:35 +01:00
Simon
93a0b3f7e8 Fix small issue with commit of debugging code 2020-07-28 22:58:16 +01:00
Simon
776af8b434 Quite a lot going on here...
- Fixed the inaccurate sniper rifle (was caused by CG_ZoomSway still in effect
- Made scope reticles draw at a better scale
- Binoculars can be zoomed in and out using trigger (will toggle back and forth between zoom in and out)
- Made the grenades have the same weight
2020-07-28 21:31:28 +01:00
Simon
8e82238395 Fix scope lerp issue
- Also disabled snap turn while in scope
- Made sure VR menu options show when menu is shown
2020-07-25 15:54:44 +01:00
Simon
48d9cb9e7b VR Menu
- ingame menu working
- Fix for scope "head aim" issue
2020-07-25 11:01:44 +01:00
Simon
52f60fc309 Work on VR Menu
and movement speed slider
2020-07-24 22:33:40 +01:00
Simon
443641b629 More improvements to mounted gun
also prevent laser sight making a mess when the menu is active
2020-07-23 19:23:29 +01:00
Simon
acad0a11e2 Adjusted knife scale/rotation 2020-07-21 22:34:22 +01:00
Simon
cda14f7f11 Weapons..
- Start of Baggyg's changes to no-hand vr weapons - now have a scope switchable FG42
- FIx bug where door pushes you and makes yaw go out of sync
- Fix bug where returning knife to backpack causes weapon to fire repeatedly
2020-07-21 19:11:39 +01:00
Simon
7f7db6d4ad Teleport Locomotion 2020-07-20 19:56:58 +01:00
Simon
8a98d203d9 Laser Sight
also some small fixes to the left-handed weapon orientation, now seems totally correct
2020-07-19 22:39:17 +01:00
Simon
460cf56d71 AKIMBO! 2020-07-19 15:41:27 +01:00
Simon
e9ba317825 Hacky Dual Wield solution
Increased vertex count to 6000 too
2020-07-16 23:52:04 +01:00
Simon
c8bc1f14a5 More fixes
- Some stereo depth to the binocular sights (looks better)
- make scopes work better when reloading
- Fix issue with altfire not switching scope on mauser correctly
- fix issue some weapons continuously firing
- Increase scope and binocular activation range
2020-07-16 22:57:01 +01:00
Simon
6a1ad59805 Some nice changes...
- You can now grab from the backpack:
  - Grip Button - Grenades / Pineapple / Dynamite
  - A Button - Knife
  - B Button - Binoculars (move them to your face to activate)
- Fixed bug with scopes
- Improved HUD and fading
- X button now enables/disables HUD (might change this)
2020-07-15 23:16:44 +01:00
Simon
fc3a941f1f Scope work...
- Ability to detach the scope from the Mauser and use iron sights (use alt-fire)
- Player moves at 1/3 normal  speed when scope is active
- Backpack will now provide grenades if player has them
2020-07-14 18:56:03 +01:00
Simon
20ea9c6817 Weapon Model Adjust
- Angular adjustments now possible
- Improved knife haptics
- Weapon direction laser to allow weapon alignment (needs to be configurable)
2020-07-12 23:26:56 +01:00
Simon
04352f89be Make knife true 6DoF weapon 2020-07-12 16:04:26 +01:00
Simon
9afcd3110a Throwable Grenades etc 2020-07-12 00:08:29 +01:00
Simon
3bb4b5f274 Few small fixes
back pack
don't fire haptics when enemies fire etc
2020-07-10 22:46:52 +01:00
Simon
ff2c351549 So many improvements!!
- Scoped Weapons/Binoculars now working perfectly
- Haptic Feedback implemented
-
2020-07-10 21:58:40 +01:00
Simon
7902c68107 Sniper rifle work...
already working pretty well!
2020-07-09 23:53:06 +01:00