View Single Post
  #11  
Unread 08-04-2005, 05:01 PM
depechenode's Avatar
depechenode depechenode is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Toxxulia
Posts: 584
Default

Quote:
Originally Posted by lollygagger
Looking for the .xml for this Mod.

depechenode, did not seem to attatch it.

Anyone out there have the source?

//lollygagger

Here is my source code: eq2ui_mainhud_inventory.xml

<?xml version="1.0" encoding="utf-8"?>
<Page Activated="true" AlwaysOnTop="True" eq2usescomwndcontrols="true" Location="101,638" Name="Inventory" OnHide="visible=true" OnHoverIn="OnHide=&apos; &apos;" PackLocation="left,top" PackLocationProp="0101/0001,0638/0001" ScrollExtent="129,47" Size="129,47" UserMovable="true">
<Page eq2usescomwndcontrols="true" Name="EquipmentPage" PackLocation="fixed,fixed" ScrollExtent="129,46" Size="129,46">
<Icon BackgroundTint="#000000" DynamicData="/GameData.Items.Equipment" IconStyle="/IconStyles.inventory" LocalTooltip="Activateable1" MouseOverColor="#FFFF00" Name="EqSlot18" Opacity="0.000" ScrollExtent="42,42" Size="42,42" Tooltip="Activateable1" TreatAsButton="true"/>
<Image AbsorbsInput="false" Name="Activateable18" ScrollExtent="42,42" Size="42,42" SourceRect="155,198,196,240" SourceResource="images/equip_back.dds" Stretch="false" Style=" "/>
<Icon BackgroundTint="#000000" DynamicData="/GameData.Items.Equipment" IconStyle="/IconStyles.inventory" LocalTooltip="Activateable2" Location="43,0" MouseOverColor="#FFFF00" Name="EqSlot19" Opacity="0.000" ScrollExtent="42,42" Size="42,42" Tooltip="Activateable2" TreatAsButton="true"/>
<Image AbsorbsInput="false" Location="43,0" Name="Activateable19" ScrollExtent="42,42" Size="42,42" SourceRect="155,198,196,240" SourceResource="images/equip_back.dds" Stretch="false" Style=" "/>
<Icon AbsorbsInput="false" BackgroundTint="#000000" DynamicData="/GameData.Items.Equipment" IconStyle="/IconStyles.inventory" LocalTooltip="Ammo" Location="86,0" MouseOverColor="#FFFF00" Name="EqSlot16" Opacity="0.000" ScrollExtent="42,42" Size="42,42" Tooltip="Ammo" TreatAsButton="true"/>
<Image AbsorbsInput="false" Location="86,0" Name="Ammo7" ScrollExtent="42,42" Size="42,42" SourceRect="200,153,242,194" SourceResource="images/equip_back.dds" Stretch="false" Style=" "/>
</Page>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="WC_Backdrop" PackLocation="top,left" PackLocationProp="0000/0001,0000/0001" RStyleDefault="/FrameStyles.background_gold" ScrollExtent="128,42" Size="128,42"/>
</Page>

The .xml is saved as eq2ui_mainhud_inventory.xml in my CUSTOM UI folder, and you must add the next line listed to the eq2ui_mainhud.xml file (in the same folder):
<include>eq2ui_mainhud_inventory.xml</include>

This eq2ui_mainhud.xml is in my custom mod directory.
So if you are already using a custom eq2ui_mainhud.mxl, just add that line somewhere before the /page command toward the bottom.

Next, to view the window in game, use the command :

/show_window mainhud.inventory

Now since you "unhid" the window and it is now visable, the settings should save on subsequent logins and you should see the window everytime you relog on. To REHID this window, simply use the command:

/hide_window mainhud.inventory


-OR- you can modify another window in your custom directory to tell this window to display every time you log on, I use my eq2ui_mainhud_player.xml window to do this by adding on show events to display this window.

Last edited by depechenode : 08-04-2005 at 05:05 PM.
Reply With Quote