Commit graph

54 commits

Author SHA1 Message Date
Simon
0517b987e2 Fix missing muzzle flash in JKA
Not really sure why it didn't work, but this specific handling for the player seems to fix it
2023-03-20 22:15:58 +00:00
Simon
93efed3b24 Corrected logic error with saber-lock hilt rendering scenario 2023-03-13 19:37:13 +00:00
Simon
7528b8dc40 Ensure hand is drawn if dual sabering, but holding a different weapon 2023-03-12 10:58:23 +00:00
Simon
a67dc074cb Draw sabers in correct position when in enemy lock
and don't draw in security camera views
2023-03-12 10:49:04 +00:00
Simon
be59694bc5 Fix force push/pull use when dual saber but holding other weapon 2023-03-12 10:48:31 +00:00
Simon
f46644c08c slight FOV warping in water 2023-03-11 23:28:38 +00:00
Simon
4e6b7c226a Ensure sky box renders correctly when looking through a weapon scope
and hopefully in other circumstances too
2023-03-11 20:20:20 +00:00
Simon
c8fa750c6e Prevent random weapon position being stuck
pretty sure it is an uninit variable (vr.saberBlockDebounce)
2023-03-11 15:39:22 +00:00
Simon
2eafff44ee Force powers aimed using controllers 2023-03-10 22:54:28 +00:00
Simon
e19f8b9c1d Force Crosshair & Force See effect correct 2023-03-08 22:56:45 +00:00
Simon
f16e6b2e7e Various changes
- Force Speed FOV changes
- Fix skybox
- Scoped weapons
2023-03-08 21:06:51 +00:00
Simon
80f4e9520a Improved font scaling 2023-03-07 22:52:55 +00:00
Simon
5ba176fced @MuadDib's Usable-objects-hint 2023-03-05 08:50:51 +00:00
Simon
6b40649ef5 Added missing shaders and comfort vignette drawing 2023-03-01 23:20:26 +00:00
Simon
72ba9972d8 Renaming JKQuest to JKXR
Rename JKQuest -> JKXR

Renaming JKQuest to JKXR

Renaming JKQuest to JKXR

