EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 12-08-2006, 10:34 PM
RickF7666's Avatar
RickF7666 RickF7666 is offline
A Griffawn
Interface Author - Click to view interfaces
 
Join Date: Jun 2005
Server: Oasis
Posts: 70
Default Background pictures

The eq2ui_mainhud_achievements window has a picture in the background that is specific for each Class. So if you log in with your Paladin you get a different picture than if you log in with a Wizard. Very cool. The command appears to be :

<Image Location="10,10" Name="ClassImage" PackLocation="cfc,cfc" PackLocationProp="0001/0001,0000/0001" ScrollExtent="632,471" Size="632,471" Style="/SpecialElements.ClassBackdrop.data.templar" Visible="false"/>

Unfortunatly, simply cutting a pasting this line into another UI peice doesn't work. I think it would be really nifty to be able to have different pictures or watermarks based on things like class or deity or what ever else you could come up with. I was wondering if someone been able to do this and could they point me in the right direction.

ps. Yes I did try getting rid of the Visible="false". All that did was show the Templar image, not one for the class of my character.
Reply With Quote
  #2  
Unread 12-08-2006, 11:24 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

You can find that functionality in ProfitUI's Persona window.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #3  
Unread 12-09-2006, 12:51 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

Actually I've been providing class specific functionality with my Broker window for about a year, even before SOE.

Just pipe the DD for player class to a text object in the window, then write an OnShow script to test for each class name and do whatever you want when true.

You can do the same for Artisan class, level, any DD with a predictable value or number range.
Reply With Quote
  #4  
Unread 12-09-2006, 08:26 PM
RickF7666's Avatar
RickF7666 RickF7666 is offline
A Griffawn
Interface Author - Click to view interfaces
 
Join Date: Jun 2005
Server: Oasis
Posts: 70
Default

Quote:
Originally Posted by Zonx
Actually I've been providing class specific functionality with my Broker window for about a year, even before SOE.

Just pipe the DD for player class to a text object in the window, then write an OnShow script to test for each class name and do whatever you want when true.

You can do the same for Artisan class, level, any DD with a predictable value or number range.

Ok so how do you write an onshow script? Still learning.
Reply With Quote
  #5  
Unread 12-10-2006, 02:21 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

This is the code I use for the class image on eXtreme's start button, I also use in in the group window for Arch Type images.

When the window is made visible it activates a controller object that runs the following script.

Code:
Parent.Paladin.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Paladin)
Parent.Shadowknight.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Shadowknight)
Parent.Berserker.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Berserker)
Parent.Guardian.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Guardian)
Parent.Bruiser.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Bruiser)
Parent.Monk.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Monk)
Parent.Swashbuckler.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Swashbuckler)
Parent.Brigand.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Brigand)
Parent.Dirge.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Dirge)
Parent.Troubador.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Troubador)
Parent.Ranger.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Ranger)
Parent.Assassin.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Assassin)
Parent.Wizard.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Wizard)
Parent.Warlock.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Warlock)
Parent.Illusionist.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Illusionist)
Parent.Coercer.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Coercer)
Parent.Necromancer.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Necromancer)
Parent.Conjuror.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Conjuror)
Parent.Templar.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Templar)
Parent.Inquisitor.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Inquisitor)
Parent.Warden.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Warden)
Parent.Fury.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Fury)
Parent.Mystic.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Mystic)
Parent.Defiler.Visible=(Test ? True : False) Test=(Parent.Class.LocalText==Defiler)
Activated=False
You can also do

Code:
Parent.ClassPic.Style=(Test ? /SpecialElements.ClassBackdrop.data.berserker : '') Test=(Parent.Class.LocalText==Beserker)
With the above code you can use the image style SOE uses.
__________________
Landiin's EQ2MAP Updater Discussion Download

Last edited by Landiin : 12-10-2006 at 02:24 AM.
Reply With Quote
  #6  
Unread 12-10-2006, 08:40 AM
thorvang thorvang is offline
A Rumbleroot Sapling
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 68
Default

won't

Parent.Paladin.Visible=Parent.Class.LocalText==Paladin

do the same?
Reply With Quote
Reply



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 11:59 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI