Author Topic: Craft interception using meeting point  (Read 2284 times)

Offline marcole

  • Squaddie
  • *
  • Posts: 6
    • View Profile
Craft interception using meeting point
« on: February 27, 2016, 08:56:38 pm »
Hi everyone,

This is my first post, I'm new here, although I'm far from new to XCom games.
I have spent quite some time in the past playing this game and am very excited about this project.
Finally I have given it more thorough attention and started to look at the code itself.

I have found this very nice feature when interceptors chase the UFOs flying to meeting point, which I always thought was missing and should have been included.
At the same time I have realized that when interceptor has no chance of catching the UFO because of insufficient speed, it reverts to its previous behaviour, which I find unreasonable with this setting enabled.

So I have tried to patch things up and here is the outcome.
It is quite a simple patch I would say that also tries to find the best direction for the interceptor to get as close as possible even if it cannot actually catch the UFO.

I'm not experienced with git but tried my best.
I can post it in the bug tracker if preferred.

What do you think, does this behaviour change make sense ?

Thanks again for your efforts,