Commit graph

132 commits

Author SHA1 Message Date
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
49ebbd1d93 Trigger Anisotropic change correctly 2020-08-23 18:14:30 +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
f21e7d8598 Several Fixes
* Being able to load a game without having to exit to main menu
* Crouching does mess up bullet trajectory
* Prevent teleport if there is a wall or obstacle between HMD and Controller (will stop people reach through walls to teleport)
2020-08-23 11:10:05 +01:00
Simon
d826165dc4 Ensure laser sight setting saves correctly 2020-08-22 12:33:30 +01:00
Simon
f6a70f1430 Fix crouch projectile origin issue
Fixes issue where bullets originate from incorrect location when crouched
2020-08-22 12:09:12 +01:00
oli3012
3a1975d189 Added support for MSAA and anisotropic filtering. MSAA can be set via the command line argument -m, and anisotropy level can be set with the cvar r_ext_texture_filter_anisotropic. By default they have value 1, which means they are not enabled. 2020-08-20 21:29:21 -04:00
Simon
7b4b96a522 Update to V1.0.0 2020-08-19 23:59:59 +01:00
Simon
dfb8170353 Several weapon improvements
- Updated to latest weapons pack from baggyg
- Ensure shell casings are ejected from an approximately correct location on each weapon
- Ensure muzzle flash occurs at the correct location (especially for the Garand and the Venom)
- Made the two handed weapons more accurate
- Improved the default accuracy of: Mauser, FG42 and MP40
2020-08-18 22:25:33 +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
b3d7586f76 STEN
-Fixed steam and brass eject locations due to model changes
2020-08-14 21:30:23 +01:00
Simon
323543a3dc Merge branch 'master' of https://github.com/DrBeef/RTCWQuest 2020-08-14 19:20:47 +01:00
Simon
938070f31f Remove autoaim 2020-08-14 19:20:43 +01:00
Simon
dd615d9349 Chnged some weapon accuracy 2020-08-14 18:29:37 +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
da06592121 Rolled back weapon alignment changes for now 2020-08-11 19:57:59 +01:00
Simon
690dcae4b0 Make walk direction gaze based by default
Co-Authored-By: Grant Bagwell <general@grantbagwell.co.uk>
2020-08-11 19:27:24 +01:00
Simon
94fb379a0d Change to allow lase sight on scoped weapons when scope is detached
Co-Authored-By: Grant Bagwell <general@grantbagwell.co.uk>
2020-08-11 17:12:27 +01:00
Simon
6acbecac92 Numerous changes for beta
- Weapon offsets from VR_Bummser
- Various cvar changes from VR_Bummser
- Updated weapon models
- refactored laser sight and disabled laser sight on scoped weapons

