Jump to content

Adding chaff/flare on existing aircraft? How does the lua code works?


Recommended Posts

Hi

I'm looking to add a third chaff/flare launcher on an existing aircraft. But it won't work. I put additional lines in the lua file but nothing. I couldn't find any explanation. Is there something in the 3D model that defines the number of dispenser? Or is it only the lua files?  I managed to move the exisiting position where i want them to be. 

Another question is how to define how much chaff or flares each can carry? For example i want to have pod 1 with 120 chaffs, pod 2 and 3 with 60 flares each. It really complicated to understand the lua "programming" without  any explanation and/or concrete example.

Thanks for  help

Link to comment
Share on other sites

It appears that most of the mods equipped with dispensers have a weapon system lua created that corresponds with powering up the system. The A-29 mod has countermeasures working with no power on, i tried to edit it for another mod but could never get it working.


Edited by 104th_Money

Intel i9-13900k, Asus Z790-E Gaming Wi-fi 2 motherboard, 64gb Corsair DDR5-6400 RGB ram 2x32gb XMP2 profile, 2TB Crucial T700 PCIE 5.0 SSD internal, 2TB Samsung 980 Pro PCIE 4.0 SSD internal, Asus ROG Strix OC GeForce RTX 4090, Corsair 7000X Case with 5 x 120mm side mounted intake fans and 3 x 140mm top mounted exhaust fans, 1 x 140mm rear mounted exhaust fans, front mounted Corsair H150i Elite Capellix 360mm liquid cooler w/Elite LCD with 6 x 120mm fans in 3 push, 3 pull intake configuration, 2 x 32" Asus 2560x1440 displays, TrackIR5 w/pro clip, Thrustmaster Warthog stick and throttle, CH Fighterstick Pro and Pebble Beach Velocity pedals. 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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