This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - iviaguic

Pages: 1 [2]
16
Miscellaneous / [QUESTION] Problems with CharacterCreate.XML
« on: March 29, 2013, 07:05:53 pm »
Hello EO.
I'm just here to see if anyone can help me sort out these problem, 'coz i've been looking guides, books, tutorials, etc and i can't fix this.

I'm implementing Worgens & Goblins to 335a, everything it's fine (for now), but i can't get to position the race icons on the creation screen in the right place!

What i want to do it's transform these icons:
[attachment=1:27k4ntma]WoWScrnShot_032913_185046.jpg[/attachment:27k4ntma]
Into this:
[attachment=0:27k4ntma]WoWScrnShot_032913_190139.jpg[/attachment:27k4ntma]
Here is my CharacterCreate.XML file:





<CheckButton name="CharacterCreateRaceButton1" inherits="CharacterCreateRaceButtonTemplate" id="1">
                        <Anchors>
                           <Anchor point="TOP" relativePoint="TOP" x="-50" y="-61"/>
                        </Anchors>
                     </CheckButton>
                     <CheckButton name="CharacterCreateRaceButton2" inherits="CharacterCreateRaceButtonTemplate" id="2">
                        <Anchors>
                           <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton1" relativePoint="BOTTOMLEFT" x="0" y="-21"/>
                        </Anchors>
                     </CheckButton>
                     <CheckButton name="CharacterCreateRaceButton3" inherits="CharacterCreateRaceButtonTemplate" id="3">
                        <Anchors>
                           <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton2" relativePoint="BOTTOMLEFT" x="0" y="-21"/>
                        </Anchors>
                     </CheckButton>
                     <CheckButton name="CharacterCreateRaceButton4" inherits="CharacterCreateRaceButtonTemplate" id="4">
                        <Anchors>
                           <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton3" relativePoint="BOTTOMLEFT" x="0" y="-21"/>
                        </Anchors>
                     </CheckButton>
                     <CheckButton name="CharacterCreateRaceButton5" inherits="CharacterCreateRaceButtonTemplate" id="5">
                        <Anchors>
                           <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton4" relativePoint="BOTTOMLEFT" x="0" y="-21"/>
                        </Anchors>
                     </CheckButton>
                     <CheckButton name="CharacterCreateRaceButton6" inherits="CharacterCreateRaceButtonTemplate" id="6">
                        <Anchors>
                           <Anchor point="TOP" relativePoint="TOP" x="50" y="-61"/>
                        </Anchors>
                     </CheckButton>
                     <CheckButton name="CharacterCreateRaceButton7" inherits="CharacterCreateRaceButtonTemplate" id="7">
                        <Anchors>
                           <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton6" relativePoint="BOTTOMLEFT" x="0" y="-21"/>
                        </Anchors>
                     </CheckButton>
                     <CheckButton name="CharacterCreateRaceButton8" inherits="CharacterCreateRaceButtonTemplate" id="8">
                        <Anchors>
                           <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton7" relativePoint="BOTTOMLEFT" x="0" y="-21"/>
                        </Anchors>
                     </CheckButton>
                     <CheckButton name="CharacterCreateRaceButton9" inherits="CharacterCreateRaceButtonTemplate" id="9">
                        <Anchors>
                           <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton8" relativePoint="BOTTOMLEFT" x="0" y="-21"/>
                        </Anchors>
                     </CheckButton>
                     <CheckButton name="CharacterCreateRaceButton10" inherits="CharacterCreateRaceButtonTemplate" id="10">
                        <Anchors>
                           <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton9" relativePoint="BOTTOMLEFT" x="0" y="-21"/>
                        </Anchors>
                     </CheckButton>
                     <CheckButton name="CharacterCreateRaceButton11" inherits="CharacterCreateRaceButtonTemplate" id="11">
                        <Anchors>
                           <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton5" relativePoint="BOTTOMLEFT" x="0" y="-14"/>
                        </Anchors>
                     </CheckButton>
                     <CheckButton name="CharacterCreateRaceButton12" inherits="CharacterCreateRaceButtonTemplate" id="12">
                        <Anchors>
                           <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton10" relativePoint="BOTTOMLEFT" x="0" y="-14"/>
                        </Anchors>
                     </CheckButton>





