Help with turrets and guns
Help with turrets and guns
Anyone knows what changed with weapons and turrets? I get unknown type on "ammo-turret" and "gun" types.
Re: Help with turrets and guns
have you looked into the data values of factorio? you can find all prototype definitions there. (data folder in the main install directory)
if you are trying to modify stuff it could be that you forgot to add the base game as dependency?
if you are trying to modify stuff it could be that you forgot to add the base game as dependency?
Re: Help with turrets and guns
I tried to use base game as template but only some parts, i have to look at it again since i read more about those type errors.
Re: Help with turrets and guns
I had the exact same problem. Bobingabout was very helpful in this regard: https://forums.factorio.com/forum/vie ... 025#p93025
bobingabout wrote:All attack_parameters now need a type tag.UberWaffe wrote:See the attached image for the error message "no such node (type)".
add the line type = "projectile", imediately after the first { in your attack_parameters redefinition.
I presume it is to diferentiate the old attack perameters type from the new beam lasers that the combat drones are supposed to use, but I havn't looked at their code yet to know for sure.
Re: Help with turrets and guns
It helped, now it works. Thanks.