OoliteProject / nightlies

Nightly builds for Oolite
11 stars 2 forks source link

Missiles lost lock when the player cloaks #1

Closed Norbylite closed 7 years ago

Norbylite commented 7 years ago

Speed is optimized by cag, tested by me in this post .

AnotherCommander commented 7 years ago

The desired behaviour is not for the missile to be destroyed upon target cloaking, but what we have now, which is, the missile goes idle for as long as the target is cloaked and basically flies in a straight line. As soon as the target decloaks, the missile will reaquire it within a couple of seconds and resume its intercept routine. Check oolite-priorityai.js, function PriorityAIController.prototype.behaviourMissileInterceptTarget.

Please note that pull requests for the core game are meant to be submitted only in the oolite repository and not the nightlies one. The nightlies repository is automatically updated by script and we can therefore not merge any pull requests at all in here.