Thank you in advance ;)

17
Quote from: "XxXGenesisXxX"
The problem is your relative anchor points.

Look at button 11 (which I am assuming is Worgen.

<CheckButton name="CharacterCreateRaceButton11" inherits="CharacterCreateRaceButtonTemplate" id="11">
                        <Anchors>
                           <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton12" relativePoint="BOTTOMLEFT" x="0" y="-14"/>
                        </Anchors>
                     </CheckButton>

It is relative to button 12,

If you look at Button 1 and button 2 you will see that button 2 positions itself based on where button 1 is, meaning if you move button 1, button 2 will move aswell, because it is anchored to it. Then, button 3 is anchored to button 2, so if you button 2 moves, so does button 3. And of course this works as a chain. Button 1 moves, makes button 2 move, which makes button 3 move. This continues till button 6.

Button 7, is just like button 1, it has it's own starting point on the page to anchor to. Then 8, follows it onward from there and so on.

You need your new buttons to follow the right buttons. Button 11 needs to be anchored to button 6, and button 12 needs to be anchored to button 10. That's if button 11 is Worgen and button 12 is Goblin.

Hi there,

im afraid to say that didn't work :( ;(
SS:
[attachment=0:30ls97js]WoWScrnShot_032813_221411.jpg[/attachment:30ls97js]

Any idea?
P.S. Worgen is 12 and Goblin is 11

BTW Thanks for the help ;)

18
Quote from: "schlumpf"
Neither is this server side modding, nor do we know how you define "as wanted". Also, the forum lets you add screenshots as attachment.
Thx Schlumpf. Better now?

19
Hi there, how are u doing?

Well, i have what I consider a very big problem. When I edited my CharacterCreate.XML file, the race icons are not positionet as wanted. I followed a lot of guides and stuff, but i can't get them in their position.

I would really much appreciate your help!

Here my CharacterCreate.XML file:
Code: [Select]

<Frames>
<CheckButton name="CharacterCreateRaceButton1" inherits="CharacterCreateRaceButtonTemplate" id="1">
<Anchors>
<Anchor point="TOP" relativePoint="TOP" x="-50" y="-43"/>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton2" inherits="CharacterCreateRaceButtonTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton1" relativePoint="BOTTOMLEFT" x="0" y="-14"/>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton3" inherits="CharacterCreateRaceButtonTemplate" id="3">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton2" relativePoint="BOTTOMLEFT" x="0" y="-14"/>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton4" inherits="CharacterCreateRaceButtonTemplate" id="4">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton3" relativePoint="BOTTOMLEFT" x="0" y="-14"/>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton5" inherits="CharacterCreateRaceButtonTemplate" id="5">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton4" relativePoint="BOTTOMLEFT" x="0" y="-14"/>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton6" inherits="CharacterCreateRaceButtonTemplate" id="6">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton5" relativePoint="BOTTOMLEFT" x="0" y="-14"/>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton7" inherits="CharacterCreateRaceButtonTemplate" id="7">
<Anchors>
<Anchor point="TOP" relativePoint="TOP" x="50" y="-43"/>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton8" inherits="CharacterCreateRaceButtonTemplate" id="8">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton7" relativePoint="BOTTOMLEFT" x="0" y="-14"/>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton9" inherits="CharacterCreateRaceButtonTemplate" id="9">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton8" relativePoint="BOTTOMLEFT" x="0" y="-14"/>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton10" inherits="CharacterCreateRaceButtonTemplate" id="10">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton9" relativePoint="BOTTOMLEFT" x="0" y="-14"/>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton12" inherits="CharacterCreateRaceButtonTemplate" id="12">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton10" relativePoint="BOTTOMLEFT" x="0" y="-14"/>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton11" inherits="CharacterCreateRaceButtonTemplate" id="11">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton12" relativePoint="BOTTOMLEFT" x="0" y="-14"/>
</Anchors>
</CheckButton>


SS:
[attachment=0:1mjiwhx4]WoWScrnShot_032813_125219.jpg[/attachment:1mjiwhx4]
Thank you very much

Pages: 1 [2]