Jump to content

Do you want a VR lookback view?


Terry Dactil

Recommended Posts

Are you tired of getting shot down because  in VR you can't look back behind you to see those pesky bandits  getting into your six?

 

TrackIR is great with its 'Exorcist' or 'Owl' mode where you can rotate your line of sight as much as you like and looking behind you is no problem.

In real life you can rototate your head about 45°, your shoulders another 45°, then your eyes  45°, and in your peripheral vision you might be able to see what is directly behind you.
However, VR has a basic limitation. The VR headset I use (Rift S) says it has an 88° field of view, so eye movement and peripheral vision will only give 44° for a total of 134°  from straight ahead, and no chance of seeing anything directly behind.

 

So,as it is not considered unrealistic to use the 'Look Back'  feature in TrackIR , let's have something similar for us poor VR users  - a 'Look Back' snap view!
Like this: (It is called with LSHFT + F4 keybind to a HOTAS button and/or a Voice Attack command).

Screen_210105_170820.png
 All it needs is to modify 2 lines of lua code so the chase view  looks in the reverse direction from a viewpoint near the pilot's head.
 The hard part is finding the code to modify. Some older aircraft have it in server.lua, but more recent modules have it in
 C:\Program Files\Eagle Dynamics\DCS World\CoreMods\aircraft
and the  WWII aircraft have it  in
 C:\Program Files\Eagle Dynamics\DCS World\CoreMods\WWII Units

 For the P-51D go down to line 1469 and find in the  ViewSettings section

            Chase = {
                LocalPoint    = {0.200, -0.652, -0.650},
                AnglesDefault = {0.0, 0.0},
            }, -- Chase
            Arcade = {
                LocalPoint    = {-21.500, 5.618, 0.000},
                AnglesDefault = {0.0, -8.0},
            }, -- Arcade
       
and modify the numbers in the second and third lines to be .    

            Chase = {
                LocalPoint        = {2.000000,0.80000,0.000000},        -- (forward/back, up/down, left/right) relative to AngleDefault
                AnglesDefault   = {180.000000,0.000000},                  -- (left right, up/down)  relative to aircraft longitudinal axis fwd
            }, -- Chase
            Arcade = {
                LocalPoint    = {-21.500, 5.618, 0.000},
                AnglesDefault = {0.0, -8.0},
            }, -- Arcade
    
Modifying this file will work, but you will lose the changes with any update or repair.
The proper way is to make a copy of the file, then modify it and s put it in the saved games folder complete with its subdirectory structure.
In this case it is CoreMods\WWII Units\P-51D.lua.     OVGME is perfect for inserting and removing mods like this.
Here is the OVGME file for anyone who wants to try it on their P-51. It should be the same procedure for other aircraft.

P-51D.lua


Edited by Terry Dactil
fixed typo in path CoreMods\WWII Units\P-51D.lua
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

I'll give that a go for sure. My neck can't take too much dogfighting. Will report back. 

 

Yup, works a treat in the Mustang with OVGME. I'll now have to delve into the Hornet and see if I can replicate.

 

 

 

Thanks for your efforts.....

 

 

 


Edited by oz555

Asus Z790 PLUS WIFI D4, 13700K RTX 4090 FE, M2. HP Reverb G2.

Link to comment
Share on other sites

can you add additional entries to the file, the F-18 data is in Server.lua

SYSTEM SPECS: Hardware Intel Corei7-12700KF @ 5.1/5.3p & 3.8e GHz, 64Gb RAM, 4090 FE, Dell S2716DG, Virpil T50CM3 Throttle, WinWIng Orion 2 & F-16EX + MFG Crosswinds V2, Varjo Aero
SOFTWARE: Microsoft Windows 11, VoiceAttack & VAICOM PRO

YOUTUBE CHANNEL: @speed-of-heat

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to comment
Share on other sites

@Terry DactilIm not sure the path in the saved games is correct, it does not seem to be working; thanks for this btw

