I've been away for quite awhile, but lately I've been putting some work into Paper TC.
I'm having some trouble with a weapon that doesn't sub consistently.
I have it set so it will sub when the target gets within 300 pixels. It always triggers properly, but sometimes it subs, sometimes it doesn't. This only seems to malfunction when the AI uses the weapon.
I have ruled out prox saftey, max shots on screen, and the weapon being within the sprite of the target as issues to prevent subbing.
Having problems with AI ships that are to: warp in, launch a weapon at the player, warp out. (Same AI from above)
Sometimes they warp out, sometimes they don't and seem to get stuck in the system. I think they are always firing the weapon regardless, but I could be wrong on this. Not sure if this is related to the non-subbing weapon issue above, but not sure why it would be.
The technique I'm using is to give them 1 weapon with limited ammo (1) and have set the 'runs away if out of ammo' flag.
These ships always attack the player. It might be they case that the 'stuck' ships are not firing for some reason, but I'm not sure why they might not be firing, they do appear hostile.
Both these problems share the same funny behavior: Sometime they work properly, sometime they don't, and I can't find any pattern to account for the discrepancy.
This post has been edited by Desprez : 17 September 2009 - 09:59 PM