About a year ago, I made a UI layout file for my current game, and it worked fine. Now, I've decided to move the command card a bit down and to the right (which should be an easy change. Just modifying a few frame anchors) and have been unable to get my file to compile any time I change one of these fields.
My current layout file, which works, is:
<Frametype="CommandPanel"name="GameUI/UIContainer/ConsoleUIContainer/CommandPanel"file="GameUI"><BatchImagesval="true"/><BatchTextval="true"/><Anchorside="Bottom"relative="$parent"pos="Max"offset="50"/><Anchorside="Left"relative="$parent"pos="Mid"offset="0"/><Anchorside="Right"relative="$parent"pos="Mid"offset="0"/><Widthval="1700"/><Heightval="200"/><Frametype="CommandTooltip"name="CommandTooltip"><Anchorside="Bottom"relative="$parent"pos="Max"offset="-130"/><Anchorside="Right"relative="$parent"pos="Mid"offset="220"/></Frame><Frametype="Image"name="CommandTargetImage"><Anchorside="Bottom"relative="$parent"pos="Max"offset="9999"/><Anchorside="Right"relative="$parent"pos="Mid"offset="9999"/></Frame><Frametype="CommandButton"name="CommandButton00"><Anchorside="Top"relative="$parent"pos="Min"offset="9999"/><Anchorside="Left"relative="$parent"pos="Mid"offset="0"/></Frame><Frametype="CommandButton"name="CommandButton05"><Anchorside="Top"relative="$parent"pos="Min"offset="50"/><Anchorside="Left"relative="$parent"pos="Mid"offset="40"/></Frame><Frametype="CommandButton"name="CommandButton10"><Anchorside="Top"relative="$parent"pos="Min"offset="50"/><Anchorside="Left"relative="$parent"pos="Mid"offset="-400"/></Frame></Frame>
All that I'm trying to do is change the anchors of the Command Panel to something more like this:
<Frametype="CommandPanel"name="GameUI/UIContainer/ConsoleUIContainer/CommandPanel"file="GameUI"><BatchImagesval="true"/><BatchTextval="true"/><Anchorside="Bottom"relative="$parent"pos="Max"offset="0"/><Anchorside="Right"relative="$parent"pos=“Max”offset="0"/><Anchorside=“Top”relative="$this” pos=“Min” offset="0"/><Anchorside="Left"relative="$this” pos=“Min” offset="0"/><Widthval="1700"/><Heightval="200"/>
However, when I try to compile this, I get a parsing error. What am I doing wrong?
Please help me here. I've been bashing my head against a wall of ignorance for days now. =3
I re-posted a partial fragment because that fragment was the only portion that I had altered. Ergo, the error HAD to exist in that portion of the code. (not always true, but certainly applicable with the tiny layout file I'm using) And, sure enough, it did.
About a year ago, I made a UI layout file for my current game, and it worked fine. Now, I've decided to move the command card a bit down and to the right (which should be an easy change. Just modifying a few frame anchors) and have been unable to get my file to compile any time I change one of these fields.
My current layout file, which works, is:
However, when I try to compile this, I get a parsing error. What am I doing wrong?
Please help me here. I've been bashing my head against a wall of ignorance for days now. =3
posting only parts of the xml while having a parsing error is pretty smart.
maybe the end </Frame> tag missing?
It's funny because your mistake is actually highlighted in your post if you look at it :)
You've mixed some curly quote marks ( ” ), while the only legitimate quotation mark is the straight one ( ").
@FunkyUserName: Go
I re-posted a partial fragment because that fragment was the only portion that I had altered. Ergo, the error HAD to exist in that portion of the code. (not always true, but certainly applicable with the tiny layout file I'm using) And, sure enough, it did.
@SomeoneTookMyNameTT: Go
Thank you SO MUCH!
It never even occurred to me that the problem might be the compiler expecting only one kind of quotation mark. Q.Q
Should be able to get it working now, but I'll post again if something unforeseen crops up. (=