View Single Post
Old 07-30-2002, 07:18 PM   #1
Weredragon
A Ghoul
 
Join Date: Jul 2002
Posts: 12
Send a message via AIM to Weredragon Send a message via Yahoo to Weredragon
Question Why does this not show the button?

I do not know what I done wrong... instead of a button for the barbarian character selection, I get no button and text. So I will post what I changed or added, and I hope someone could find my folly. Also will be included is the only graphics I tried to test, that didn't show up.

EQCLIENT.INI:
UISkin=<your directory of the skin for Character selection>


EQUI_Animations.xml:
...
<TextureInfo item = "barbbtn.tga">
<Size>
<X>96</X>
<Y>120</Y>
</Size>
</TextureInfo>
...
<Ui2DAnimation item = "BTN_Barbarian_UP">
<Cycle>true</Cycle>
<Frames>
<Texture>barbbtn.tga</Texture>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>96</CX>
<CY>24</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>
<Ui2DAnimation item = "BTN_Barbarian_FB">
<Cycle>true</Cycle>
<Frames>
<Texture>barbbtn.tga</Texture>
<Location>
<X>0</X>
<Y>24</Y>
</Location>
<Size>
<CX>96</CX>
<CY>24</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>
<Ui2DAnimation item = "BTN_Barbarian_DN">
<Cycle>true</Cycle>
<Frames>
<Texture>barbbtn.tga</Texture>
<Location>
<X>0</X>
<Y>48</Y>
</Location>
<Size>
<CX>96</CX>
<CY>24</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>
<Ui2DAnimation item = "BTN_Barbarian_FBP">
<Cycle>true</Cycle>
<Frames>
<Texture>barbbtn.tga</Texture>
<Location>
<X>0</X>
<Y>72</Y>
</Location>
<Size>
<CX>96</CX>
<CY>24</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>
<Ui2DAnimation item = "BTN_Barbarian_DS">
<Cycle>true</Cycle>
<Frames>
<Texture>barbbtn.tga</Texture>
<Location>
<X>0</X>
<Y>96</Y>
</Location>
<Size>
<CX>96</CX>
<CY>24</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>
...

EQUI_CharacterCreate.xml:
<Button item = "CC0_Race0_Button">
<ScreenID>CC0_Race0_Button</ScreenID>
<RelativePosition>true</RelativePosition>
<Location>
<X>2</X>
<Y>45</Y>
</Location>
<Size>
<CX>96</CX>
<CY>24</CY>
</Size>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<Style_Checkbox>true</Style_Checkbox>
<RadioGroup>CC0_Race_Radios</RadioGroup>
<Text>Barbarian</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
<Alpha>255</Alpha>
</TextColor>
<ButtonDrawTemplate>
<Normal>BTN_Barbarian_UP</Normal>
<Pressed>BTN_Barbarian_DN</Pressed>
<Flyby>BTN_Barbarian_FB</Flyby>
<Disabled>BTN_Barbarian_DS</Disabled>
<PressedFlyby>BTN_Barbarian_FBP</PressedFlyby>
</ButtonDrawTemplate>
</Button>

Now this was to put a Barbarian Button on Character select, but it doesn't... Someone try to find what I did wrong.

Here is the TGA File I made
__________________
Never invoke the Dragon's Rage, You would never escape it
Weredragon is offline   Reply With Quote