View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0006382 | Spring engine | General | public | 2020-05-02 17:14 | 2020-05-10 17:51 | ||||
Reporter | esainane | ||||||||
Assigned To | gajop | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 104.0 +git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0006382: autoTargetRangeBoost ignored for Cannon weapons | ||||||||
Description | Cannon weapons do not use autoTargetRangeBoost. The `boost` parameter appears to be unused here: https://github.com/spring/spring/blob/develop/rts/Sim/Weapons/Cannon.h#L37 | ||||||||
Steps To Reproduce | Spawn a unit using a cannon weapon type, and a suitable visible weapon piece Spring.SetUnitWeaponState(unitID,weaponIdx,"autoTargetRangeBoost",lookahead) Spawn a unit to a team not allied to the first team, and have it drive towards the first. The first unit will not aim at the second unit, even when the second unit is within <lookahead> elmos of the first unit's range. | ||||||||
Additional Information | A simple fix might be to prepend `+ boost` before the semicolon on the linked line in the description. I'm not sure if there's something more appropriate for the Cannon type. | ||||||||
Tags | aiming | ||||||||
Checked infolog.txt for Errors | Yes | ||||||||
Attached Files |
|
![]() |
|
esainane (reporter) 2020-05-10 08:20 |
Fixed in 2d729c4 (maint) and f9aadae (develop). This issue can be considered resolved now. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-05-02 17:14 | esainane | New Issue | |
2020-05-02 17:14 | esainane | Tag Attached: aiming | |
2020-05-10 08:20 | esainane | Note Added: 0020399 | |
2020-05-10 17:51 | gajop | Assigned To | => gajop |
2020-05-10 17:51 | gajop | Status | new => resolved |
2020-05-10 17:51 | gajop | Resolution | open => fixed |