2024-05-16 21:37 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003180Spring engineUnit Scriptingpublic2012-07-17 00:52
Reporterazaremoth 
Assigned ToKloot 
PrioritylowSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version89.0 
Target VersionFixed in Version89.0.1+git 
Summary0003180: Aiming animations ignore maxAngleDif
DescriptionUnits with weapons that should only fire forward keep aiming (without firing) at targets is in their back.
Additional Information  weapons = {
[1] = {
      def = "ASSAULT_RIFLE",
      mainDir = "0 0 1",
      maxAngleDif = 180,
      onlyTargetCategory = "LANDAIR",
      badTargetCategory = "HEAVYARMOR",
    },
  },
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0009037

FLOZi (reporter)

Last edited: 2012-07-16 23:51

View 2 revisions

Confirmed in S44 too. Perhaps due to the changes to maxangledif not being fully reverted? (edit: though that was way back in 86 so I guess it can't be)

~0009038

Kloot (developer)

caused by the base-level TryTarget only considering the !onlyForward case

note: for onlyForward=true/turret=false weapons the relevant weapondef variable is tolerance, NOT maxAngleDif which only applies to onlyForward=false/turret=true weapons (yet another highly redundant situation)
+Notes

-Issue History
Date Modified Username Field Change
2012-07-12 20:56 azaremoth New Issue
2012-07-12 20:56 azaremoth File Added: screen00003.png
2012-07-16 23:47 FLOZi Note Added: 0009037
2012-07-16 23:51 FLOZi Note Edited: 0009037 View Revisions
2012-07-17 00:34 Kloot Assigned To => Kloot
2012-07-17 00:34 Kloot Status new => assigned
2012-07-17 00:51 Kloot Note Added: 0009038
2012-07-17 00:52 Kloot Status assigned => resolved
2012-07-17 00:52 Kloot Fixed in Version => 89.0.1+git
2012-07-17 00:52 Kloot Resolution open => fixed
+Issue History