|
发表于 2014-1-15 21:29:40
|
显示全部楼层
LJQC 发表于 2014-1-15 21:13
只能等AFM出来之后再看看了。。
经过测试,确认炮后坐力作用点是supply_position这个位置。除了猪A、猪C、Ka50、Ka52和P-51D,其他机型都默认为质心。- aircraft_guns("A_10C",
- gun_mount("GAU_8",
- { count = 1150 },
- {
- supply_position = {2.8, -0.18, 0.0},
- muzzle_pos = {7.135, -0.149,-0.086},
- elevation_initial = -1.9306,
- effects = {A10C_Gatling_Effect(351,7), fire_effect(350)}
- }
- )
- );
复制代码- aircraft_guns("P_51D",
- --left wing
- gun_mount("M_2_L1", { count = 270 },{muzzle_pos = {-0.045, -0.41, -2.427}, azimuth_initial = -0.341,elevation_initial = 0.257,supply_position = {-0.724, -0.18, -3.0},
- effects = {M2_heat_effect(),fire_effect(436)} } ), --outboard
- gun_mount("M_2_L2", { count = 270 },{muzzle_pos = {-0.035, -0.428, -2.231}, azimuth_initial = -0.286,elevation_initial = 0.458,supply_position = {-0.724, -0.18, -3.0},
- effects = {M2_heat_effect(),fire_effect(435)} } ),--center
- gun_mount("M_2_L3", { count = 500 },{muzzle_pos = {-0.028, -0.447, -2.032}, azimuth_initial = -0.379,elevation_initial = 0.364,supply_position = {-0.724, -0.18, -3.0},
- effects = {M2_heat_effect(),fire_effect(434)} } ), --inboard
- --right wing
- gun_mount("M_2_R1", { count = 500 },{muzzle_pos = {-0.028, -0.447, 2.032}, azimuth_initial = 0.379,elevation_initial = 0.364,supply_position = {-0.724, -0.18, 3.0},
- effects = {M2_heat_effect(),fire_effect(433)} } ), --inboard
- gun_mount("M_2_R2", { count = 270 },{muzzle_pos = {-0.035, -0.428, 2.231}, azimuth_initial = 0.286,elevation_initial = 0.458,supply_position = {-0.724, -0.18, 3.0},
- effects = {M2_heat_effect(),fire_effect(432)} } ), --center
- gun_mount("M_2_R3", { count = 270 },{muzzle_pos = {-0.045, -0.41, 2.427}, azimuth_initial = 0.341,elevation_initial = 0.257,supply_position = {-0.724, -0.18, 3.0},
- effects = {M2_heat_effect(),fire_effect(350)} } ) --outboard
- );
复制代码 muzzle_pos仅为3D模型的炮口,不参与飞行模型计算。
supply_position不是弹药舱位置,可以认为是整个炮位置。因为如果设置偏置,不开火平飞也能感到有滚转倾向,也就是整个炮的质量偏置了。
P-51D因为机翼炮对称,所以不影响。当单侧炮损坏,开火有明显偏航。一侧弹药用完,需要配平副翼(假设左右燃油平衡)。
|
|