EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Interface Discussion > Beta

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 10-20-2005, 11:35 AM
hirebrand hirebrand is offline
Bellum Aeternus
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Unkown
Posts: 165
Default Groupmembers w/ archetype -- need help

Can someone help me with my conditional operators for this mod? It doesn't work.

Link about conditional operator.

Here's the relevant snippet. I have 4 images in this page that are invisible by default that correspond with the 4 archetypes. My idea was that a group member joins the MemberInfoPage becomes visible. OnShow is activated. If that member's archetype = whatever, then make whatever icon visible. But everything stays invisible, even when I hide and reshow the window mid-group.

Code:
<Page 
BackgroundColor="#00FF00" 
Name="MemberInfoPage" 


OnShow="
Scout_Icon.Visible=( GameData.Group.Group_1.Archetype == 'Scout' ? true : false ) Fighter_Icon.Visible=( GameData.Group.Group_1.Archetype == 'Fighter' ? true : false ) Mage_Icon.Visible=( GameData.Group.Group_1.Archetype == 'Mage' ? true : false ) Priest_Icon.Visible=( GameData.Group.Group_1.Archetype == 'Priest' ? true : false )"
PackLocation="left,top" PackLocationProp="0000/0001,0000/0001" ScrollExtent="125,50" Size="125,50" >
Also if you can think of a different way to do this that would be great.
Attached Thumbnails
Click image for larger version

Name:	sfdgsf.jpg
Views:	546
Size:	4.1 KB
ID:	3892  
Attached Files
File Type: zip grouptest.zip (3.6 KB, 371 views)
Reply With Quote
  #2  
Unread 10-20-2005, 11:58 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

I have played with any of these yet with all the changes flying around.

I would try just changing up how you format it, to see how soe wants it. I would leave out any white-space as the script parser seems not to really like them.

Scout_Icon.Visible="GameData.Group.Group_1.Archetype=='Scout'?True:False"
Scout_Icon.Visible="GameData.Group.Group_1.Archetype='Scout'?True:False"
Scout_Icon.Visible="GameData.Group.Group_1.Archetype==Scout?True:False"
Scout_Icon.Visible="GameData.Group.Group_1.Archetype=Scout?True:False"
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #3  
Unread 10-20-2005, 12:09 PM
Mahonri's Avatar
Mahonri Mahonri is offline
Human Paladin
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Kithicor
Posts: 209
Thumbs Up

Excellent idea! I'd take a look myself, but I'm not home right now... I'm really interested to see how this turns out though.
__________________
Dyre -Pre-Beta Info- -Portal-

Last edited by Mahonri : 10-20-2005 at 12:17 PM.
Reply With Quote
  #4  
Unread 10-20-2005, 03:13 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

I think conditional statements were tried to be tackled a while back, but I haven't been around in a bit to know if someone got them working
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #5  
Unread 10-20-2005, 03:28 PM
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

Quote:
Originally Posted by Drumstix42
I think conditional statements were tried to be tackled a while back, but I haven't been around in a bit to know if someone got them working
SOE said they added them with live update 13 but I havn't had the time or want to test them with all the exp grinding & UI changes I have to do now lol
__________________
Landiin's EQ2MAP Updater Discussion Download

Last edited by Landiin : 10-20-2005 at 03:32 PM.
Reply With Quote
  #6  
Unread 10-20-2005, 03:39 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Ah ok sweet. Conditional statements would be pretty sweet to have to use.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #7  
Unread 10-27-2005, 07:54 PM
hirebrand hirebrand is offline
Bellum Aeternus
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Unkown
Posts: 165
Default

I sent a note to Raijin Thunderguard and he replied, "I'll see if I can get you some info on that. Thanks!"

Big Props for the RJ!
Reply With Quote
  #8  
Unread 10-28-2005, 09:12 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

