hey, thank you for trying the mod and for the feedback as well! I did my own test as well and the following is my conclusion:
- damage to your walls can indeed happen currently, assuming explosive missiles.
- The reason for self inflicting damage is the fact that the damage is not dealt immediately because the missiles have a traveling time. The last time a missile is shot when the target is still in min range. Once it leave min range, the turret does not shoot anymore. however the last missile needs time to reach the target which is most probably also closing distance to the walls.
- to avoid damage to walls the last missile has to reach target before the wall is within AOE range of the target. This of course depends on a few factors: the speed of the projectile/missile, the speed of the target, the distance of the wall from the turret, the fire arc of the turret. Since any one of these can be changed by modding, there is no real solution at hand.
I think the best course of action here is to balance the turret for vanilla play, and let the user customize for modded play. I have released 1.1.3 where the default turret ranges were adjusted to more reasonable values. My testing shows that approximately 12 tiles in front of the advanced turret are is safe zone from behemoth biters, with explosive missiles. If something else is needed, eg.: more safe tiles the user can always adjust the config to their liking.