View Single Post
  #3  
Unread 04-26-2008, 10:55 AM
Cleitanious's Avatar
Cleitanious Cleitanious is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Aug 2007
Posts: 92
Right now Im borrowing the code form the Antonica UI and its working great. So Ill use that for my base from here on out. I pasted this at the beginning of the XML for the new book 13 skin pack and all is well (As long as copying over the new fervour bar graphics which are a different size.. Here is the code:

Code:
<!-- Toolbar -->
	<Mapping ArtAssetID="LetterBoxBottom" FileName="letterbox_bottom.tga"></Mapping>

	<PanelFile ID="toolbar">
		<Element ID="ToolbarField" X="0" Y="900" Width="1024" Height="90" Detach="1">

<!-- You can change the line above for other resolutions:		-->
<!-- for 1024x768:		<Element ID="ToolbarField" X="0" Y="678" Width="1024" Height="90" Detach="1">      -->
<!-- for 1280x1024:		<Element ID="ToolbarField" X="128" Y="934" Width="1024" Height="90" Detach="1">  -->
<!-- for 1440x990:		<Element ID="ToolbarField" X="208" Y="900" Width="1024" Height="90" Detach="1">  -->
<!-- for 1680x1050:		<Element ID="ToolbarField" X="328" Y="960" Width="1024" Height="90" Detach="1">  -->

	<Element ID="ToolbarFieldMain" X="0" Y="0" Width="1024" Height="90"></Element>

			<Element ID="LevelMeter" X="107" Y="76" Width="732" Height="11">
				<Element ID="LevelMeterFill" X="0" Y="0" Width="732" Height="11">
				<Element ID="LevelMeter_BonusMeter" X="0" Y="0" Width="732" Height="11">
			</Element>
        </Element>
		
    <Element ID="ToolbarButton_LevelUpXP_TutorialHighlight" X="1" Y="1" Width="1" Height="1"></Element>
    <Element ID="ToolbarButton_Experience_TutorialHighlight" X="0" Y="1" Width="1" Height="1"></Element>
    <Element ID="LevelMeterText" X="0" Y="0" Width="1" Height="1"></Element>
    </Element>

    <Element ID="AutoAttackIndicatorButton" X="1" Y="1" Width="1" Height="63"></Element>
    <Element ID="ViolentModeIndicator" X="1" Y="1" Width="1" Height="1"></Element>
	<Element ID="ToolbarButton_AutoAttack_TutorialHighlight" X="1" Y="1" Width="1" Height="1"></Element>
	<Element ID="GamePlay_FervorPipDisplay" X="2" Y="77" Width="100" Height="10"></Element>
	<Element ID="GamePlay_AimPipDisplay" X="2" Y="77" Width="100" Height="10"></Element>
	
	<Element ID="ToolBarButton_MainMenu" X="88" Y="44" Width="1" Height="1"></Element>
	<Element ID="ToolbarButton_Crafting" X="158" Y="44" Width="1" Height="1"></Element>
	<Element ID="ToolbarButton_Social" X="228" Y="44" Width="1" Height="1"></Element>
	<Element ID="ToolbarButton_Accomplishment" X="298" Y="44" Width="1" Height="1"></Element>
	<Element ID="ToolBarButton_Quest" X="368" Y="44" Width="1" Height="1"></Element>
	<Element ID="ToolbarButton_Journal" X="438" Y="44" Width="1" Height="1"></Element>
	
	<Element ID="ToolbarButton_Inventory" X="311" Y="41" Width="1" Height="1"></Element>
	<Element ID="ToolBarButton_Inventory2" X="281" Y="41" Width="1" Height="1"></Element>
	<Element ID="ToolBarButton_Inventory3" X="251" Y="41" Width="1" Height="1"></Element>
	<Element ID="ToolBarButton_Inventory4" X="221" Y="41" Width="1" Height="1"></Element>
	<Element ID="ToolBarButton_Inventory5" X="191" Y="41" Width="1" Height="1"></Element>
	
	<Element ID="Toolbar_Quickslot" X="1" Y="37" Width="420" Height="35"></Element>
    </Element>
</PanelFile>
I made the experience bar twice as fat (2x) height, but the texture is more like 2 exp bars, which is fine. I guess the xp bar isnt skinable yet? I'd like for it to go across the whole screen at 1440x990 resolution, but I cant make it work right myself if I try to make it longer. Right now its about 1/3 as long as my screen.

The Fervour bar is actually to the left of the exp bar and is little bubbles (you can see their size defined in the code) instead of the normal half circle type dealio.

The attack button doesnt exist, It's worthless to me since I know when I am attacking.

I guess the only thing I need help with at this point is making the exp bar go the rest of the way across the screen and not being all wonky, if thats even possible.
__________________
I believe in science and that science can explain everything,
Because God has made it all work in such a beautiful way.
Reply With Quote