Jump to content

Recommended Posts

Posted

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

Screen_190729_204245.thumb.png.262d78de14033348095ad842765b90c1.png

Screen_190729_204231.thumb.png.5378827953fbcb1e2c0cdf10da7d74d2.png

Posted

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

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...