Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Serverside Modding => Topic started by: Curas on November 12, 2010, 12:15:24 am
-
We've got a little problem with our character creation screen, we have the races "Tauren" "Troll" and "Draenei" declared as unplayable. The orcs, we have swapped to Humans. Now I want the "Orc-Humans" where the orcs should be and not where the Draenei are. I'm a total noob with XML, you may have a solution for us?
(http://caleron.ca.funpic.de/download/images/charactercreation.JPG)
Best Regards
Curas
-
(http://img40.imageshack.us/img40/7807/step10z.png)
Replace the orcs portrait with the human portait and the elf portrait with the troll portrait :)
-
I want that the Humans at the bottom of the alliance flag be at the top of the horde flag here is my CharacterCreate.xml
<CheckButton name="CharacterCreateRaceButton1" inherits="CharacterCreateRaceButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="35" y="-68"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton2" inherits="CharacterCreateRaceButtonTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton3" inherits="CharacterCreateRaceButtonTemplate" id="3">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton2" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton4" inherits="CharacterCreateRaceButtonTemplate" id="4">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton3" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton5" inherits="CharacterCreateRaceButtonTemplate" id="5">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton4" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton6" inherits="CharacterCreateRaceButtonTemplate" id="6">
<Anchors>
<Anchor point="LEFT" relativeTo="CharacterCreateRaceButton1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="49" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton7" inherits="CharacterCreateRaceButtonTemplate" id="7">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton6" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="CharacterCreateRaceButton8" inherits="CharacterCreateRaceButtonTemplate" id="8">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton7" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
If I change anything in this file it's result in a critical error :udumb:
[spoiler:26es09rl](http://caleron.ca.funpic.de/download/images/charactercreation2.jpg)[/spoiler:26es09rl]
Regards
Curas
EDIT:
New Screenshot added
-
It's solved. /close plz
Regards
Curas
-
How it is solve. Please write down all your experience that other can learn from it.
-
As your wish, Steff.
After trying change the coordinates in the CharacterCreate.xml, I finally get the right button:
<CheckButton name="CharacterCreateRaceButton5" inherits="CharacterCreateRaceButtonTemplate" id="5">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton4" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
I just changend the <AbsDimension x="0" y="-5"/> to <AbsDimension x="95" y="45"/> and the Button we're on the right position. But the CharacterCustomization was also moved huge so I changed the CharacterCreateGenderButtonMale, cuz it's relative to CharacterCreateRaceButton5, take a look at this:
Before:
<CheckButton name="CharacterCreateGenderButtonMale" inherits="CharacterCreateGenderButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton5" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="25" y="-15"/>
</Offset>
</Anchor>
</Anchors>
After:
<CheckButton name="CharacterCreateGenderButtonMale" inherits="CharacterCreateGenderButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton5" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="-70" y="-65"/>
</Offset>
</Anchor>
</Anchors>
ONLY change the Coordinates at <AbsDimension>, every other change in that file would end in an critical error. So after changing the coordinates for the "CharacterCreateRaceButton5"
from
<AbsDimension x="0" y="-5"/>
to
<AbsDimension x="95" y="45"/> just change the coordinates for the "CharacterCreateGenderButtonMale"
<AbsDimension x="25" y="-15"/>
to
<AbsDimension x="-70" y="-65"/>
The Result:
(http://caleron.ca.funpic.de/download/images/charactercreation-final.jpg)