Creation of a machine-gun wagon on the basis of an artillery wagon.
Posted: Sun Mar 05, 2023 12:10 pm
Good afternoon I'm trying to make a mod with a machine gun wagon by converting it from a vanilla artillery wagon
https://mods.factorio.com/mod/My_add_pack
I managed to more or less redo the graphics and change the basic parameters of the wagon. As a turret I used tank-machine-gun. But I ran into three unsolvable problems:
1. The turret wagon ignores biters and spitters and only tries to attack spawners.
2. When firing ammo, the turret does no damage to manufacturers.
3. The attack of producers is carried out only at a complete stop of the train. In motion, the turret does not attack, but folds into a marching mode.[/list]
I searched all the game files, but did not find the function responsible for these parameters.
Unfortunately, I do not know programming well, so I really count on the help of more experienced modders.
Thank you
https://mods.factorio.com/mod/My_add_pack
I managed to more or less redo the graphics and change the basic parameters of the wagon. As a turret I used tank-machine-gun. But I ran into three unsolvable problems:
1. The turret wagon ignores biters and spitters and only tries to attack spawners.
2. When firing ammo, the turret does no damage to manufacturers.
3. The attack of producers is carried out only at a complete stop of the train. In motion, the turret does not attack, but folds into a marching mode.[/list]
I searched all the game files, but did not find the function responsible for these parameters.
Unfortunately, I do not know programming well, so I really count on the help of more experienced modders.
Thank you