Jump to content

Recommended Posts

Posted

Can it be done? I know there are some lua files that can be packaged into a mission (e.g. ARK.lua), and this one would be really helpful because it lets us link up Ka-50 frequencies with one of the A-10C radios.

 

On a related note, is there a list of which lua files we can pack directly into the mission?

Posted (edited)

yes, it can be added like the ark-22 file.

 

I edited my r-828.lua with the frequencies I found a TARS info thread. Have not tested it.

Edited by JG14_Smil
  • 4 weeks later...
Posted

Seems like it. I can't get it to work either. It really ought to and being able to customise the R-828 frequencies would do a lot for integrating the KA-50 with the other aircraft. This is especially true if the functionality to add menu items to the radio menu worked in multi-player.

 

Failing that, could ED at least issue a standard R_828.lua with all 10 frequencies specified so I don't have to keep replacing it every time a new version is released?

  • 3 weeks later...
Posted

Not to revive a weeks-old thread, but I'm now having troubles with ARK.lua. Where exactly in the .miz file is it supposed to go? I've tried in the root and in \ARK, but nothing seems to work! Anyone?

  • 3 months later...
Posted (edited)

Time to revive this thread again. Have we figured out where to put ark.lua in .miz files recently? It seems to have changed. The closest I've gotten to an answer is bad_crc's post, but I still can't get the darned thing working. Anyone else have any luck?

 

Edit: Nevermind, it's still the same path as before. I was using the wrong ARK.lua file and trying to figure out why my personal airfields weren't appearing. Stupid PEBKAC error.

Edited by seikdel
I'm dumb and I found my own answer
Posted (edited)

function Load_ADF_State()

local f1 = load_mission_file(Scripts/Aircrafts/ka-50/Cockpit/ARK/ARK.lua")

if not f1 then

f1 = copy_to_mission_and_get_buffer(LockOn_Options.script_path.."ARK/ARK.lua")

end

if f1 ~= nil then

setfenv(f1,getfenv(airdrome_homer))

f1()

end

end

 

Above are the lines that check for an pre-loaded ARK.lua file. These are found in ...\device specs\ark.lua file. My guess is the R-828 would need a similar setup for it to be added to a miz file and usable.

Edited by JG14_Smil
Posted

I think you may need to supply your R-828.lua to your squad mates that will be using your mission if it is that important. Just save the file in the proper folders and it is JGSME ready.

  • Recently Browsing   0 members

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