Lookin' good. A few more formatting things and it's all ready.
First, for each Icon object, we need to make sure they're the following format:
Location="integer,integer"
On some auto-generated XMLs they're generating as:
Location="integer, integer"
Notice the space between the comma and the second integer. Maybe a catch to remove spaces during generation is all that's needed?
pathfindlocation isn't quite right. Hopefully this won't require any hand editing of entries, just a scripting change somewhere. It should look like this:
pathfindlocation="number, number, number"
Notice there ARE spaces. Most, if not all, auto-generating XMLs are lacking these spaces.
More importantly, there needs to be a few more checks placed when creating the Icon name. They need to be stripped of any punctuation and symbols. numbers and letters is all that should be allowed. The reason I bring this up is I came across a few Icons with names that had a slash or a comma in them, and this'll cause trouble down the road for the project.
Quib
|