Renaming JKQuest to JKXR
2023-03-01 22:14:44 +00:00
Simon
eed4ea9e15 Allow demo assets map to be played
only register appropriate weapon models if playing the demo map
2023-02-26 15:08:31 +00:00
Simon
82ace54c07 Start of proper changes for JKA 2023-02-26 09:45:41 +00:00
Simon
348bd46f62 Support for first person sabers - including dual wield and two-handed
needs more work, but going well
2023-02-02 22:53:34 +00:00
Simon
b67d87fd5c Patched immersive camera changes from JKO 2023-02-02 22:52:28 +00:00
Simon
773593c8bd Started on JKA
- First person view working
- Merged a lot of other changes from JKO
2023-02-01 21:11:04 +00:00
Simon
89fb6f6887 Configurable HUD scaling menu options 2023-01-31 21:45:13 +00:00
Simon
4b1e010ca0 Use calculated projection matrix
sorts out weird warping on the Pico.
Allows for FOV to be overridden still for some effects (force speed)
2022-12-14 15:17:44 +00:00
Simon
2c00a2a40f We have visuals!!
OpenXR is now at least rendering the menu screen!
2022-12-14 15:17:43 +00:00
Simon
a8a402288b Fix issue with muzzle flash only causing dlight in the left eye 2022-11-26 10:14:13 +00:00
Simon
077cfe159e HAPTICS!!!
Controller only so far - still needs some things implemented, but mostly there
2022-11-17 00:05:01 +00:00
Simon
6695f0bc0d Finished implementation of disruptor scope 2022-11-09 21:28:18 +00:00
Simon
baafc2ec8d Several fixes
- Disruptor scope now working pretty much as expected
- Fix to menu hints now rendering correctly (@MuadDib)
- Removed roll from thrown saber angles
2022-11-08 21:43:12 +00:00
Simon
e425c34317 Fixed Ladyluck remote turret
Also included @MuadDib's latest menu changes
Force Crosshair now seperately configurable
Restored the mission failed text
2022-11-07 22:14:36 +00:00
Simon
5c09153f67 Decouple view angles from 3rd person saber
Feels a lot cleaner, also made the turn mode have 3 options:
0 = Snap turn
1 = Snap turn (1st Person) & Smooth turn (3rd person)
2 = Smooth turn
2022-10-31 22:17:09 +00:00
Simon
89f925c373 Immersive Cutscene 6DoF
also:
- 6DoF using mounted guns
- Better HUD scaling when Zoomed
2022-10-30 23:15:58 +00:00
Simon
b1207a60ca Few small changes...
- Tidied up selector rendering a little bit for when no weapon held
- render a hand when no weapon held
- don't allow weapon stabilisation when holding no weapon or using saber
- better support for left handed mode
- disable face culling for VR view models (weapons / hands) so they look much better, especially left handed!
2022-10-29 09:44:25 +01:00
Simon
a5ae9452a8 If player is controlling a remote NPC
such as a mouse droid, then render on a screen as if viewing a remote camera. This might need reworking if the player controls something alive at some point, but works well for the mouse droid for now.
Also for security cameras, render to a screen
2022-10-26 23:37:42 +01:00
Simon
3bef513990 Force Crosshair
and a number of other changes:
- fix for enemy saber throw
- reseed RNG with same number for both eyes
- vr_two_handed_weapons toggle cvar
2022-10-20 17:47:12 +01:00
Simon
a118fadce0 Don't draw mission failed message (no need)
removed a few redundant options from the menu too
2022-10-17 22:35:18 +01:00
Simon
b1e6677fc0 Hints to force direction
also rotated saber back so the glitch is not so visible
Added controls for force direction hint and Speed FOV adjust to the menu
2022-10-15 14:53:53 +01:00
Simon
a00281d038 Fix for saber not affecting dark jedi 2022-10-10 21:58:02 +01:00
Simon
daafcc6ba4 Drfaulting a lot of cvars
and saber blur now working
2022-10-10 21:58:02 +01:00
Simon
83d6fabb98 Various general improvements
- remove head bob
- default shadows on
- slight decrease to time slowdown
- slight player speed change
2022-10-10 21:58:02 +01:00
Simon
7328046b32 Improvements to the crosshair 2022-10-08 17:29:50 +01:00
Simon
ab03fc7c6d So many changes..
- Fix issue where scripts stop running if you die (change to Android.mk)
- Added weapon based crosshair
- Lots of HUD fixes
- Fixed snowing indoors issue
2022-10-08 17:29:49 +01:00
Simon
086545aa8f Few fixes
Don't spin camera on death
Fix mouse cursor getting stuck on left
2022-10-05 22:37:39 +01:00
Simon
851183b90d Update cg_players.cpp 2022-10-04 23:08:06 +01:00
Simon
3826eb86c4 Number of small tweaks
including world scale
2022-10-04 22:48:30 +01:00
Simon
99bf86ae8f Almost too many changes to mention!
lots of saber stuff
view angle stuff
height is now correct
6DoF is working
weapon aiming working in a lot of cases
2022-10-03 22:19:00 +01:00
Simon
2c29c10b42 First implementation of 1st person saber 2022-10-02 23:17:51 +01:00
Simon
9620011ed5 Multiple fixes
- Fixed some crashes
- weapons (for the first level of outcast) should be aligned
- ducking works, player height now correct
some button changes:

A - Jump
B - Alt Fire
X - Use current Force (no use in outcast atm)
Y - Select next Force Power
Right Thumbstick Button - "Use"
Left Thumbstick Button - Duck - good for side rolls etc
Right Grip - Slow time to 10% (testing this for the weapon/force selector, also quite fun)
Left Grip - two handed weapons (no advantage to this at the moment)

You should find that weapons are now properly motion controlled
2022-10-01 00:02:49 +01:00
Simon
385017812e Some weapon aiming code 2022-09-29 23:38:22 +01:00
Simon
7cc4c4f281 Several changes
- Jedi Outcast now running properly
- Added Use to right thumbstick to bypass cutscenes
2022-09-28 23:07:22 +01:00
Simon
adfc6da46d Many many changes
- Added in a cheat menu (https://jkhub.org/files/file/3828-beta-ingame-customization-and-cheat-menu/)
- Added and building source for JK2
- FIxed jittery head tracking
- Started on motion controlled weapons (no sabers yet)
- made cutscenes immersive (can be turned off)
- Started on a visible HUD
2022-09-27 23:19:12 +01:00
Simon
18f17c2bab Stereo Separation now working 2022-09-24 20:08:43 +01:00