Make a turret just shooting at bases
Posted: Sun Jun 23, 2019 2:55 pm
Hello,
I would like to make a turret that shoots just on bases.
Why do I want that:
At the moment I play on a death world and I want to have my outpost surrounded by biters. That means they should be as close as possible so I don't want to use the Artillery Turrets here. With the current turrets I have the problem that it would be possible that biters are going to expand next to my outpost, outside the range of my turrets, but inside the range of Behemoth Worms. That means they are going to destroy my base if I'm not cleaning them regularly.
My Idea was to add a new short version of the Artillery Turret with a range just slightly higher than the one of the Behemoth Worms.
But this means also that the range will be extended when I research the Artillery Shell Range. But I want to have a fix version to have the biters always close.
Then my Idea was to make a normal turret and use shells as ammo and extend the range. But then the turret also shoots at normal biters, but I want it just to shoot at bases else the damage would be to powerful or just wasted. I was looking a bit in the API and I found I could define a EntityPrototypeFlag for the ammo. But there is nothing that defines just enemy bases and I'm also not sure if that means that the damage is limited or also the shooting.
Is there any way to make an Artillery Turret without having the benefit of the Artillery Shell Range research?
Or can I limit the normal turrets to only shoot at bases?
Thanks for your help.
I would like to make a turret that shoots just on bases.
Why do I want that:
At the moment I play on a death world and I want to have my outpost surrounded by biters. That means they should be as close as possible so I don't want to use the Artillery Turrets here. With the current turrets I have the problem that it would be possible that biters are going to expand next to my outpost, outside the range of my turrets, but inside the range of Behemoth Worms. That means they are going to destroy my base if I'm not cleaning them regularly.
My Idea was to add a new short version of the Artillery Turret with a range just slightly higher than the one of the Behemoth Worms.
But this means also that the range will be extended when I research the Artillery Shell Range. But I want to have a fix version to have the biters always close.
Then my Idea was to make a normal turret and use shells as ammo and extend the range. But then the turret also shoots at normal biters, but I want it just to shoot at bases else the damage would be to powerful or just wasted. I was looking a bit in the API and I found I could define a EntityPrototypeFlag for the ammo. But there is nothing that defines just enemy bases and I'm also not sure if that means that the damage is limited or also the shooting.
Is there any way to make an Artillery Turret without having the benefit of the Artillery Shell Range research?
Or can I limit the normal turrets to only shoot at bases?
Thanks for your help.