View Issue Details

IDProjectCategoryView StatusLast Update
0005067Spring engineGeneralpublic2016-02-09 00:58
ReporterFloris Assigned ToKloot  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Fixed in Version100.0+git 
Summary0005067: spawned buildings have their decals with a small offset
DescriptionWhen buildings are spawned (through /give and probably CreateUnit) they aren't snapped to grid, but their decals are.

(solution shouldn't be snapping the building to grid)
Steps To Reproducestart BA
/give corpun a few times in different places
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

Kloot

2016-02-08 19:40

developer   ~0015678

Last edited: 2016-02-08 19:44

in fact both are snapped, but to different grids

hokomoko

2016-02-08 19:53

developer   ~0015682

Last edited: 2016-02-08 19:53

Are you sure buildings are snapped when CreateUnit or /give is used?

Floris

2016-02-08 20:04

reporter   ~0015685

v100 has the same issue btw

Kloot

2016-02-08 20:59

developer   ~0015687

Last edited: 2016-02-08 20:59

"Are you sure buildings are snapped when CreateUnit or /give is used?"

misread the code, they aren't (which is the problem, decals can only be placed at multiples of SQUARE_SIZE)

hokomoko

2016-02-08 21:05

developer   ~0015688

Last edited: 2016-02-08 21:12

IMO the solution shouldn't be snapping the building to grid, as it will break a few things such as morphs from mobile units to buildings.

I think we should delay solving this for after 101.

Kloot

2016-02-09 00:58

developer   ~0015699

worked around in 985b3706, will have to suffice for a while

Issue History

Date Modified Username Field Change
2016-02-08 18:57 Floris New Issue
2016-02-08 19:18 hokomoko Summary when using '/give all' decals get an offset => spawned buildings have their decals with a small offset
2016-02-08 19:18 hokomoko Description Updated
2016-02-08 19:18 hokomoko Steps to Reproduce Updated
2016-02-08 19:40 Kloot Note Added: 0015678
2016-02-08 19:44 Kloot Note Edited: 0015678
2016-02-08 19:53 hokomoko Note Added: 0015682
2016-02-08 19:53 hokomoko Note Edited: 0015682
2016-02-08 20:04 Floris Note Added: 0015685
2016-02-08 20:59 Kloot Note Added: 0015687
2016-02-08 20:59 Kloot Note Edited: 0015687
2016-02-08 21:05 hokomoko Note Added: 0015688
2016-02-08 21:12 hokomoko Note Edited: 0015688
2016-02-09 00:58 Kloot Note Added: 0015699
2016-02-09 00:58 Kloot Status new => resolved
2016-02-09 00:58 Kloot Fixed in Version => 100.0+git
2016-02-09 00:58 Kloot Resolution open => fixed
2016-02-09 00:58 Kloot Assigned To => Kloot