Its prob busted like most things in eq2 now:/ ( yea I'm not a big fan atm )
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #9  
Unread 10-30-2005, 12:53 AM
pooka's Avatar
pooka pooka is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Antonia Bayle
Posts: 250
Default

I decided against the conditionals as they're not really necessary, but I can't get it to update automatically as people join and leave the group. I'm using a hacked work around OnHoverIn to force the update, and it does work, just not the way it should. Here's what I've got so far, perhaps somebody sees what I'm missing.

Code:
<ImageStyle Name="Scout">
<ImageFrame Source="/images/widgets01.dds" SourceRect="216,125,248,156"/>
</ImageStyle>
<ImageStyle Name="Priest">
<ImageFrame Source="/images/widgets01.dds" SourceRect="217,43,249,74"/>
</ImageStyle>
<ImageStyle Name="Mage">
<ImageFrame Source="/images/widgets01.dds" SourceRect="215,83,249,118"/>
</ImageStyle>
<ImageStyle Name="Fighter">
<ImageFrame Source="/images/widgets01.dds" SourceRect="217,4,249,34"/>
</ImageStyle>
as an example here is member #2:
Code:
<Page BackgroundColor="#00FF00" Location="1,1" Name="MemberInfoPage"
OnShow="ArchetypeIcon.Style=GameData.Group.Group_1.Archetype" PackLocation="left,top" PackLocationProp="0001/0001,0001/0001" ScrollExtent="114,47" Size="114,47" Visible="false">

<Image Location="38,29" Name="ArchetypeIcon" ScrollExtent="17,17"
Size="17,17" Style="Scout"/>

<Text AbsorbsInput="false" DynamicData="/GameData.Group.Group_2.Archetype"
Font="/TextStyles.Normal.NormalStyle" LocalText="Scout" Location="0,29"
Margin="1,0,1,1" Name="Archetype"
OnHoverIn="Parent.ArchetypeIcon.Style=LocalText" ScrollExtent="91,18"
ShadowStyle="/ShadowStylesNew.HeavyDrop.style" Size="91,18"
TextColor="#FBF1D9">Scout</Text>
Reply With Quote
  #10  
Unread 10-30-2005, 05:31 AM
depechenode's Avatar
depechenode depechenode is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Toxxulia
Posts: 584
Default

I am getting closer!!
It works in UIBuilder, but in game it doesn't yet.
Trying to figure out where I need the trigger placement.

When in UIBuilder, if in 'run' mode, the actions I have set do indeed display the correct icon. I have to manually enter the text for the archetype of course since it is not a live event, but when I change the text, the correct icon now displays.

All I need to figure out is, if in the LIVE game, I am passing the correct parameter and/or triggering the correct event.

Will continue working on this...
Reply With Quote
  #11  
Unread 10-30-2005, 11:06 AM
depechenode's Avatar
depechenode depechenode is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Toxxulia
Posts: 584
Default

I am EVEN CLOSER YET!!!!!


Now I got it to properly show the CORRECT archetype icon when a member joins!

All I need to figure out now, is how to get the window to "reupdate" when a member leaves and a 'new' archetype joins in that slot. Once I figure how to do this, I will have solved the Archetype Icons Display in the group window!!!

I am working on this now....
Reply With Quote
  #12  
Unread 11-06-2005, 10:28 AM
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 hirebrand
I sent a note to Raijin Thunderguard and he replied, "I'll see if I can get you some info on that. Thanks!"

Big Props for the RJ!

Any response yet from RJ?
Reply With Quote
  #13  
Unread 11-09-2005, 03:30 PM
trapp1700 trapp1700 is offline
A Grove Wisp
 
Join Date: Jan 2005
Server: Antonia Bayle
Posts: 27
Default

Can you share what you do have working so far, Node? So sorry you lost what you had.

Where are y'all inputting this?
Reply With Quote
  #14  
Unread 11-11-2005, 04:41 PM
nomad980 nomad980 is offline
A Crazed Gnoll
 
Join Date: Jul 2005
Server: Unrest
Posts: 23
Default

Like I had posted somewhere else by mistake:

Quote:
Any luck with this? I found someone that had something similar on here, http://www.eq2interface.com/downloa...nfo.php?id=4053 Well I am off to try and figure this out.
Reply With Quote
  #15  
Unread 11-17-2005, 10:55 AM
tangent tangent is offline
A Forest Scavenger
Interface Author - Click to view interfaces
 
Join Date: Apr 2005
Server: Antonia Bayle
Posts: 15
Default Attributes cannot be assigned a variable value

I believe the reason that none of these attempts work is the following. Some attributes cannot be assigned a variable value. This includes both 'style' and 'visible'.

For example, the following attribute assignments do not work.

Code:
<Image Name="Icon1" ScrollExtent="40,40" Size="40,40" Style="(Var)" Var="MyStyle"/>
<Image Name="Icon2" ScrollExtent="40,40" Size="40,40" Style="MyStyle" Var="false" Visible="(Var)"/>
I have been working on making archtypes work in the groupmember window as well but I think as long as the above is true it is impossible.

It would be nice to have a list of attributes that cannot be assigned a variable. It would be nicer to have this fixed :-)

Last edited by tangent : 11-17-2005 at 10:58 AM.
Reply With Quote
  #16  
Unread 11-17-2005, 05:22 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

I can get the archetype stuff to display properly, once you mouse over it updates the to correct icon pic. In text mode, the archetype always aupdates no problem when a new member or different member takes up a slot. The archetype will change as it should, but the picture (icon) won't until I mouse over forcing the icon to update. Same thing Hirebrand got to in his mod.

I thought I had it working however, icon update without mouse over, but in all my excitement, I did not save the file and it is gone forever. NO, unfortunately I do not remember what I did, as I was trying like over 100 ways to get this to work. My brain hurts still from that night.

It seems so simple though, if the text version of the archetype will update easily, why can't we get the icon to do the same?

I really wish RJ would respond to Hirebrand and get us the correct/needed syntax for the enabled conditionals.
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 06:19 AM.


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