If you have a turret set as 'turret' set to shoot at 'missiles' docked to a turret (which will apparently force the second turret into 'ship' setting) set to shoot at 'missiles' docked to the base of the turret the following will happen:
a) The turret at the end of the chain will shoot at missiles
b) The turret in the middle of the chain (the one that sets itself to 'ship' will shoot at all targets
Description
Details
- Task Type
- Bug
- Affected Gamemode(s)
- Multiplayer
- Reproducible
- uncertain
- Category
- AI
- First occurrence (version)
- 0.19361
- OS-Specific
- No
- Hardware-Specific
- No
- Video Card Vendor
- uncertain
<replace this line with the file content>
<replace this line with the file content>
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
Related Objects
Event Timeline
-Validated-
i remember to have had a working PD turret Chain sometime ago .. so it did work at one point
Can not reproduce.
Using the provided blueprint. setting both manually to "target missiles" and "turret", both work and shoot at missiles, settings get not changed. Activating the AI in the structure tab activates only the last turret on the chain but that is not the issue here.
The issue is not that either of the turrets fail to shoot at missiles, but that the middle of the chain acts like it is using the "All" setting for targets. This results in the end of the chain firing at missiles, and the middle of the chain firing at ships FIRST in a combat situation.
I did try that and spawned in pirates, both parts stayed in the shoot at missile setting in my tests.
I have retested
Steps to reproduce
-Set end of chain as follows "Turret, Missile, ON"
-Set middle of chain to "Ship, Missile, ON"
-Watch as the middle chain shoots pirate ships that don't even have missiles
Works best on ships without missiles.
To my knowledge the combo:
Ship and missile do not work.
If you class a part of the chain as "ship" its designated to engage enemies on its own, as it "thinks" it is a ship.
So, if the entity set to "ship" does not respond to the setting of a child turret, its a design flaw, but not a bug.
So, as a result we may want to deny the use of "missile" for "ship", but this may flip the setting from missile to something else when undocking or switching through the type.
Or create a ship-ai-type that hunts missiles, both solutions do not really feel right.
This would be the simplest of the two probably.
As to why I was using ship instead of turret? For some reason they were set that way after I spawned in the blueprint from SP (set correctly to turret on SP).
which will apparently force the second turret into 'ship' setting
there seemed to be a bit of misunderstanding...
I didn't thoroughly test that part, just left it as is when I saw it happen. All I know is that before it left SP it was set to turret and missile and that is not how it arrived when I blueprinted it in.
Edit: Arrived set one to turret missile other set ship missile
Ok, After some testing it would seem we have the results and they are interesting
The bug the OP was having (or design flaw) is ruled out.
The PD in the middle of the chain do not get ship AI set to them instead an issue like this happens
When not docked to a turret axis you are unable to set the ai to turret (It will revert to ship once you have closed the menu) thus you are not going to be able to set them before docking and that may have been the cause of the OP's orginal issue.
However there are other bugs we found that cause the PD to not fire at all
Chain docking PD turrets make only the last PD docked to the chain be able to turn
The rest are able to fire forwards and only forward of the direction they are pointing
As you can see the top turret is the only one that is able to fire
I believe this is an issue with rail turrets and I will be asking if this is intended or not.
you have to take note that in certain turret orientations the axis behaves a little bit weird. The provided blueprint from the op worked fine for me (after manually setting both).
FYI: I declaimed this because i am away on holidays next week.
After some debate it would seem this is an intended affect
Turrets shouldn't work without both axis because then it would just be a docked ship so you should use rail basic's for fixed firing guns
As for chain docking... That's not a turret and no errors or anything unintended was found here.