I followed the tutorial beczl, I added 4 GUN_POINT connector and add the following lines to the file lua template Wunderluft.
I only work a gun_point and also by varying the values muzzle_pos = {1, -0.5, -1} does not move. :helpsmilie:
Guns = {gun_mount("GSh_23_2", {
count = 250,
muzzle_pos_connector = "GUN_POINT1",
muzzle_pos = {4.052, -0.381, -0.57},
elevation_initial = 2.000,
supply_position = {1.42, 0.50, -0.33},
effect_arg_number = 350,
max_burst_length = 25,
drop_cartridge = cartridge_30mm,
}
)
},
{gun_mount("GSh_23_2", {
count = 250,
muzzle_pos_connector = "GUN_POINT2",
muzzle_pos = {3.859, -0.381, -0.35},
elevation_initial = 2.000,
supply_position = {1.42, 0.50, -0.33},
effect_arg_number = 350,
max_burst_length = 25,
drop_cartridge = cartridge_30mm,
}
)
},
{gun_mount("GSh_23_2", {
count = 250,
muzzle_pos_connector = "GUN_POINT3",
muzzle_pos = {3.859, -0.381, 0.35},
elevation_initial = 2.000,
supply_position = {1.42, 0.50, -0.33},
effect_arg_number = 350,
max_burst_length = 25,
drop_cartridge = cartridge_30mm,
}
)
},
{gun_mount("GSh_23_2", {
count = 250,
muzzle_pos_connector = "GUN_POINT4",
muzzle_pos = {4.052, -0.381, 0.57},
elevation_initial = 2.000,
supply_position = {1.42, 0.50, -0.33},
effect_arg_number = 350,
max_burst_length = 25,
drop_cartridge = cartridge_30mm,
}
)
},
{gun_mount("GSh_23_2", {
count = 250,
muzzle_pos_connector = "GUN_POINT5",
muzzle_pos = {3.859, -0.381, 0.35},
elevation_initial = 2.000,
supply_position = {1.42, 0.50, -0.33},
effect_arg_number = 350,
max_burst_length = 25,
drop_cartridge = cartridge_30mm,
}
)
},