BDArmory icon indicating copy to clipboard operation
BDArmory copied to clipboard

Ai not firing after part destruction

Open lancefoxcia opened this issue 5 years ago • 3 comments

ISSUE TYPE
  • Bug Report (Something is broken)
KSP and BDA Version

1.6.1 1.3.10


Windows 10

SUMMARY

It seems that when creating a tank like craft. Any type of part destruction after a gun fire seems to stop AI from firing again. Video on issue here: https://youtu.be/3Oigv-PqRx0

STEPS TO REPRODUCE
Log Files

KSP.log output_log.txt

lancefoxcia avatar Aug 19 '19 20:08 lancefoxcia

Strange.

Could you also post the test craft files?

Thanks for the report!

Gedas-S avatar Aug 22 '19 13:08 Gedas-S

Sorry for taking a bit, Here's the vessles You wanted. I stripped a few parts from them. Tracks to ksp wheels. However before sending, I tested them once again with a barebones install with bdac and FDC armor and guns. https://spacedock.info/mod/1455/Fox%20Defense%20Contracts%20-%20Tank%20turrets In case you need the gun and armor. Craft files.zip

lancefoxcia avatar Sep 03 '19 17:09 lancefoxcia

So, I tested this with BDAc 1.3.2 and KSP 1.8.1 and I am still getting this issue. If a bullet destroys a root part of an object. It will no longer fire on the target. However if a bullet destroys a non root object. Like an armor that's connected to one root part but nothing else connects to it that get's destroyed. The weapon will continue to fire on the target. KSP.log

Untitled Space Craft.zip

Steps to reproduce this. You can use my mod FDC to test this theory. Which the craft file does use the armor and turret inside. However I believe you can test this with Stock bdac settings.

  1. Create two different type of crafts. One that has a root part and one to two objects connected to it. Another craft with a part that is connected to another part only. Nothing else connecting to the part.

  2. Let BDAc guard mode attack the crafts. Non explosive would be best to test.

If there's anything else to add. Let me know.

lancefoxcia avatar Nov 10 '19 04:11 lancefoxcia