View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005716 | Spring engine | General | public | 2017-08-20 14:15 | 2018-02-05 19:29 |
| Reporter | Google_Frog | Assigned To | Kloot | ||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | resolved | Resolution | fixed | ||
| Product Version | 103.0 +git | ||||
| Summary | 0005716: Disable avoidFeature for attack ground commands | ||||
| Description | I want units to avoid features when trying to fire at enemies. I would also like to be able to force fire at features to clear forests and wreck fields. Since this should not be the default behaviour the nicest implementation may be to allow lua to change avoid* on the fly. | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
Fix 1adc88cd8eb3dfc0f1213d9bd526343ced8f580c committed to develop branch: fix 0005716 add Weapon::{avoid,collision}Flags to Spring.{Get,Set}UnitWeaponState these are bitfields, refer to the table below when setting new values NOENEMIES = 1 << 0 NOFRIENDLIES = 1 << 1 NOFEATURES = 1 << 2 NONEUTRALS = 1 << 3 NOFIREBASES = 1 << 4 NOGROUND = 1 << 5 NOCLOAKED = 1 << 6 NOUNITS = NOENEMIES | NOFRIENDLIES | NONEUTRALS, repo: spring changeset id: 9541 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2017-08-20 14:15 | Google_Frog | New Issue | |
| 2018-02-05 19:29 | Kloot | Changeset attached | => spring develop 1adc88cd |
| 2018-02-05 19:29 | Kloot | Note Added: 0018779 | |
| 2018-02-05 19:29 | Kloot | Assigned To | => Kloot |
| 2018-02-05 19:29 | Kloot | Status | new => resolved |
| 2018-02-05 19:29 | Kloot | Resolution | open => fixed |