Co-Authored-By: Grant Bagwell <general@grantbagwell.co.uk>
2020-08-11 16:42:09 +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
001c5d6d12 A couple of small things
Better knife orientation
Prevent laser sight on tesla and flamethrower
2020-08-06 21:45:55 +01:00
Simon
ee98743214 Ensure long running haptics stop on death
couple of minor unimportant fixes to do with weapon alignment editor too
2020-08-04 21:25:53 +01:00
Simon
d6ba7e70d8 several fixes
- make weapon alignment code with for right handed properly
- made silenced luger far more accurate
- extended bem length in weapon align
- included latest weapons from baggyg
2020-08-03 10:34:56 +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
3430c37d94 Fix Venom mod crash 2020-07-26 20:23:38 +01:00
Simon
caacaab87d update version number 2020-07-25 15:55:24 +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
cc95db37f8 VR Menu in progress 2020-07-24 00:16:18 +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
c152d5a358 version number update 2020-07-22 23:51:27 +01:00
Simon
0bb213b1e3 Mde using the MG42 far more comfortable 2020-07-22 23:48:22 +01:00
Simon
a417cd0206 Turn off face culling on weapons
just looks better even when weapon is missing surfaces
2020-07-22 18:18:56 +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
04d2ac18ca Few small changes..
- Don't let the game run a graphics performance selection (pointless)
- Raised weapons slightly
- Ensured trilinear mip mapping by default
- Included copying of demo and weapons pack in base apk
2020-07-20 23:04:07 +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
2d44b6bd40 Left Handed Weapon Rendering (invert model etc) 2020-07-19 19:48:18 +01:00
Simon
460cf56d71 AKIMBO! 2020-07-19 15:41:27 +01:00
Simon
5fab5734fe Weapon alignments and save games 2020-07-19 11:04:54 +01:00
Simon
e9ba317825 Hacky Dual Wield solution
Increased vertex count to 6000 too
2020-07-16 23:52:04 +01:00
Simon
cd929657ab Small Tweaks
Increase base HUNK size
Prevent enemy pain causing haptics
2020-07-16 23:40:18 +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
2469bd8cc8 Updated version number 2020-07-15 23:21:42 +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
9bb1435b87 HUD now visible
and has some stereo depth
2020-07-14 23:10:31 +01:00
Simon
565efdc14b haptics for flamethrower and tesla 2020-07-14 20:27:41 +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
f019166c08 Weapon Alignment Mode
set control options to 99
2020-07-13 23:58:12 +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
39aac7000e failed attempt at laser beam 2020-07-12 16:45:20 +01:00
Simon
04352f89be Make knife true 6DoF weapon 2020-07-12 16:04:26 +01:00
Simon
d5a0bd09a2 Finishing touches to thowables 2020-07-12 08:50:23 +01:00
Simon
9afcd3110a Throwable Grenades etc 2020-07-12 00:08:29 +01:00
Simon
fc2a648796 Further weapon offset changes
and a couple of other little bits n' pieces
2020-07-11 17:51:11 +01:00
Simon
e8cb0d91f4 Weapon offset config
Implemented configurable offsets for weapons so they can be tuned without changing code
2020-07-11 11:01:27 +01:00
Simon
632ae12597 default near clipping to low so weapon isn't clipped 2020-07-11 08:52:13 +01:00
Simon
0242fd1543 Suggested cvar defaults by VR_Bummser 2020-07-10 22:57:17 +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
Simon
79f9d36d70 Implemented clean shutdown
no crash on exit (stops debugger going nuts too)
2020-07-07 23:22:47 +01:00
Simon
ab47451b12 Weapon Scaling
Now working correctly
Also implemented the height adjust (for seated play)
2020-07-07 19:13:13 +01:00
Simon
0389a33e5b tiny fix + version increment 2020-07-06 23:28:15 +01:00
Simon
076392b618 Many fixes
- Weapon 6DoF is now pretty good, apart from correcting the relative location to the controller, it now feels right
- If you have the binoculars you can activate them pressing X
- Pressing X whilst holding down the right grip button gives you ALL WEAPONS!
- Fixed crash when you die (I'd introduced it)
- Off-hand joystick click to Kick
- Weapon scale cvar that doesn't really work
2020-07-06 23:09:20 +01:00
Simon
062682addd Start of 6DoF weapons..
Not there yet, but good progress!
2020-07-05 23:24:18 +01:00
Simon
f92f75e136 Several changes
fixed menu mouse control
fixed skybox wobble
fixed player height
2020-07-05 10:49:07 +01:00
Simon
1684e5f9c2 Fixed rendering order (and don't draw crosshair)
Now everything that should draw does at the right time..
only issue now is the skybox seems to have a life of its own!
2020-07-04 20:20:16 +01:00
Simon
1a8ae3ab0a Make stuff draw in both eyes 2020-07-04 11:46:12 +01:00
Simon
380daf2711 Almost there..
though head tracking is borked
2020-07-03 23:26:33 +01:00
Simon
8a8631f03e Positional Tracking now seems to be working 2020-07-02 07:39:44 +01:00
Simon
8a4ad32dd1 Lots of change going on... 2020-07-01 23:49:41 +01:00
Simon
1f5a068b27 Now running...
..and almost playable in some sort of rubbish way!
2020-07-01 00:03:19 +01:00
Simon
8ec8eb9adb Now building..
but obviously won't run
2020-06-28 22:58:18 +01:00
Simon
15880317b4 Getting it building...
..but not there yet
2020-06-28 14:41:34 +01:00
Simon
371ed1d9e2 Added RTCW source 2020-06-10 23:16:41 +01:00
Simon
ed2e26394c Adding stuff 2020-06-10 19:20:11 +01:00