FATAL ERROR Posted September 17, 2020 Posted September 17, 2020 (edited) Hello I want to add to some FC3 planes new pods and exists weapons on it, and want to create a custom command bindings for it, with control from my lua (like, message for player before weapon fire). I check how work some smoke-pod mods for f16 and f18, but FC3 planes doesn't have devices.lua and device_init.lua where i can bind to my command name my lua script: devices.lua devices["Smoke"] = counter() device_init.lua creators[devices.Smoke] = {"avSimpleWeaponSystem" ,LockOn_Options.script_path.."Smoke/Smoke.lua"} And use it in "Input" bindings: { down = 7010, cockpit_device_id = devices.Smoke, value_down = 1.0, name = ('Smoke Toggle'), category = _('Smoke')}, The question is how can i use my custom .lua file in game for work on current player plane without device* files? Or where i can found this files for FC3 planes? Edited September 17, 2020 by FATAL ERROR ASRock Fatal1ty X470 Gaming K4 MAD Ryzen 3600X MSI GeForce RTX 2070 Super GAMING X TRIO Corsair Vengeance RGB 4x8GB RAM DDR4 3000MHz DeepCool Castle 240 [MAIN] LG UltraGear 34GK950G-B (3440x1440 120Hz) | LG UltraGear 27GL650F-B (1920x1080 144Hz) 250GB SSD Samsung 960 EVO (OS) | 500GB SSD Samsung 970 Evo (Games) | 1TB HDD WD BLACK | 1TB TEAMFORCE DELTA RGB SSD (Games)
Recommended Posts