View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0003430 | Spring engine | General | public | 2013-01-30 17:43 | 2013-02-01 18:53 | ||||||||
Reporter | KingRaptor | ||||||||||||
Assigned To | Kloot | ||||||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||||||
Status | feedback | Resolution | reopened | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0003430: (91.0.1) Units remain at range of longest-ranged weapon | ||||||||||||
Description | Units will not approach any closer to their target (whether ground or unit) than the range of their longest-ranged weapon, rather than weapon 1 as in previous versions. This occurs even if the LRW is a commandfire weapon on a canManualFire=true unit. Observed on the ZK Bantha (armbanth) and White Dragon (chicken_dragon) in Spring 91.0.1-1239-g70b9f8e release (OMP). | ||||||||||||
Tags | No tags attached. | ||||||||||||
Checked infolog.txt for Errors | |||||||||||||
Attached Files |
|
![]() |
|
Kloot (developer) 2013-01-30 18:43 |
see changelog: ! fix units failing ground-attack orders when their "main" weapon != weapons[0] (3276) logic change: MobileCAI::ExecuteAttack now cycles through all weapons until it finds one which can execute the order, and no longer depends on weapon[0] being the "main" weapon |
KingRaptor (reporter) 2013-01-31 13:15 |
Is there then a way to define the "primary" weapon, or otherwise set the distance the unit closes in to? Current behavior is otherwise highly undesirable if the unit needs to get closer than max weapon range in order to deal damage effectively, especially for units under AI control. |
Kloot (developer) 2013-01-31 16:35 |
Not yet. It's my plan to make the closing distance a parameter of CMD_ATTACK, but 92.0 is feature-frozen now. |
jK (developer) 2013-02-01 00:35 |
why not just add a Lua function to select `main` weapon? |
FLOZi (reporter) 2013-02-01 18:53 |
I imagine setting it as param of CMD will be clunky for game devs compared to a straightforward tag but others may well prefer the extra flexibility. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2013-01-30 17:43 | KingRaptor | New Issue | |
2013-01-30 18:43 | Kloot | Note Added: 0009669 | |
2013-01-30 18:43 | Kloot | Status | new => closed |
2013-01-30 18:43 | Kloot | Assigned To | => Kloot |
2013-01-30 18:43 | Kloot | Resolution | open => no change required |
2013-01-31 13:15 | KingRaptor | Note Added: 0009679 | |
2013-01-31 13:15 | KingRaptor | Status | closed => feedback |
2013-01-31 13:15 | KingRaptor | Resolution | no change required => reopened |
2013-01-31 16:35 | Kloot | Note Added: 0009681 | |
2013-02-01 00:35 | jK | Note Added: 0009682 | |
2013-02-01 18:53 | FLOZi | Note Added: 0009683 |