VGInterface.com
Search Downloads


Go Back   VGInterface > Developer Discussions > General Authoring Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 02-22-2009, 01:43 PM
Arkhaine Arkhaine is offline
Junior Member
Interface Author - Click to view interfaces
 
Join Date: Feb 2009
Posts: 2
Default Image help

I created this test image attached to this thread and I am not sure how I would create and .xml to access say the hud piece in the center right of the image.
1. How do I name that piece within the .tga, or find out what coordinates I would use
2. What would I have to write within the XML to reference just that part of the .tga

I am sorry if there has been any other posts about this, but when I tried doing a search I couldn't find anything really specific to my question and the tutorial's for the image editing didn't seem to help that much either

~Arkhaine
Attached Files
File Type: zip HudHealth.zip (35.3 KB, 313 views)
Reply With Quote
  #2  
Old 11-18-2009, 10:47 AM
Draven_Caine's Avatar
Draven_Caine Draven_Caine is offline
Member
Interface Author - Click to view interfaces
 
Join Date: Sep 2009
Posts: 81
Default

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<XML id="SGOUIMarkupLanguage" version="0.1">
<SkinAssets name="Vgrd" displayName="Vanguard"><--------name="prefix name"
<Animations>
<--- The start of the specific graphic--->
<AnimationInfo name="TitlebarTopLeft"><-----------Graphic title
<AnimationFrame tick="1000">
<TextureName>VgrdParts.tga</TextureName><----The graphic files name
<Rect x="15" y="0" width="7" height="11" /><----------------the X and Y axis of the file on the targa sheet (photoshops info panel will tell you whenyou mouse to the graphic top left corner
</AnimationFrame>
</AnimationInfo>
<---- The end of the specific graphic--->
</Animations>
</SkinAssets>
</XML>

To wite this specific file out it would be "VgrdTitlebarTopLeft"
Vgrd come from the skin assest line name="Vgrd"
TitlebarTopLeft comes from the texture line <TextureName>VgrdParts.tga</TextureName>

I hope this helps a bit,
Draven
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:38 PM.


Our Network
EQInterface | EQ2Interface | War.MMOUI | WoWInterface | VGInterface | LoTROInterface | MMOInterface