2019-08-24 10:21 CEST

View Issue Details Jump to Notes ] Related Changesets ]
IDProjectCategoryView StatusLast Update
0005716Spring engineGeneralpublic2018-02-05 19:29
ReporterGoogle_Frog 
Assigned ToKloot 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusresolvedResolutionfixed 
Product Version103.0 +git 
Target VersionFixed in Version 
Summary0005716: Disable avoidFeature for attack ground commands
DescriptionI 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.
TagsNo tags attached.
Checked infolog.txt for lua Errors
Attached Files

-Relationships
+Relationships

-Notes

~0018779

Kloot (developer)

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
+Notes

+Related Changesets

-Issue History
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
+Issue History