happy cavin Posted July 29, 2019 Share Posted July 29, 2019 I make a desotryer for fun in the dcsw.it has proximity guns.but when it fires,some time the bullets go through the ship.see the attachments pictures. how to solve this problme? Thank you in advance. and the guns codes are here: ws = GT_t.inc_ws() GT.WS[ws] = {} set_recursive_metatable(GT.WS[ws], Type730) GT.WS[ws].area = "BORT_R" GT.WS[ws].center = "CENTER_CIWS_F001" GT.WS[ws].drawArgument1 = 21 GT.WS[ws].drawArgument2 = 22 GT.WS[ws].angles_mech = { {math.rad(30), math.rad(30), math.rad(-1), math.rad(48)}} GT.WS[ws].angles = { {math.rad(30), math.rad(30), math.rad(-1), math.rad(48)}} GT.WS[ws].reference_angle_Y = math.rad(-90) GT.WS[ws].LN[1].BR[1].connector_name = "POINT_CIWS_F" ws = nil Link to comment Share on other sites More sharing options...
happy cavin Posted July 29, 2019 Author Share Posted July 29, 2019 11 11 Link to comment Share on other sites More sharing options...
joey45 Posted July 29, 2019 Share Posted July 29, 2019 GT.WS[ws].angles = { {math.rad(80), math.rad(-80), math.rad(-5), math.rad(40)}, <<* }; GT.WS[ws].reference_angle_Y = math.rad(90); ** __LN = add_launcher(GT.WS[ws], GT_t.LN_t.automatic_gun_25mm); *this part is the restriction I think it Right, Left, Down, Up ** this part is the angle it will point by default. PS. Looking good. The only way to make sense out of change is to plunge into it, move with it, and join the dance. "Me, the 13th Duke of Wybourne, here on the ED forums at 3 'o' clock in the morning, with my reputation. Are they mad.." https://ko-fi.com/joey45 Link to comment Share on other sites More sharing options...
Recommended Posts