Bug #1506

Village positioning being set to null after being loaded from village_sheet

Added by tebruno99 over 5 years ago. Updated over 5 years ago.

Status:New Start date:11/26/2012
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Client: General
Target version:-

Description

Ran into this issue with village position being reset to null after being read from the village_sheet. This causes 2 bugs:

1) Buildings are not in the correct position.
2) Load/ForceLoad/Unload calculations are incorrect as they use the original village_sheet CenterX and CenterY values.

Patch included.

positionfix.diff - Position fix patch. Save position instead of setting to null (472 Bytes) Magnifier tebruno99, 11/26/2012 10:59 pm

sheetToIGpatch.diff (1.1 kB) Magnifier tebruno99, 11/27/2012 03:25 am

History

#1 Updated by tebruno99 over 5 years ago

After messing around some more, i'm not sure that the zonePos+sheetPos is the right choice for the position of the IG added to the IG array. Here is another alternative setting the IG position to the sheetPos because that seems visually to work better with the resources I was given.

I'm not sure which Coords to use for LoadDist, IG position, or sheet position so someone with more experience may have to dive into to that

#2 Updated by Botanic over 5 years ago

I was able to figure out that if you use an reference object the max plugin doesn't account for the position but if you use a scene reference it does. Seems to be a bug in the plugin making this unnecessary.

#3 Updated by Botanic over 5 years ago

however being able to use the x,y isnt a bad idea tbh

Also available in: Atom PDF