View Issue Details

IDProjectCategoryView StatusLast Update
0001230Spring engineGeneralpublic2009-01-13 11:14
ReporterEvil4Zerggin Assigned ToKloot  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.77b5+svn 
Summary0001230: Changing losMipLevel Breaks Gunship Strafing Distance
Descriptionr7219
rts/Sim/Units/CommandAI/MobileCAI.cpp
lines 764, 779

Here, the unit's losRadius is not multiplied by 1 << modInfo.losMipLevel. However, in UnitDefHandler.cpp, the unit's given sightDistance is divided by this number to get the losRadius. Thus, increasing losMipLevel causes gunships to circle unnaturally closer to their targets.

Suggested solutions: Multiply losRadius by (1 << modInfo.losMipLevel) for purposes of determining circling distance, or add an explicit circling distance tag. Unfortunately, I am not sure what includes are necessary for either, which is why I have no patch attached. I should really start building Spring SVN >_>
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

Evil4Zerggin

2008-12-30 12:00

reporter   ~0003116

Note: If the former solution is picked, replace the "2" with "1 << modInfo.losMipLevel".

Kloot

2009-01-13 11:14

developer   ~0003131

ninja'ed by lurker in 0.78+

Issue History

Date Modified Username Field Change
2008-12-30 11:51 Evil4Zerggin New Issue
2008-12-30 12:00 Evil4Zerggin Note Added: 0003116
2008-12-30 16:12 Kloot Status new => assigned
2008-12-30 16:12 Kloot Assigned To => Kloot
2009-01-13 11:14 Kloot Note Added: 0003131
2009-01-13 11:14 Kloot Status assigned => resolved
2009-01-13 11:14 Kloot Resolution open => fixed