Jump to content

Enable Editing Of Default DED HARM Tables Via A Lua File


Bailey

Recommended Posts

I would hope to see that the default HARM tables can be edited via a lua file, similar to how you can edit RWR definitions (M2000) and CMS programs (F-18 and F-16). Enabling a feature like this will enable players to create custom HARM Table profiles that they can edit while mission planning, for example. I have already created a tool to help assist players make their own HARM tables. All it needs is to be able to access the data in some manner. (Please let me know if there is already a way to do so.) Here is a link to the CMS Editor. https://forums.eagle.ru/showthread.php?t=281284

 

And a preview of what I intend to do if we can pre-plan HARM Tables:

 

2e2yhfb.jpg

 

If HARM Tables can be set via the "Data Cartridge", this is intended as a temporary solution until ED can implement the feature in DCS. If HARM Tables can not be set via the "Data Cartridge", then this feature can be a more permeant solution to improve the DCS F-16 experience.

Example below:

 

dofile(LockOn_Options.common_script_path.."luaMagic.lua")

-- Default presets
-- Table 1
Table[T1] = 
{
   {T1,"101"},
   {T2,"102"},
   {T3,"103"},
   {T4,"104"},
   {T5,"105"},
}

-- Table 2
Table[T2] = 
{
   {T1,"201"},
   {T2,"202"},
   {T3,"203"},
   {T4,"204"},
   {T5,"205"},
}

-- Table 3
Table[T3] = 
{
   {T1,"301"},
   {T2,"302"},
   {T3,"303"},
   {T4,"304"},
   {T5,"305"},
}

--AGM-88 Threats Table
-- Source: DCS 2.5.6.55363 Open Beta Change Log <https://docs.google.com/spreadsheets/d/1p77yaLQJaUMbAIKJDKX5iMN5N5qm_Qqt_dJNyJjLQtw/edit#gid=0>

--[ Display Name, RWR, DED ID, Default Threat Table]
--[ EWR 1L13 , , S , 101 ,  ]
--[ EWR 55G6 , , S , 102 ,  ]
--[ SAM SA-10 S-300PS SR 5N66M , , CS , 103 , 1 ]
--[ SAM SA-10 S-300PS SR 64H6E , , BB , 104 , 1 ]
--[ SAM SA-11 Buk SR 9S18M1 , , SD , 107 , 1 ]
--[ SAM SA-6 Kub STR 1S91 , , 6 , 108 , 3 ]
--[ CP 9S80M1 Sborka , , DE , 109 , 2 ]
--[ SAM SA-10 S-300PS TR 30N6 , , 10 , 110 , 1 ]
--[ SAM SA-11 Buk LN 9A310M1 , , 11 , 115 , 1 ]
--[ SAM SA-8 Osa 9A33 , , 8 , 117 , 2 ]
--[ SAM SA-13 Strela-10M3 9A35M3 , , 13 , 118 , 3 ]
--[ SAM SA-15 Tor 9A331 , , 15 , 119 , 2 ]
--[ SAM SA-19 Tunguska 2S6 , , 19 , 120 , 2 ]
--[ AAA ZSU-23-4 Shilka , , A , 121 , 2 ]
--[ SAM SR P-19 , , S , 122 , 3 ]
--[ SAM SA-3 S-125 TR SNR , , 3 , 123 , 3 ]
--[ Rapier FSA Blindfire Tracker , , RP , 124 ,  ]
--[ Rapier FSA Launcher , , RT , 125 ,  ]
--[ SAM SA-2 TR SNR-75 Fan Song , , 2 , 126 , 3 ]
--[ SAM Roland ADS , , RO , 201 ,  ]
--[ SAM Patriot STR AN/MPQ-53 , , P , 202 ,  ]
--[ SAM Hawk SR AN/MPQ-50 , , HK , 203 ,  ]
--[ SAM Hawk TR AN/MPQ-46 , , HK , 204 ,  ]
--[ SAM Roland SR , , RO , 205 ,  ]
--[ SAM Hawk CWAR AN/MPQ-55 , , HK , 206 ,  ]
--[ AAA Gepard , , A , 207 ,  ]
--[ AAA Vulcan M163 , , A , 208 ,  ]
--[ CV 1143.5 Admiral Kuznetsov , , SW , 301 ,  ]
--[ CV 1143.5 Admiral Kuznetsov(2017) , , SW , 320 ,  ]
--[ CG 1164 Moskva , , T2 , 303 ,  ]
--[ FFL 1124.4 Grisha , , HP , 306 ,  ]
--[ FF 1135M Rezky , , TP , 309 ,  ]
--[ FSG 1241.1MP Molniya , , PS , 312 ,  ]
--[ CGN 1144.2 Piotr Velikiy , , HN , 313 ,  ]
--[ Ticonderoga class , , AE , 315 ,  ]
--[ FFG 11540 Neustrashimy , , TP , 319 ,  ]
--[ Oliver Hazzard Perry class , , 49 , 401 ,  ]
--[ CVN-70 Carl Vinson , , SS , 402 ,  ]
--[ CVN-71 Theodore Roosevelt , , SS , 403 ,  ]
--[ CVN-72 Abraham Lincoln , , SS , 404 ,  ]
--[ CVN-73 George Washington , , SS , 405 ,  ]
--[ CVN-74 John C. Stennis , , SS , 406 ,  ]
--[ LHA-1 Tarawa , , 40 , 407 ,  ]

  • Like 2
Link to comment
Share on other sites

If most options could be set externally via lua files or DCS backdoor, I'm pretty sure a talented lad like Bailey would quickly release his third party DTC app. It's just a matter of ED giving us the tools.

 

