Jump to content

Recommended Posts

Posted

Hey Guys,

I found the .lua file that controls the Hornet's CMS profiles and created a copy with values that I think are more functional than what the defaults are. I created a JGSME directory in my _MODS folder and installed the modified file. When I loaded up the sim to test it, the profiles were different from what the defaults were, but they weren't the values I specified. They were all 2 Chaff, 1 Flare , 10 Cycles (I think), 2.25s interval. I've attached a copy of the .lua file here for reference.

 

I'm not sure where I went wrong here. Has anyone done this successfully yet or is this an EA bug?

CMDS_ALE47.lua

537 Mongo
CO vVF-161 Fightin' Stingrays
Check us out on the web!

Posted

What have you used to edit the .lua?

" You must think in russian.."

[sIGPIC][/sIGPIC]

 

Windows 7 Home Premium-Intel 2500K OC 4.6-SSD Samsung EVO 860- MSI GTX 1080 - 16G RAM - 1920x1080 27´

 

Hotas Rhino X-55-MFG Crosswind Rudder Pedals -Track IR 4

Posted

I only looked through the file but you're missing a "0" for chaff in prog 3:

 

 

-- MAN 3 WVR Flares

programs[ProgramNames.MAN_3] = {}

programs[ProgramNames.MAN_3]["chaff"] =

programs[ProgramNames.MAN_3]["flare"] = 1

programs[ProgramNames.MAN_3]["intv"] = 0.25

programs[ProgramNames.MAN_3]["cycle"] = 5

 

 

Perhaps this is causing the issue?

Posted
What have you used to edit the .lua?

 

I use Notepad ++ for that.

 

I only looked through the file but you're missing a "0" for chaff in prog 3:

 

 

-- MAN 3 WVR Flares

programs[ProgramNames.MAN_3] = {}

programs[ProgramNames.MAN_3]["chaff"] =

programs[ProgramNames.MAN_3]["flare"] = 1

programs[ProgramNames.MAN_3]["intv"] = 0.25

programs[ProgramNames.MAN_3]["cycle"] = 5

 

 

Perhaps this is causing the issue?

 

Perhaps. I'll give it a test and see. Also, it looks like this thread has been tagged "Not supported yet", does that mean that it doesn't matter if we alter the .lua files, it won't work until the devs make it so?

537 Mongo
CO vVF-161 Fightin' Stingrays
Check us out on the web!

Posted
Also, it looks like this thread has been tagged "Not supported yet", does that mean that it doesn't matter if we alter the .lua files, it won't work until the devs make it so?

 

 

It may not be officially supported yet, but it does work, at least on my end. Although if you edit the programs in game, it can screw up the timings until you get in a new aircraft. So set it in the .lua then leave the programming DDI page alone.

Posted
I only looked through the file but you're missing a "0" for chaff in prog 3:

 

 

-- MAN 3 WVR Flares

programs[ProgramNames.MAN_3] = {}

programs[ProgramNames.MAN_3]["chaff"] =

programs[ProgramNames.MAN_3]["flare"] = 1

programs[ProgramNames.MAN_3]["intv"] = 0.25

programs[ProgramNames.MAN_3]["cycle"] = 5

 

 

Perhaps this is causing the issue?

 

This was exactly what was causing the issue. The programs all work now. Thanks for the help Mugenjin.

537 Mongo
CO vVF-161 Fightin' Stingrays
Check us out on the web!

  • 4 weeks later...
Posted (edited)

Anybody has a good, done CMDS_ALE47.lua you can post?

I just don't know what's an ok program.

/Thanx

Edited by CoBlue

i7 8700k@4.7, 1080ti, DDR4 32GB, 2x SSD , HD 2TB, W10, ASUS 27", TrackIr5, TMWH, X-56, GProR.

  • Recently Browsing   0 members

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