lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > Lua Programming Help (L)

Reply
Thread Tools Display Modes
  #1  
Unread 09-14-2010, 07:19 AM
Heta Heta is offline
The Undefeated
Interface Author - Click to view interfaces
 
Join Date: Sep 2010
Location: Germany
Posts: 8
A Couple of Questions

Hi,
since the beta forum is down, I will now try my luck here.

1.
How can I create a skill/buff icon with the hex code of the buff?
So far I have got the Buffsymbol only with the 10-digit number of "effects:getIcon ()".

2.
How can I unless a condition is true, for example change a backgroundimage, color etc. every 2 seconds, without high CPU utilization?

3.
Is it possible to change the backgroundcolor, font, style, etc. of "Turbine.UI.ContextMenu()" ?


Regards
Reply With Quote
  #2  
Unread 09-14-2010, 07:48 PM
ForsakenArcher ForsakenArcher is offline
The Wary
 
Join Date: Sep 2010
Posts: 3
Quote:
Originally Posted by Heta
Hi,
since the beta forum is down, I will now try my luck here.

1.
How can I create a skill/buff icon with the hex code of the buff?
So far I have got the Buffsymbol only with the 10-digit number of "effects:getIcon ()".

2.
How can I unless a condition is true, for example change a backgroundimage, color etc. every 2 seconds, without high CPU utilization?

3.
Is it possible to change the backgroundcolor, font, style, etc. of "Turbine.UI.ContextMenu()" ?


Regards
1. You can use the EffectDisplay control to display an effect. This is the stock element used by the game, just create an instance and use the SetEffect member.

2. The only timing mechanism currently is to use the SetWantsUpdates / Update event combination. You can then use the Turbine.Engine.GetGameTime to determine how much time has passed and use this to perform something when (Turbine.Engine.GetGameTime() - startTime > 2 ).

3. Nope. This style is defined by the game and the background color cannot be changed. If you need a custom menu you can always create your own and skin it how you like using the base classes.
Reply With Quote
  #3  
Unread 09-15-2010, 04:07 AM
Heta Heta is offline
The Undefeated
Interface Author - Click to view interfaces
 
Join Date: Sep 2010
Location: Germany
Posts: 8
Thank You
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
A couple small things... Maim XML modification help (L) 3 02-09-2010 04:30 PM
A couple skin dev questions cipher_nemo General Authoring Discussion (L) 4 04-22-2009 10:54 PM
A few basic questions Dain93 General Authoring Discussion (L) 2 01-21-2009 01:19 AM
A Couple of Quick Questions McGimp XML modification help (L) 4 03-20-2008 07:51 AM
Noob Questions - Layouts CJezorek Interface Help (L) 5 06-30-2007 02:58 PM


All times are GMT -5. The time now is 01:59 PM.


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