Jump to content

Create your own countermeasure programs - permanent stored!


Recommended Posts

Posted

You know the problem: You fly a mission and the default countermeasure programs are not proper for the mission (task) or you don't like them. You have to change the presets or create new programs. But in both situations, you have to do this in every start up sequence or respawn.

 

 

Finally, I found the file in which the default programs are stored.

 

an_ale40v_params.lua

"\Eagle Dynamics\DCS A-10C Beta\Scripts\Aircrafts\A-10C\Cockpit\AN_ALE40V\device\an_ale40v_params.lua"

 

 

programs = {}

-- Old generation radar SAM
programs['A'] = {}
programs['A']["chaff"]  = 2
programs['A']["flare"] = 0
programs['A']["intv"]  = 1.0
programs['A']["cycle"]  = 5

-- Current generation radar SAM
programs['B'] = {}
programs['B']["chaff"]  = 4
programs['B']["flare"] = 0
programs['B']["intv"]  = 0.5
programs['B']["cycle"]  = 5

-- IR SAM
programs['C'] = {}
programs['C']["chaff"] = 0
programs['C']["flare"]  = 4
programs['C']["intv"]  = 0.5
programs['C']["cycle"] = 5

--  Default manual presets
-- Mix 1
programs['D'] = {}
programs['D']["chaff"]  = 1
programs['D']["flare"] = 2
programs['D']["intv"]  = 1.0
programs['D']["cycle"]  = 3

-- Mix 2
programs['E'] = {}
programs['E']["chaff"] = 2
programs['E']["flare"]  = 2
programs['E']["intv"]  = 0.5
programs['E']["cycle"] = 8

--  Mix 3
programs['F'] = {}
programs['F']["chaff"] = 4
programs['F']["flare"]  = 4
programs['F']["intv"]  = 1.0
programs['F']["cycle"] = 10

--  Mix 4
programs['G'] = {}
programs['G']["chaff"] = 4
programs['G']["flare"]  = 4
programs['G']["intv"]  = 0.5
programs['G']["cycle"] = 10

--  Chaff single
programs['H'] = {}
programs['H']["chaff"] = 1
programs['H']["flare"]  = 0
programs['H']["intv"]  = 1.0
programs['H']["cycle"] = 1

--  Chaff pair
programs['I'] = {}
programs['I']["chaff"] = 2
programs['I']["flare"]  = 0
programs['I']["intv"]  = 1.0
programs['I']["cycle"] = 1

--  Flare single
programs['J'] = {}
programs['J']["chaff"] = 0
programs['J']["flare"]  = 1
programs['J']["intv"]  = 1.0
programs['J']["cycle"] = 1

--  Flare pair
programs['K'] = {}
programs['K']["chaff"] = 0
programs['K']["flare"]  = 2
programs['K']["intv"]  = 1.0
programs['K']["cycle"] = 1

--  Chaff pre-empt
programs['L'] = {}
programs['L']["chaff"] = 1
programs['L']["flare"]  = 0
programs['L']["intv"]  = 1.0
programs['L']["cycle"] = 20

--  Flare pre-empt
programs['M'] = {}
programs['M']["chaff"] = 0
programs['M']["flare"]  = 1
programs['M']["intv"]  = 1.0
programs['M']["cycle"] = 20

--  N Test Programm
programs['N'] = {}
programs['N']["chaff"] = 6
programs['N']["flare"]  = 6
programs['N']["intv"]  = 1.5
programs['N']["cycle"] = 13

need_to_be_closed  = true -- lua_state  will be closed in post_initialize()

cmsplua.jpg

Presets are available from A-M. Here is my own: program N.

 

 

NOTE:

If you change default programs or create new programs, keep the CMS limitations in mind!

Interval: Inputs in 0.25 sec. steps from 0.25 to 5 seconds.

Cycle: Valid inputs from 1 to 99.

 

 

Advantages:

- Change default programs (faster as in cockpit)

- Create new programs N-Z (faster as in cockpit)

- Permanent stored and loaded at every start up/ respawn

 

 

Hope, that helps anyone.

 

 

kind regards,

Fire

  • Like 12

Hardware: Intel i5 4670K | Zalman NPS9900MAX | GeIL 16GB @1333MHz | Asrock Z97 Pro4 | Sapphire Radeon R9 380X Nitro | Samsung SSDs 840 series 120GB & 250 GB | Samsung HD204UI 2TB | be quiet! Pure Power 530W | Aerocool RS-9 Devil Red | Samsung SyncMaster SA350 24" + ASUS VE198S 19" | Saitek X52 | TrackIR 5 | Thrustmaster MFD Cougar | Speedlink Darksky LED | Razor Diamondback | Razor X-Mat Control | SoundBlaster Tactic 3D Rage ### Software: Windows 10 Pro 64Bit

