mackurt Posted June 8, 2019 Posted June 8, 2019 (edited) Hello i'm now want to make a model for stonehenge from Ace Combat in DCS. Just for fun. the modeling is almost complete .and befor finish the model, i have replace the WWII packs flak-88 EDM with it .and it works! it could shoots. The texture was made in 5 minutes with auto unwrap's UV .so.... But i wanna to made my own flak. since in the ace combat's world this gun shoot the nuclear warhead and have far more range than flak-88 . So i have the make my own gun and shells And it seems no available flak's lua (for big guns) could been studied...or copy ..or learn in the DCS now. WWII's seems to be coded in dll files. I have download another flak-88's model https://www.dropbox.com/sh/tmemz393gtmzur2/AADmt-dfFg5HsUBahe7cbaUVa/Flak_88?dl=0&subfolder_nav_tracking=1 But accroding to this flak88.lua it shoots M256 shell. not VT shell.. and i wrote my own lua based on flak88.lua. The guns could follow the target but it cannot fire. Here are the lua , mainly the weapon parts. --GT.WS[1].LN[1] local __LN = add_launcher(GT.WS[ws], GT_t.LN_t.tank_gun_120mm); __LN.automaticLoader = true; __LN.beamWidth = math.rad(1); __LN.BR[1].connector_name = 'POINT_GUN_01'; __LN.BR[1].recoilArgument = 23; __LN.BR[1].recoilTime = 1; __LN.PL[1].ammo_capacity = 100 __LN.PL[1].shot_delay = 2.5 __LN.PL[1].shell_name = {"M256_120_AP"}; __LN.PL[2] = {}; __LN.PL[2].ammo_capacity = 100 __LN.PL[2].shot_delay = 2.5 __LN.PL[2].shell_name = {"M256_120_AP"}; __LN.type = 10; __LN.sightMasterMode = 1; --__LN.customViewPoint = { "genericTankblue", {1.6, 1.5, 0.3 }, }; --GT.WS[1].LN[2] __LN = add_launcher(GT.WS[ws], __LN); -- HE gun __LN.type = 10; __LN.distanceMin = 100; __LN.distanceMax = 8000; __LN.PL[1].shell_name = {"M256_120_HE"}; __LN.PL[1].ammo_capacity = 100; __LN.PL[1].shot_delay = 2.5 __LN.PL[2] = {}; __LN.PL[2].shell_name = {"M256_120_HE"}; __LN.PL[2].ammo_capacity = 100; __LN.PL[2].shot_delay = 2.5 --__LN.customViewPoint = { "genericTankblueHE", {1.6, 1.5, 0.3 }, }; __LN.sightMasterMode = 2; Could any body help me to solve this problem? Edited June 8, 2019 by mackurt Fly when you ready [sIGPIC][/sIGPIC] GTX980M 16G X56
Recommended Posts