VGInterface.com
Search Downloads


Go Back   VGInterface > Developer Discussions > Graphics modification help and discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 09-20-2007, 12:42 PM
Bristols Bristols is offline
Member
Interface Author - Click to view interfaces
 
Join Date: Feb 2007
Posts: 55
Default Animations

Alright, I searched the XML and TGA files up and down, I can't seem to find any location where animations are defined.

Button Animations appear to have 4 graphical state definitions:
  1. ButtonNormal
  2. ButtonPressed
  3. ButtonFlyby
  4. ButtonDisable
I'm going by memory, sorry if this is in someway incorrect.
Is it basically hard-coded that a button animation follows a series of events based on the end of it's animation name?

Thank you to all for tolerating my noob-ness...
__________________
Reply With Quote
  #2  
Old 09-21-2007, 02:30 AM
eugam eugam is offline
Junior Member
Interface Author - Click to view interfaces
 
Join Date: Jan 2007
Posts: 22
Default

Either hardcoded or the templates are defined somewhere far outside of the skins folder.
Reply With Quote
  #3  
Old 09-21-2007, 07:56 AM
Mother9987's Avatar
Mother9987 Mother9987 is offline
Senior Member
Interface Author - Click to view interfaces
 
Join Date: Apr 2006
Posts: 153
Default

The extention that is appended to the end is hard coded.

So if you have something like:
Code:
  <UseControl type="Button">
   <Button type="template" custom="true" noFrame="true" textColor="gold">
    <Rect x="1" y="1" width="144" height="30"/>
    <Template>ButtonGraphic</Template>
    <DisplayName></DisplayName>
    <GraphicName label="ButtonGraphic" isBaseName="false">
     <Name>MothersMenuEquipment</Name>
    </GraphicName>
   </Button>
   <Settings name="_equip"/>
  </UseControl>
The graphics it looks for in your textures xml will be called
MenuEquipmentNormal
MenuEquipmentFlyBy
MenuEquipmentPressed
etc.
So, if you don't really want to define each of them, just point all 6? of those animations to the same graphic or else when it finds one you haven't defined, the button will simply vanish.
__________________
The reward for toil is more toil. If you dig the best ditches, they pay you with a bigger shovel.
Reply With Quote
  #4  
Old 09-21-2007, 12:01 PM
Bristols Bristols is offline
Member
Interface Author - Click to view interfaces
 
Join Date: Feb 2007
Posts: 55
Default

Thank you both for your replies.
__________________
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 -4. The time now is 04:33 AM.

Contact Us - VGInterface - Terms of Service - Privacy Statement - Top

Our Network
EQInterface | EQ2Interface | WoWInterface | VGInterface | LoTROInterface | MMOInterface