[sIGPIC][/sIGPIC]

Posted

Thanks.

 

 

kind regards,

fire

Hardware: Intel i5 4670K | Zalman NPS9900MAX | GeIL 16GB @1333MHz | Asrock Z97 Pro4 | Sapphire Radeon R9 380X Nitro | Samsung SSDs 840 series 120GB & 250 GB | Samsung HD204UI 2TB | be quiet! Pure Power 530W | Aerocool RS-9 Devil Red | Samsung SyncMaster SA350 24" + ASUS VE198S 19" | Saitek X52 | TrackIR 5 | Thrustmaster MFD Cougar | Speedlink Darksky LED | Razor Diamondback | Razor X-Mat Control | SoundBlaster Tactic 3D Rage ### Software: Windows 10 Pro 64Bit

[sIGPIC][/sIGPIC]

Posted

Thanks for sharing!

 

Anybody up for a little GUI for this mod? :)

MSI X670E Gaming Plus | AMD Ryzen 7 7800X3D | 64 GB DDR4 | AMD RX 6900 XT | LG 55" @ 4K | Cougar 1000 W | CreativeX G6 | TIR5 | CH HOTAS (with BU0836X-12 Bit) + Crosswind Pedals | Win11 64 HP | StreamDeck XL | 3x TM MFD

Posted

good find ! thank you very much for sharing

 

wbr,

NotiA10

:pilotfly:

NotiA10

 

CoolerMaster HAF RC-932 - Intel Core i7 950 - Arctic Cooling Freezer 7 Pro - Gigabyte GA-X58A-UD3R - Kingston DDR3 6GB - Gigabyte Radeon HD 5870 EF 6 Edition - Western Digital 640GB SATA-III - CoolerMaster 700W - TrackIR Pro 4 - Saitek X52 - Saitek Rudder Pedals - Hotas Warthog

Posted
Thanks for sharing!

 

Anybody up for a little GUI for this mod? :)

 

I would hope that the ability to save CMS settings and weapons profiles will one day be a part of a utility like Modman or something similar.

[sIGPIC][/sIGPIC]

 

Gigabyte GA97XSLI

Core i7 4790 @ 4.0 Ghz

MSI GTX 1080ti

32 Mb RAM DDR3-2133

512GB SSD for DCS

HP Reverb VR HMD

Thrustmaster Warthog & MFG Crosswind

  • 2 weeks later...
Posted
You know the problem: You fly a mission and the default countermeasure programs are not proper for the mission (task) or you don't like them. You have to change the presets or create new programs. But in both situations, you have to do this in every start up sequence or respawn.

 

Yeap, exactly the same a real pilot has to do every single time he flies a mission. Like starting engines or starting radios or setting autopilot as desired.

 

If we were asking for a simulator as real as it gets I prefer to keep it real, not to revert AGAIN it to an arcade game.

 

Anyway, many thx for sharing.

Cruz de San Andres

First learn to fly. Then learn to fight.

 

[sIGPIC]www.cruzdesanandres.com[/sIGPIC]

Posted

But in modern jets, like the Eurofighter Typhoon, the pilot can do this in the mission planning room. He can save that settings on his data cartridge and in the jet, he have to push a button and load all settings in a few seconds. :smilewink:

 

By the way, I don't think that such default settings are proper all the time and in every mission.

But with that file or with the editor by JAG, you can do such things in the same time, you get briefed. That has nothing to do with Arcade, IMO. ;)

 

 

kind regards,

Fire

Hardware: Intel i5 4670K | Zalman NPS9900MAX | GeIL 16GB @1333MHz | Asrock Z97 Pro4 | Sapphire Radeon R9 380X Nitro | Samsung SSDs 840 series 120GB & 250 GB | Samsung HD204UI 2TB | be quiet! Pure Power 530W | Aerocool RS-9 Devil Red | Samsung SyncMaster SA350 24" + ASUS VE198S 19" | Saitek X52 | TrackIR 5 | Thrustmaster MFD Cougar | Speedlink Darksky LED | Razor Diamondback | Razor X-Mat Control | SoundBlaster Tactic 3D Rage ### Software: Windows 10 Pro 64Bit

[sIGPIC][/sIGPIC]

  • Recently Browsing   0 members

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