SYSTEM SPECS: Hardware Intel Corei7-12700KF @ 5.1/5.3p & 3.8e GHz, 64Gb RAM, 4090 FE, Dell S2716DG, Virpil T50CM3 Throttle, WinWIng Orion 2 & F-16EX + MFG Crosswinds V2, Varjo Aero
SOFTWARE: Microsoft Windows 11, VoiceAttack & VAICOM PRO

YOUTUBE CHANNEL: @speed-of-heat

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to comment
Share on other sites

36 minutes ago, speed-of-heat said:

can you add additional entries to the file, the F-18 data is in Server.lua

Not additional entries, just alter the existing ones and and it should work. The hard part is finding the location of the chase view code and then setting a good position to look from. Lots of stuff in the cockpit wanted to get in the way.   So far the only other one I have done is the TF-51.

I'm hoping others will have a fiddle with the code for other aircraft and publish their results here.


Edited by Terry Dactil
Link to comment
Share on other sites

Nope 😞 that doesnt seem to work either ?  when i press LShift F4 i get a view from under the radiator cowling 

SYSTEM SPECS: Hardware Intel Corei7-12700KF @ 5.1/5.3p & 3.8e GHz, 64Gb RAM, 4090 FE, Dell S2716DG, Virpil T50CM3 Throttle, WinWIng Orion 2 & F-16EX + MFG Crosswinds V2, Varjo Aero
SOFTWARE: Microsoft Windows 11, VoiceAttack & VAICOM PRO

YOUTUBE CHANNEL: @speed-of-heat

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to comment
Share on other sites

it definitely works (ish) in the dcs world folder, i say "ish", because it cycles through available p51 views , so if there are two p51's available pressing LSHFT-F4 twice will get you the rear view of a different aircraft ... maybe try modifying a snap view ?


Edited by speed-of-heat

SYSTEM SPECS: Hardware Intel Corei7-12700KF @ 5.1/5.3p & 3.8e GHz, 64Gb RAM, 4090 FE, Dell S2716DG, Virpil T50CM3 Throttle, WinWIng Orion 2 & F-16EX + MFG Crosswinds V2, Varjo Aero
SOFTWARE: Microsoft Windows 11, VoiceAttack & VAICOM PRO

YOUTUBE CHANNEL: @speed-of-heat

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to comment
Share on other sites

5 minutes ago, speed-of-heat said:

it definitely works (ish) in the dcs world folder, i say "ish", because it cycles through available p51 views , so if there are two p51's available pressing LSHFT-F4 twice will get you the rear view of a different aircraft ...

That would be normal for repeated key presses.

I use Voice attack so that press and hold a hotas button gives me the rear view until the button is released and it goes back to normal view.

 

When I press joystick2 button 17

the result is...

Press Left Shift+F4 keys and hold  for 0.3 seconds and release
Start Loop While :  Joystick 2 Button 17 Is Pressed
    Loop Continue
End Loop
Press F1 key and hold for 0.3 seconds and release

 

Link to comment
Share on other sites

1 hour ago, speed-of-heat said:

it definitely works (ish) in the dcs world folder, i say "ish", because it cycles through available p51 views , so if there are two p51's available pressing LSHFT-F4 twice will get you the rear view of a different aircraft ... maybe try modifying a snap view ?

 

I don't see the problem. LSHFT-F4 to look back, F1 to return to forward facing. 

Asus Z790 PLUS WIFI D4, 13700K RTX 4090 FE, M2. HP Reverb G2.

Link to comment
Share on other sites

13 minutes ago, oz555 said:

I don't see the problem. LSHFT-F4 to look back, F1 to return to forward facing. 

If You run VoiceAttack (or RS Mapper for that matter) you can map LSIFT+F4 to the depression of a button (HOTAS hat in my case) and F1 to that button's release, giving you a quick lookback and return to cockpit view when you release the button. Works really well for me..at least in the A-10C where LSHIFT+F4 gives you a view looking directly back over the tail.

RYZEN 5900X | 32GB | ASUS Strix RTX3090 | 500GB NVMe OS 1000GB NVMe DCS | Warthog HOTAS | HP Reverb G2 | VA & ViacomPRO

My DCS Apps:    Radio KAOS for DCS      KB Quick - Quick and Easy Kneeboards

