Jump to content

F10 Menu Sub catergories


Recommended Posts

It can be done, but it isnt simple to explain.. I once did a Mission to practice flight emergencies, where I used a two level F10 menu, this was the top level where I grouped the emergencies by type:

 

KVlfz42.jpg

 

For example if you selected Electrical failures, then the menu was rebuilt with these options:

 

Rnr3uyK.jpg

 

Download the mission to take a look at how the triggers work, even if you dont own this plane you can still see it on the editor:

 

https://www.digitalcombatsimulator.com/en/files/3307050/

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia GTX1070ti - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar - Oculus Rift CV1

Mobile: iPad Pro 12.9" of 256 GB

Link to comment
Share on other sites

It can be done, but it isnt simple to explain.. I once did a Mission to practice flight emergencies, where I used a two level F10 menu, this was the top level where I grouped the emergencies by type:

 

KVlfz42.jpg

 

For example if you selected Electrical failures, then the menu was rebuilt with these options:

 

Rnr3uyK.jpg

 

Download the mission to take a look at how the triggers work, even if you dont own this plane you can still see it on the editor:

 

https://www.digitalcombatsimulator.com/en/files/3307050/

 

Thank you, I tried to pick out from other mission but there were way too many triggers to decipher what one was the one I needed. I'll check it out thanks!

Link to comment
Share on other sites

Thank you, I tried to pick out from other mission but there were way too many triggers to decipher what one was the one I needed. I'll check it out thanks!

 

It is unfortunate that the DCS triggers have no facilities for commenting the code, it can make for hard to read code. These are some design notes that I did for this mission, not much but may be helpful:

 

Flag 11: Show Main Menu
Flag 21: Clear Main Menu

1 Electrical: Flag 2=1 Show Menu; Flag 22: Clear menu

11 Generator Failure
12 Starter Failure
13 Batteries Failure
14 Inverters Failure (Both)
15 Normal Inverter Failure
16 Standby Inverter Failure

2 Engine: Flag 2=2 Show Menu; Flag 23: Clear menu

21 Engine Flameout w/o Relight
22 Engine Flameout with Relight
23 Engine Seized
24 Engine anti-ice Failure
25 Engine Computer Fail (manual mode)
26 Failure of Auto & Manual Modes (back-up mode)

3 Systems: Flag 2=3 Show Menu; Flag 24: Clear menu

31 Oil Pressure Drop
32 Chip in Oil
33 Fuel Leak
34 Hydraulic Leak

4 Flight Control: Flag 2=4 Show Menu; Flag 25: Clear Menu

41 Elevator Loss
42 Aileron Loss
43 Rudder Loss
44 Pitch Trim Runaway - Nose Up
45 Pitch Trim Runaway - Nose Down
46 Control Stick pitch trim switch
47 Control Stick aileron trim switch
48 Rudder trim failure
49 Airbrake autotrim cutout malfunction

5 Landing Gear/Flaps: Flag 2=5 Show menu  Flag 26: Clear menu

51 Left Gear extension Fault
52 Right Gear extension Fault
53 Nose Gear extension Fault
54 Left Gear retraction Fault
55 Right Gear retraction Fault
56 Nose Gear retraction Fault
57 Flaps fault

6 Instruments:

61 Pitot tube blocked
62 Static Port blocked
63 ILS receiver GS signal fail
64 ILS receiver LOC signal fail
65 VOR receiver nav signal fail
66 DME signal fail
67 ADF receiver indication fail
68 Radio altimeter signal fail
69 Gunsight lamps failure

7 Other:

71 Explosive depressurization

 

:thumbup:

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia GTX1070ti - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar - Oculus Rift CV1

Mobile: iPad Pro 12.9" of 256 GB

Link to comment
Share on other sites

For functional sub-menus you have to use scripts.

 

https://wiki.hoggitworld.com/view/DCS_func_addSubMenu

 

And then create the menu items or more sub menues.

 

https://wiki.hoggitworld.com/view/DCS_func_addCommand

The right man in the wrong place makes all the difference in the world.

Current Projects: Scripting Wiki, Something...

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread), SLMOD, IADScript, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

you should give a try to ATME encapsulated script engine, really easy to do menu and submenu.

[sIGPIC][/sIGPIC]

all my skins :

here

 

Core i7-4790 @ 3.6- 4GHz - 16GB

- nVidia RTX 2070 - 2xSSD -

GRANDIN TV screen 39" in 1920x1080 cockpit scale 1:1

- MS FFB2 Joystick

- DIY MIDI Throttle with 14 analogic sliders and knobs

- Saitek Pro Flight Rudder Pedals

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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