Page 1 of 1
Artillery wagons can target biters
Posted: Fri Nov 15, 2019 8:23 am
by PyroFire
Option for artillery wagon to target biters (like a regular turret?)
Also, why doesn't ammo-type guns deal damage when used with an artillery wagon?
Re: Artillery wagons can target biters
Posted: Fri Nov 15, 2019 9:40 am
by wobbycarly
The artillery has a minimum range.
Re: Artillery wagons can target biters
Posted: Fri Nov 15, 2019 5:03 pm
by PyroFire
wobbycarly wrote: ↑Fri Nov 15, 2019 9:40 am
The artillery has a minimum range.
I set it to 0, you can see screenshot its attacking the worm.
Why no damage or attacky biters?
Re: Artillery wagons can target biters
Posted: Fri Nov 15, 2019 5:08 pm
by Pi-C
PyroFire wrote: ↑Fri Nov 15, 2019 5:03 pm
wobbycarly wrote: ↑Fri Nov 15, 2019 9:40 am
The artillery has a minimum range.
I set it to 0, you can see screenshot its attacking the worm.
Why no damage or attacky biters?
See
here:
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.
Re: Artillery wagons can target biters
Posted: Fri Nov 15, 2019 5:17 pm
by PyroFire
Pi-C wrote: ↑Fri Nov 15, 2019 5:08 pm
See
here
Hence the modding interface request.
See
here,
here, and
here.
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"
}
data.raw["artillery-wagon"]["artillery-wagon"].gun="vehicle-machine-gun"
y no targety biters or damagey worms?
Re: Artillery wagons can target biters
Posted: Fri Nov 15, 2019 8:38 pm
by Pi-C
PyroFire wrote: ↑Fri Nov 15, 2019 5:17 pm
Pi-C wrote: ↑Fri Nov 15, 2019 5:08 pm
See
here
Hence the modding interface request.
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.
y no targety biters or damagey worms?
Don't know. Worms at least should be targetted.
BTW: there is that mod
Armored Train (Turret wagons) that puts SMG or cannons on train wagons. It's using the cargo-wagon prototype instead of artillery-wagon, though.
Re: Artillery wagons can target biters
Posted: Sun Nov 17, 2019 5:33 am
by wobbycarly
Ooops, didn't see what subforum the post was in -- I always look at "New posts".
Whoops, me either. Far outside my expertise!
Re: Artillery wagons can target biters
Posted: Mon Nov 18, 2019 11:09 am
by PyroFire
Pi-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.
that's why this thread exists
y no targety biters or damagey worms?
can has targety biters and damagey worms?