seikdel Posted February 9, 2013 Posted February 9, 2013 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?
JG14_Smil Posted February 10, 2013 Posted February 10, 2013 (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 February 10, 2013 by JG14_Smil
Puddlemonkey Posted February 10, 2013 Posted February 10, 2013 Hi, I tried this and it didn't work. Could someone post a .miz with it working please so I can work out where I went wrong? Thanks PM
JG14_Smil Posted February 10, 2013 Posted February 10, 2013 (edited) How will I know if it is working? What doesn't work? What did you do? Edited February 10, 2013 by JG14_Smil
JG14_Smil Posted February 11, 2013 Posted February 11, 2013 Page 56 of the BS GUI manual has a list of files that are affected by the Prepare session in the ME.
seikdel Posted February 11, 2013 Author Posted February 11, 2013 Aha, yeah, it looks like R-828.lua isn't amongst the files saved in the prepare mission thing. Perhaps that's why this isn't working?
Puddlemonkey Posted March 8, 2013 Posted March 8, 2013 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?
seikdel Posted March 28, 2013 Author Posted March 28, 2013 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?
JG14_Smil Posted March 28, 2013 Posted March 28, 2013 Hello, Post #20 http://forums.eagle.ru/showthread.php?t=99717&page=2 1
seikdel Posted July 2, 2013 Author Posted July 2, 2013 (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 July 2, 2013 by seikdel I'm dumb and I found my own answer
JG14_Smil Posted July 2, 2013 Posted July 2, 2013 (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 July 2, 2013 by JG14_Smil
JG14_Smil Posted July 2, 2013 Posted July 2, 2013 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.
Recommended Posts