Haha, if the DTC becomes temporally available via Lua, I just might have to rename "DCS CMS Editor" to "DCS DTC Editor" :D

Maybe one day!

Link to comment
Share on other sites

  • 3 months later...

Sure. This would be awesome. I love the CMS Editor. Thanks Baile and i hope ED will enable it. Your program will be SRS equivalent for CMS in the near future, im sure! 
Thanks for the program nevertheless.

  • Like 1

Im so happy that I found DCS, the free time i might have had - gone :suspect:

Link to comment
Share on other sites

On 12/31/2020 at 9:01 PM, Florence201 said:

Why wouldn’t you do this as part of start up through the HARM DED page as per RL?

 

Probably to better approximate DTC functionlity, which presumably would also contain desired threat tables for the ALIC. In a similar fashion to how countermeasures are set-up; you can change the defaults in a .lua file under Mods -> aircraft -> F-16 -> Cockpit -> Scripts -> EWS -> CMDS -> CMDS_ALE47.lua

 

This allows you to make multiple copies with multiple default programs, just replace it with whatever you want before the mission and bingo you can approximate loading the CMDS profile as you would with the DTC/DTE.

Modules I own: F-14A/B, Mi-24P, AV-8B N/A, AJS 37, F-5E-3, MiG-21bis, F-16CM, F/A-18C, Supercarrier, Mi-8MTV2, UH-1H, Mirage 2000C, FC3, MiG-15bis, Ka-50, A-10C (+ A-10C II), P-47D, P-51D, C-101, Yak-52, WWII Assets, CA, NS430, Hawk.

Terrains I own: South Atlantic, Syria, The Channel, SoH/PG, Marianas.

System:

GIGABYTE B650 AORUS ELITE AX, AMD Ryzen 5 7600, Corsair Vengeance DDR5-5200 32 GB, Western Digital Black SN850X 1 TB (DCS dedicated) & 2 TB NVMe SSDs, Corsair RM850X 850 W, NZXT H7 Flow, MSI G274CV.

Peripherals: VKB Gunfighter Mk.II w. MCG Pro, MFG Crosswind V3 Graphite, Logitech Extreme 3D Pro.

Link to comment
Share on other sites

  • 1 month later...

I want to express my support for Bailey's efforts on this wonderful program! I too would love to see ED allow this to be implemented. While DTC support is great for Single Player, this tool that Bailey has created is amazing for those of us who primarily fly Multiplayer in that it allows us to predefine custom CMS programs and ALIC tables for the threats we expect on our preferred servers. Sure, we can edit them in cockpit but what is the "HARM" in letting us setup our ALIC tables beforehand? 

  • Like 1

i7-7700K @ 5.2Ghz

SLI 1080Ti

64GB GSkill Trident Z RGB 4133

Asus Maximus IX Extreme

Custom Water Cooling Loop

TM Warthog/ MFG Crosswind

Link to comment
Share on other sites

On 2/12/2021 at 1:59 PM, CrimsonGhost said:

I want to express my support for Bailey's efforts on this wonderful program! I too would love to see ED allow this to be implemented. While DTC support is great for Single Player, this tool that Bailey has created is amazing for those of us who primarily fly Multiplayer in that it allows us to predefine custom CMS programs and ALIC tables for the threats we expect on our preferred servers. Sure, we can edit them in cockpit but what is the "HARM" in letting us setup our ALIC tables beforehand? 

I think you've misunderstood the DTC since you say it's great for single player but not for multiplayer. If the DTC is properly implemented you will have the same functionality as you do now with baileys times a hundred. Don't get me wrong, I use Baileys as well. But native DTC support would allow for setting pretty much everything you can think of avionics wise unlike now when we pretty much only have preset CMS. And you'd be able to have multiple preset DTC settings and just choose which one to use right before the mission.

-Col. Russ Everts opinion on surface-to-air missiles: "It makes you feel a little better if it's coming for one of your buddies. However, if it's coming for you, it doesn't make you feel too good, but it does rearrange your priorities."

 

DCS Wishlist:

MC-130E Combat Talon   |   F/A-18F Lot 26   |   HH-60G Pave Hawk   |   E-2 Hawkeye/C-2 Greyhound   |   EA-6A/B Prowler   |   J-35F2/J Draken   |   RA-5C Vigilante

Link to comment
Share on other sites

On 9/27/2020 at 5:39 PM, Alpiinoo said:

Good job,

 

Actually it would be better if we set it from the mission editor or planner like a data cartridge(DTC). And officially.

 

Agreed. What I propose is only to hold us over until the official DTC is implemented. ED has said that the DTC is going to take a while bc collaboration with other devs must be done. 

Link to comment
Share on other sites

+1

Well, the DTC Function by ED was announced in February 2019 and we never saw anything since. So i guess we will wait for a lot longer.

 

Even with the DTC function properly implemented, we still have lua files with all settings saved. And I hope those will continue to be editable from outside the game. Because the first "DTC" draft from Fev 2019 looks as intuitive as the rest of the User Interface.

Im a fan of external programms, sorry 😇.


Edited by Gruman

Intel I9 10900k @5.1GHz | MSI MEG Z490 Unify | Corsair Vengeance 64GB - 3600MHz | EVGA RTX 3090 FTW3
VPC T-50 Base /w Viper & Hornet Grip | VPC Rotor TCS Pro w/ Hawk-60 Grip | TM TPR
LG C2 42" | Reverb G2 | TIR 5 | PointCtrl | OpenKneeboard

Link to comment
Share on other sites

  • Recently Browsing   0 members

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