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?
Artillery wagons can target biters
-
- Filter Inserter
- Posts: 266
- Joined: Tue Jan 29, 2019 4:00 am
- Contact:
Re: Artillery wagons can target biters
The artillery has a minimum range.
Re: Artillery wagons can target biters
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
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.
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!
Re: Artillery wagons can target biters
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"
}
y no targety biters or damagey worms?data.raw["artillery-wagon"]["artillery-wagon"].gun="vehicle-machine-gun"
Re: Artillery wagons can target biters
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?
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.
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!
-
- Filter Inserter
- Posts: 266
- Joined: Tue Jan 29, 2019 4:00 am
- Contact:
Re: Artillery wagons can target biters
Whoops, me either. Far outside my expertise!Ooops, didn't see what subforum the post was in -- I always look at "New posts".