grim_reaper68 Posted December 4, 2022 Posted December 4, 2022 Hi I'm trying to understand for what are the value on the weapon loadout. For example : pylon_loadout(id_MK82 , 0.15, nil, {-0.13, -0.14, 0.0}, {3, 4, 6}), -- MK-82. I think they are some value for the position, and some for angle maybe. Can somebody confirm it?
104th_Money Posted December 4, 2022 Posted December 4, 2022 I tried to edit the pylon locations in the weapons loadout lua file before. It doesnt seem to work. I think it additional changes are needed in the aircraft .dll file. Intel i9-13900k, Asus Z790-E Gaming Wi-Fi 2 motherboard, 96gb Corsair Dominator Titanium DDR5-6600 RGB ram 2x48GB, 4TB Crucial T700 PCIE 5.0 SSD internal, 2TB Crucial T700 PCIE 5.0 SSD internal, Asus ROG Strix OC GeForce RTX 4090, Corsair 7000X Case with 4 x RX120mm side mounted iCue Link intake fans, 3 x RX140mm top mounted iCue Link exhaust fans, 1 x RX120mm rear mounted iCue Link exhaust fans, front mounted Corsair Titan RX 360mm liquid cooler w/iCue Link LCD, 6 x 120mm iCue Link fans in 3 push, 3 pull intake configuration, 1 x 120mm front iCue Link intake fan, 1 x 32" Samsung 3840x2160 display, 1x 32" Asus 2560x1440 display, TrackIR5 w/pro clip, Thrustmaster Warthog Throttle, Winwing Orion F-16EX Joystick and Pebble Beach Velocity pedals.
prccowboy Posted December 4, 2022 Posted December 4, 2022 7 hours ago, grim_reaper68 said: Hi I'm trying to understand for what are the value on the weapon loadout. For example : pylon_loadout(id_MK82 , 0.15, nil, {-0.13, -0.14, 0.0}, {3, 4, 6}), -- MK-82. I think they are some value for the position, and some for angle maybe. Can somebody confirm it? your example uses a non-standard custom function call. you should look at the pylon_loadout function in your example to understand what variables are being passed. Nevertheless, the standard pylon call is in the format: pylon Identification number, type, position coordinates (Pylon #, ext wing=0(no ejection)/ext fuselage=1/internal bay=2, forward/back, up/down, left/right) followed by a list of the ordnance allowed on the pylon. (there are also optional variables that allow you to adjust angles for yaw, pitch, roll) I suggest looking at a lot of example code to get the hang of it
Recommended Posts