Tango Posted September 19, 2012 Posted September 19, 2012 Hi, How can I read which pylon has what weapon loaded? I have a weapon selector switch that selects the store based on type, not station, so if I have e.g. one cluster bomb loaded, it will release that cluster bomb regardless of the station it is loaded on, and if cluster bombs are loaded on multiple stations it will send release pulses in a specific sequence, but again independent of which station they are actually loaded on (asymmetric stores are permitted but the system is unaware of this). I know how to select the stations, but I don't how to detect which station has what loaded on it. Best regards, Tango.
aaron886 Posted September 19, 2012 Posted September 19, 2012 I don't think anyone knows this yet. I hope it's in LockOn_Options or some similar little-explored place, but it may not yet be available.
SVKSniper Posted September 20, 2012 Posted September 20, 2012 Tango i think use this code: pylons_enumeration = {1, 4, 3, 2} Support my work
Tango Posted September 20, 2012 Author Posted September 20, 2012 How do I use that? That just creates an array of numbers... Best regards, Tango.
SVKSniper Posted September 20, 2012 Posted September 20, 2012 Tango here is code from our L-39ZA (this code you see for plane in FC2 Rearm.lua file): rearm_payloads[L-39ZA] = { [GUN_ONLY] = {}, [4501] = { { Pylon = 1, LauncherCLSID = "{CLSIDnumber}", LauncherCategory = "11", }, { Pylon = 2, LauncherCLSID = "{CLSIDnumber}", LauncherCategory = "11", }, { Pylon = 3, LauncherCLSID = "{CLSIDnumber}", LauncherCategory = "11", }, { Pylon = 4, LauncherCLSID = "{CLSIDnumber}", LauncherCategory = "11", }, }, } {CLSIDnumber} ----use CLSID for UB-16 [4501] -----this is first number for payload if you more payloads for second is number 4502,for next 4503.......... LauncherCategory ------its defined your weapon category.... "11" ----- its for UB-16 "1" ------this number is for FAB-250 Support my work
Recommended Posts