Commit graph

20 commits

Author SHA1 Message Date
Simon
e16f625db0 Overhaul of Weapon Selector
- Now provides a HMD locked weapon wheel option controlled with thumbstick
- Selector type can be chosen in the controls menu
2022-03-12 12:01:59 +00:00
Simon
8939a4f959 Keep selector position relative to controller 2022-03-11 23:09:21 +00:00
Simon
b5e1628dbf Fix issue with weapon wheel cursor locking to one side or other 2022-03-11 20:34:13 +00:00
Simon
fdbc101841 Some small changes
- draw selection beam on weapon selector
- Change direction weapons, weakest start at the bottom (with gauntlet) and then increase clockwise
- small change to menu footer text
- Increased size of Quake III Arena logo on main screen
- Build batch file will create vr_version.h to include in the menu
2022-03-11 19:16:44 +00:00
Simon
217a6fa2b7 Weapon Wheel
prevent cursor overshooting
added ability to colourise the beam in code
2022-03-11 00:02:23 +00:00
Simon
27b1037c03 Changed wepaon wheel to use orientation
just feels a lot smoother to use
2022-03-10 23:02:54 +00:00
Simon
9097e00f5d More changes to the weapon selector
- Now wheel based
- Has almost visible spheres around weapons
- Slight haptic blip when contact is made with a selectable weapon
2022-03-09 23:25:50 +00:00
Simon
a155e985be Several changes
- Make the weapons selector fixed in place, doesn't move with the head yaw now which is more comfortable
- Removed a lot of the stuff being copied on start-up into a single pakQ3Q.pk3 file for ease
2022-03-08 22:29:26 +00:00
Simon
af495e03a0 Tweaks to weapon selector
and make damage roll cvar apply to pitch too
2022-03-07 20:42:26 +00:00
Simon
930fb2c49f Fix weapon selector not being accessible on multiplayer servers 2022-03-06 23:03:37 +00:00
Simon
992e98a51d Make barrels rotate on weapon selector items
pretty silly
2022-03-06 20:46:31 +00:00
Simon
bd68d221af Ensure railgun colouration is correct on weapon selector 2022-03-06 19:52:21 +00:00
Simon
c69d43461a Restored 1st person body (it was being used!)
ensure barrel is drawn on weapons that have a barrel in the weapon selector
2022-03-06 19:30:02 +00:00
Simon
73bbcf8882 Support for a selectable weapon system
much quicker and cleaner than "next" and "previous" on the right stick. That approach can still be set up using the mappings
2022-03-06 15:19:38 +00:00
Simon
e4d49b44e6 Small spectator fixes
- Switch between Follow modes (1st and 3rd person) using the X button
- Switch back to the "Spectate" mode using the A button when in follow mode
- 1st Person follow mode is on a virtual screen (to avoid nausea)
- Slider for haptic intensity: affects both controller and bhaptics level
- Move 3rd person Spectator and Death Cam closer to player's viewpoint
2022-03-05 19:26:39 +00:00
Simon
1c823b6943 Improved Spectator/Follow mode
- Spectator / Follow mode will now be 3rd person, with the person you are following marked with an icon
- Optional Laser Sight for aiming (in VR Menu)
- Toggle to send Roll angles to the server
- Removed very janky first person body option
2022-03-04 18:19:18 +00:00
Simon
76f2b49ee0 Made spectator / follow mode use similar view to death cam 2022-03-02 23:26:57 +00:00
Simon
f2b9eaee60 FInished "6"DoF and removed need for weapon alignment logic 2022-02-27 18:22:39 +00:00
Simon
62f54f8986 Implementation of real-fake 6DoF
https://www.youtube.com/watch?v=zBjC2FHuC7Q

This video explains it (in the comments)
2022-02-27 15:45:20 +00:00
Simon
9489c0f106 Moved source files
so that it is easier to debug in Android Studio
2022-02-25 23:18:45 +00:00
Renamed from code/cgame/cg_weapons.c (Browse further)