Link to comment
Share on other sites

33 minutes ago, oz555 said:

I don't see the problem. LSHFT-F4 to look back, F1 to return to forward facing. 

because you are very likely to press it twice by mistake 

SYSTEM SPECS: Hardware Intel Corei7-12700KF @ 5.1/5.3p & 3.8e GHz, 64Gb RAM, 4090 FE, Dell S2716DG, Virpil T50CM3 Throttle, WinWIng Orion 2 & F-16EX + MFG Crosswinds V2, Varjo Aero
SOFTWARE: Microsoft Windows 11, VoiceAttack & VAICOM PRO

YOUTUBE CHANNEL: @speed-of-heat

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to comment
Share on other sites

I don't really have an issue with looking back, I think a button view would be a bit nauseating! I always thought it was kind of realistic as it is - I mean a pilot under G with helmet and full flight gear plus seat straps probably isn't going to be able to get that far around anyway (certainly not 180)

  • Like 1
Link to comment
Share on other sites

I have been testing things and shifting between various missions in both Open Beta and Stable.

I am now getting instances where the main program is not using the Saved Games (modified) file and the view is now that strange one looking forward from the left wing root.

Until we find the cause (it may be the large file size for a mod) all I can suggest is to just make the changes in the main file in CoreMods.

Link to comment
Share on other sites

yes that was my experience sort of looking forward under the engine exhausts 

SYSTEM SPECS: Hardware Intel Corei7-12700KF @ 5.1/5.3p & 3.8e GHz, 64Gb RAM, 4090 FE, Dell S2716DG, Virpil T50CM3 Throttle, WinWIng Orion 2 & F-16EX + MFG Crosswinds V2, Varjo Aero
SOFTWARE: Microsoft Windows 11, VoiceAttack & VAICOM PRO

YOUTUBE CHANNEL: @speed-of-heat

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to comment
Share on other sites

the hornet file seems to be:

 

...\Eagle Dynamics\DCS World Openbeta\Mods\aircraft\FA-18C\Views.lua

SYSTEM SPECS: Hardware Intel Corei7-12700KF @ 5.1/5.3p & 3.8e GHz, 64Gb RAM, 4090 FE, Dell S2716DG, Virpil T50CM3 Throttle, WinWIng Orion 2 & F-16EX + MFG Crosswinds V2, Varjo Aero
SOFTWARE: Microsoft Windows 11, VoiceAttack & VAICOM PRO

YOUTUBE CHANNEL: @speed-of-heat

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to comment
Share on other sites

On 1/6/2021 at 10:54 AM, Hoirtel said:

I don't really have an issue with looking back, I think a button view would be a bit nauseating! I always thought it was kind of realistic as it is - I mean a pilot under G with helmet and full flight gear plus seat straps probably isn't going to be able to get that far around anyway (certainly not 180)

Agreed it is more realistic as is, but the issue is we are at a huge disadvantage compared to TrackIR users and their Exorcist views!

  • Like 1

Intel i7 12700K · MSI Gaming X Trio RTX 4090 · ASUS ROG STRIX Z690-A Wi-Fi · MSI 32" MPG321UR QD · Samsung 970 500Gb M.2 NVMe · 2 x Samsung 850 Evo 1Tb · 2Tb HDD · 32Gb Corsair Vengance 3000MHz DDR4 · Windows 11 · Thrustmaster TPR Pedals · Tobii Eye Tracker 5 · Thrustmaster F/A-18 Hornet Grip · Virpil MongoosT-50CM3 Base · Virpil Throttle MT-50 CM3 · Virpil Alpha Prime Grip · Virpil Control Panel 2 · Thrustmaster F-16 MFDs · HTC Vive Pro 2 · Total Controls Multifunction Button Box

Link to comment
Share on other sites

If you use SteamVR, you should have a look here :

 

Or far far far better here : https://forum.il2sturmovik.com/topic/67985-simple-tool-to-check-your-six/

You should have set a seated space with WMR to make the second tool work with the Reverb...


Edited by lefuneste01
  • Like 1

