#2757: visibile != fireable
-------------------------+-------------------------------------------------
Reporter: | Type: patch (an actual patch, not a
Iluvalar | request for one)
Status: new | Priority: normal
Milestone: | Component: Engine: other
unspecified | Keywords:
Version: | Blocked By:
2.3.8 |
Operating System: All |
/Non-Specific |
Blocking: |
-------------------------+-------------------------------------------------
This patch will improve the visibility vs fire issues.
It modify visibleObject() function to accept a new parameter "bool toFire"
which will affect slightly the final answer.
with toFire=False, the function will return as usual the line of sight
from the tip of the head to the tip of the head.
with toFire=True however, the function will return a "clear" line of sight
from half the height to half the height not an utopic impossible shot.
Also this patch use the true height of the droids instead of a fixed 80
units height (which is outrageously giant).
--
Ticket URL: <http://developer.wz2100.net/ticket/2757>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev