Jump to content

HUD Only View


zaragossa

Recommended Posts

Hello,

forgive me if this has been answered - I can´t find it though...

ALT F1 removes all of the cockpit except the HUD. Can someone tell me how to make this permanent default at startup ?

Maybe somewhere in the snapview.lua ?

 

I´m also trying to find a thread dealing with distributing outside views over a network of pc´s. Could someone provide me with a link ?

 

Thank´s in advance

 

Greetings Zaragossa

Link to comment
Share on other sites

I don't know if it is possible to make the HUD only view the default.

 

There are some discussions around here but the general consensus is that DCS currently provides no way to use multiple computers to generate external views.

 

You might want to look at this thread.

http://forums.eagle.ru/showthread.php?t=90731

ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup:

Link to comment
Share on other sites

I wrote a script for Flim that does exactly this. - Give it a try:

>>> http://forums.eagle.ru/showpost.php?p=1654131&postcount=219

 

But don't copy any files to DCS World unless you want a view that is Fixated a 90° FOV and has a NVG that covers your whole screen.

Use only the files of "Sart_DCS_in_Hud-Only-View"

 

 

And than I also made a AHK macro that switches to 'HUD-Only View' when you press the Pause/Break at your keyboard when you enter the Briefing screen.

 

You will have to copy the Folder 'Start_DCS_in_HUD-Only-View' directly into your drive C .

 

Than you will find in it a 'Start_DCS_in_HUD-Only-View.exe'.

 

This script has to be started before you run the simulation.

The best and most convenient thing is to ad a shortcut of this exe into your "Startup" folder.

This will make sure that the script is "listening" every time you boot the system.

 

Path to your Startup folder :

C:\Users\>your user name<\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

 

 

What this scrip does:

 

It 'listens' to windows and will be ready to start the Macro-sequence once the DCS-simulation process is detected.

 

Than it waits for your input = Brake/Pause key

and it triggers

1.Alt+F1 = HUD only view

2.NumPad5 = Center View

3.NumPadEnter = set to default FOV (90°)

 

Once this macro has done its job- it goes to "sleep" - and only restarts and prepares another launch when it detects that you exit the simulation and run it again.

That is important - so you can use the Pause/Break key again while the simulation is running without to trigger a chain of commands.

 

We can change it later on to another Hot-key and/or a jostick-button.

You can also automate the whole Helios start-up process.

 

For those that are interested - here is the code:

 

 

Start_DCS_in_HUD-Only-View.AHK

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn  ; Recommended for catching common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.


;Process, Close, phantomMonitorFix.exe
;Sleep 100
;Process, Close, phantomMonitorFix.exe
;Sleep 4000
WinActivate, ahk_class DCS

;WinWaitActive, ahk_class DCS
;ifWinExist ahk_class DCS
;Run , C:\Start_DCS_in_HUD-Only-View\phantomMonitorFix.exe

WinWaitActive, ahk_class DCS
ifWinExist ahk_class DCS
WinActivate, ahk_class DCS
MsgBox, 64, ,Don't press the Pause/Break Key until DCS is fully loaded  and the "Fly Button" is visible.                         This message  will disappear in 15 seconds, 15


WinActivate, ahk_class DCS




KeyWait, Pause, D 

sleep 60

Click 200, 200 right  

sleep 60

WinActivate, ahk_class DCS

sleep 60

Sendevent {Pause down}

sleep 60

Sendevent {Pause up}

sleep 60

Run , C:\Start_DCS_in_HUD-Only-View\HUD-Only-Macro.exe



WinWait, ahk_class DCS
WinWaitClose ahk_class DCS
;Process, Close, phantomMonitorFix.exe
;Sleep 100
;Process, Close, phantomMonitorFix.exe
;Sleep 100
;Process, Close, phantomMonitorFix.exe

Run , C:\Start_DCS_in_HUD-Only-View\Start_DCS_in_HUD-Only-View.exe



return

HUD-Only-Macro.AHK

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn  ; Recommended for catching common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.


WinActivate, ahk_class DCS



sleep 60

Sendevent {LAlt down}

sleep 60

Sendevent {F1 down}

sleep 60

Sendevent {F1 up}

sleep 60

Sendevent {LAlt up}

sleep 60

Sendevent {Numpad5 down}

sleep 60

Sendevent {Numpad5 up}

sleep 5000

Sendevent {NumpadEnter down}

sleep 60

Sendevent {NumpadEnter up}

 

 

 

 

Download:

>>> Start_DCS_in_HUD-Only-View.zip


Edited by PeterP

Link to comment
Share on other sites

  • 6 years later...
  • Recently Browsing   0 members

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