EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 05-20-2006, 08:37 AM
andrewsbrian andrewsbrian is offline
A Young Mystail Rat
 
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 4
Unhappy Level / Archtype in group window

ok, so I'm fairly new to programming the UI, and I'm trying to make a group window that displays level and archtype of players in your group. I've got everything looking good as far as placement of the text / image boxes goes, but now comes the troubble of getting the correct stuff to display.

I copied the level and archtype boxes from the Raid window (eq2ui_mainhud_raid.xml) and put it into my new group window, it appears as though it's not pulling the character information. Any thoughts?

Thanks,
Brian
Attached Files
File Type: xml eq2ui_mainhud_groupmembers.xml (20.4 KB, 417 views)
Reply With Quote
  #2  
Unread 05-20-2006, 01:04 PM
Savie Savie is offline
A Griffon
Featured
 
Join Date: Nov 2005
Server: Nagafen
Posts: 229
Default

Think you are missing the gamedata, I found this in another groupwindow http://www.eq2interface.com/download...fo.php?id=4242.

Code:
<Text AbsorbsInput="false" actiontype="Target" DynamicData="/GameData.Group.Group_1.Level" Font="/TextStyles.Normal.NormalStyle" LocalText="55" Location="35,13" Margin="1,1,1,1" Name="Level" PackLocation="top,left" PackLocationProp="0035/0001,0013/0001" PackSize="absolute,fixed" PackSizeProp="0120/0001,0002/0003" ScrollExtent="20,18" ShadowStyle="/ShadowStylesNew.OutlineDrop.style" Size="20,18" TextAlignment="Right" TextColor="#F0D090">55</Text>
Hope that helps some
__________________
~ Savie
92 Warden, Nagafen.
Reply With Quote
  #3  
Unread 05-20-2006, 03:06 PM
andrewsbrian andrewsbrian is offline
A Young Mystail Rat
 
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 4
Default

I'll check it out, thanks!
Reply With Quote
  #4  
Unread 05-20-2006, 10:21 PM
andrewsbrian andrewsbrian is offline
A Young Mystail Rat
 
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 4
Angry

ok, so the level box works now. the only thing is, the Archetype does not display correctly. I'm grouping with different archetypes, and no matter what their archetype, they're icon is always for a scout.

is there any kind of if statements that I need to put somewhere or what?

Lemmie know what I'm doing wrong.

Thanks,
Brian
Attached Files
File Type: xml eq2ui_mainhud_groupmembers.xml (20.9 KB, 394 views)
Reply With Quote
  #5  
Unread 05-21-2006, 12:30 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

1) you're using the "Class" DD rather than the "Archtype" DD.

2) Haven't tested this but I bet these DDs only return text info. If so, you'll need to add a hidden text object to accept the DD and an OnShow script to each MemberInfoPage that sets the icon style based on that text value. Something like...

Code:
<Page BackgroundColor="#00FF00" Name="MemberInfoPage" PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" ScrollExtent="153,63" Size="153,63" Visible="false" OnShow="ArchtypeIcon.Style=Archtype.text">
<Text AbsorbsInput="false" DynamicData="/GameData.Group.Group_1.Archtype" Name="Archtype" Location="-10,-10" Size="1,1"/>
Also remove the word "Archtype" from the ImageStyle names so their names match what the DD returns.
Reply With Quote
  #6  
Unread 05-21-2006, 02:33 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

Here is the code I use to get the class image to show for group members

Code:
<Button Name="ClassControler" OnActivate="
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">eXtremeClass</Button>
<text Font="/TextStyles.Normal.NormalStyle" DynamicData="/GameData.Group.Group_0.Subclass" Name="Class" Size="20,20" Visible="False"></text>
<Image Location="0,0" Name="Paladin" Size="20,20" SourceRect="159,0,241,81" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Shadowknight" Size="20,20" SourceRect="243,0,325,79" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Berserker" Size="20,20" SourceRect="0,0,82,78" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Guardian" Size="20,20" SourceRect="80,0,162,78" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Bruiser" Size="20,20" SourceRect="405,0,487,78" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Monk" Size="20,20" SourceRect="323,0,405,78" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Swashbuckler" Size="20,20" SourceRect="75,245,157,323" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Brigand" Size="20,20" SourceRect="240,245,322,323" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Dirge" Size="20,20" SourceRect="240,245,322,323" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Troubador" Size="20,20" SourceRect="0,245,82,323" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Ranger" Size="20,20" SourceRect="160,245,242,323" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Assassin" Size="20,20" SourceRect="319,244,401,322" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Wizard" Size="20,20" SourceRect="76,83,158,161" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Warlock" Size="20,20" SourceRect="240,84,322,162" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Illusionist" Size="20,20" SourceRect="405,79,487,157" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Coercer" Size="20,20" SourceRect="159,79,241,157" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Necromancer" Size="20,20" SourceRect="324,81,406,159" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Conjuror" Size="20,20" SourceRect="0,82,82,160" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Templar" Size="20,20" SourceRect="78,160,160,238" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Inquisitor" Size="20,20" SourceRect="157,165,239,243" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Warden" Size="20,20" SourceRect="323,164,405,242" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Fury" Size="20,20" SourceRect="240,161,322,239" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Mystic" Size="20,20" SourceRect="0,164,82,242" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
<Image Location="0,0" Name="Defiler" Size="20,20" SourceRect="404,163,486,241" SourceResource="images/ico_cls_symbls.dds" Stretch="True" Visible="False"/>
__________________
Landiin's EQ2MAP Updater Discussion Download
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 04:20 PM.


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