P8700K @4.8 GHz, 3080ti, 32 GB RAM, HP reverb Pro.

I spend my time making 3dmigoto VR mods for BoS and DCS instead of flying, see https://www.patreon.com/lefuneste

Link to comment
Share on other sites

Hmm, good find.  I tried it, and although the autorotate does jump 30 degrees in a turn, it also jumps up. So, the return to straight ahead gives you a view on top of the cockpit till a re-center VR button is pressed. Weird.

Intel i7 12700K · MSI Gaming X Trio RTX 4090 · ASUS ROG STRIX Z690-A Wi-Fi · MSI 32" MPG321UR QD · Samsung 970 500Gb M.2 NVMe · 2 x Samsung 850 Evo 1Tb · 2Tb HDD · 32Gb Corsair Vengance 3000MHz DDR4 · Windows 11 · Thrustmaster TPR Pedals · Tobii Eye Tracker 5 · Thrustmaster F/A-18 Hornet Grip · Virpil MongoosT-50CM3 Base · Virpil Throttle MT-50 CM3 · Virpil Alpha Prime Grip · Virpil Control Panel 2 · Thrustmaster F-16 MFDs · HTC Vive Pro 2 · Total Controls Multifunction Button Box

Link to comment
Share on other sites

5 hours ago, imacken said:

Agreed it is more realistic as is, but the issue is we are at a huge disadvantage compared to TrackIR users and their Exorcist views!

Yeah I suppose. I never mastered BFM with trackir just couldn't manage twisting my head while still staring at the screen. Plus I lost all sense of direction and spatial awareness pretty quickly! 😂

  • Like 1
Link to comment
Share on other sites

  • Terry Dactil changed the title to Do you want a VR lookback view?
17 hours ago, imacken said:

Hmm, good find.  I tried it, and although the autorotate does jump 30 degrees in a turn, it also jumps up. So, the return to straight ahead gives you a view on top of the cockpit till a re-center VR button is pressed. Weird.

 

The VRNeckSafer is still WIP for DCS, but I'm confident J2_NobiWan will make it work soon. But in the meantime you can use the first solution (with OVRAS), even if a bit complicated it works flawlessly.

P8700K @4.8 GHz, 3080ti, 32 GB RAM, HP reverb Pro.

I spend my time making 3dmigoto VR mods for BoS and DCS instead of flying, see https://www.patreon.com/lefuneste

Link to comment
Share on other sites

I personally have no desire for a snap look back view in VR.

I won't begrudge those that do either.

Don B

EVGA Z390 Dark MB | i9 9900k CPU @ 5.1 GHz | Gigabyte 4090 OC | 64 GB Corsair Vengeance 3200 MHz CL16 | Corsair H150i Pro Cooler |Virpil CM3 Stick w/ Alpha Prime Grip 200mm ext| Virpil CM3 Throttle | VPC Rotor TCS Base w/ Alpha-L Grip| Point Control V2|Varjo Aero|

Link to comment
Share on other sites

On 1/7/2021 at 7:08 PM, imacken said:

Hmm, good find.  I tried it, and although the autorotate does jump 30 degrees in a turn, it also jumps up. So, the return to straight ahead gives you a view on top of the cockpit till a re-center VR button is pressed. Weird.

 

Nobiwan has just fixed this for DCS. I've just tried his latest DCS test version and it works perfectly, both the buttoned and autorotate.

 

It seems to be vital to map the "reset" button and press that first, otherwise the jump up occurs. Once it's been reset however, everything works and no further resets required.

 

Tested on the Viper and A10C this morning. New DCS version is towards the end of his thread.

 

Oh, my start up sequence had to be: WMR -> Steam VR then open a desktop window and run VRNeckSafer, then DCS. It wouldn't run before Steam VR loaded.

RYZEN 5900X | 32GB | ASUS Strix RTX3090 | 500GB NVMe OS 1000GB NVMe DCS | Warthog HOTAS | HP Reverb G2 | VA & ViacomPRO

My DCS Apps:    Radio KAOS for DCS      KB Quick - Quick and Easy Kneeboards

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...