Also, why doesn't ammo-type guns deal damage when used with an artillery wagon?

I set it to 0, you can see screenshot its attacking the worm.
See here:PyroFire wrote: Fri Nov 15, 2019 5:03 pmI set it to 0, you can see screenshot its attacking the worm.
Why no damage or attacky biters?
In automatic mode, [artillery turrets] function much the same as other turrets, automatically scanning for valid targets within range and firing on them. Automatic mode can only target enemy structures (spawners and worms), not mobile units (biters and spitters); shells do, however, damage mobile units in the vicinity of impact normally.
Hence the modding interface request.
Name of a Prototype/Gun.
Prototype/Gun
A gun. A weapon to deal damage to entities.
["vehicle-machine-gun"] = {
attack_parameters = {
ammo_category = "bullet",
cooldown = 4,
movement_slow_down_factor = 0.7,
projectile_creation_distance = 0.65,
range = 20,
shell_particle = {
center = {
0,
0
},
creation_distance = -0.6875,
direction_deviation = 0.1,
name = "shell-particle",
speed = 0.1,
speed_deviation = 0.03,
starting_frame_speed = 0.4,
starting_frame_speed_deviation = 0.1
},
sound = {
{
filename = "__base__/sound/fight/heavy-gunshot-1.ogg",
volume = 0.45
},
{
filename = "__base__/sound/fight/heavy-gunshot-2.ogg",
volume = 0.45
},
{
filename = "__base__/sound/fight/heavy-gunshot-3.ogg",
volume = 0.45
},
{
filename = "__base__/sound/fight/heavy-gunshot-4.ogg",
volume = 0.45
}
},
type = "projectile"
},
flags = {
"hidden"
},
icon = "__base__/graphics/icons/submachine-gun.png",
icon_size = 32,
name = "vehicle-machine-gun",
order = "a[basic-clips]-b[vehicle-machine-gun]",
stack_size = 1,
subgroup = "gun",
type = "gun"
}
y no targety biters or damagey worms?data.raw["artillery-wagon"]["artillery-wagon"].gun="vehicle-machine-gun"
Ooops, didn't see what subforum the post was in -- I always look at "New posts".
I don't see anything there why it shouldn't work -- which doesn't necessarily mean that there isn't anything.
Don't know. Worms at least should be targetted.y no targety biters or damagey worms?
Whoops, me either. Far outside my expertise!Ooops, didn't see what subforum the post was in -- I always look at "New posts".
that's why this thread existsPi-C wrote: Fri Nov 15, 2019 8:38 pm I don't see anything there why it shouldn't work -- which doesn't necessarily mean that there isn't anything.![]()