View Issue Details

IDProjectCategoryView StatusLast Update
0003180Spring engineUnit Scriptingpublic2012-07-17 00:52
Reporterazaremoth Assigned ToKloot  
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version89.0 
Fixed 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.
Attached Files
screen00003.png (Attachment missing)
Checked infolog.txt for Errors

Activities

FLOZi

2012-07-16 23:47

reporter   ~0009037

Last edited: 2012-07-16 23:51

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)

Kloot

2012-07-17 00:51

developer   ~0009038

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)

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