#3041: Weapon targeting cleanup
-------------------------------------------------+-------------------------
 Reporter:  Per                                  |             Owner:
     Type:  patch (an actual patch, not a        |            Status:  new
  request for one)                               |         Milestone:
 Priority:  normal                               |  unspecified
Component:  other                                |           Version:
 Keywords:  weapon targeting                     |  git/master
 Blocking:                                       |        Blocked By:
                                                 |  Operating System:  All
                                                 |  /Non-Specific
-------------------------------------------------+-------------------------
 * Counterbattery sensors now use real range, and work for allies as well.
  * Radar detector targeting for micro-AI does not require line of sight
 anymore.
  * actionInsideMinRange() was misunderstood to mean
 actionInsideMaxRangeAndAllIsFine, while it really
    was checking isActionInsideMinimumRangeAndShouldNotBeAllowed; minimum
 range is now actually checked!
  * note that micro-AI does not handle minimum range; it never did
  * Droid micro-AI no longer limited to target acquisition within its own
 vision range,
    can also pick enemies others can see within its fire radius.
  * Micro-AI search radius for structure indirect weapons limited by their
 own vision range,
    not some random constant.
  * Sensor micro-AI search radius now uses real range, not random contant.
  * A number of duplicate checks in to-hit code removed.
  * To recap: Direct fire weapons can fire at anything within weapons range
 that the player can see;
    indirect weapons can only fire at anything within the lesser of vision
 range and weapons range,
    unless they have fire support, in which case vision range is ignored
  * A lot of weapons have a very small minimum range that is totally
 useless but may produce
    unexpected 'why does my droid not fire' situations where they are
 _very_ close to target

 This patch needs careful review and much testing.

-- 
Ticket URL: <http://developer.wz2100.net/ticket/3041>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to