|Anonymous | Login | Signup for a new account||2013-05-20 04:40 CEST|
|Main | My View | View Issues | Change Log | Roadmap | Repositories|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002971||Spring engine||Unit Scripting||public||2012-02-23 11:53||2012-07-29 14:30|
|Target Version||Fixed in Version||89.0.1+git|
|Summary||0002971: TargetBorder=1 only works when a unit has a specific attack command|
|Description||A weapon that has TargetBorder=1 will only fire at the enemy on it's own if it is in range of the targets' unit center.|
If the unit center is out of range but the hitsphere is in range(on a line directly from the targets' center) then the unit will fire at the unit centers if it has a direct attack order on the target.
|Additional Information||In the picture you can see how a unit attacks the targets' unit center even though it is out of range. If the unit is ordered to stop then it stops shooting.|
I have tested both lasercannons and cannons in Spring 85 and Spring 85.0.1-144-g44ba419 develop.
|Tags||No tags attached.|
|Attached Files||screen00031.png [^] (1,627,936 bytes) 2012-02-23 11:53|
|What happens if you move the attacker into range (of the enemy unit's center) and then out of range again, without giving an attack order?|
Then the attacker keep firing at the target unit center. When the hitbox is out of range it stops firing and when I drive it closer again it will fire when it is in range of the unit center again.
If the attacker is in range of the hitbox and firing and is turned away(this unit has a limited arc/cone of fire) it will not fire automatically again when it is turned back against the hitbox.
|fixed to the extent that it was possible to (units are still spatially registered by center position --> it can happen that a target is ignored when only its target-border position is in range)|
|2012-02-23 11:53||Godde||New Issue|
|2012-02-23 11:53||Godde||File Added: screen00031.png|
|2012-02-23 18:20||Kloot||Note Added: 0008326|
|2012-02-23 18:20||Kloot||Status||new => feedback|
|2012-02-24 12:55||Godde||Note Added: 0008329|
|2012-07-29 01:26||Kloot||Assigned To||=> Kloot|
|2012-07-29 01:26||Kloot||Status||feedback => assigned|
|2012-07-29 14:30||Kloot||Note Added: 0009091|
|2012-07-29 14:30||Kloot||Status||assigned => resolved|
|2012-07-29 14:30||Kloot||Fixed in Version||=> 89.0.1+git|
|2012-07-29 14:30||Kloot||Resolution||open => fixed|
|Copyright © 2000 - 2013 MantisBT Team|