EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > Fetish

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 08-11-2009, 11:19 AM
karlheinz karlheinz is offline
A Weald Wolf
 
Join Date: Dec 2007
Server: Antonia Bayle
Posts: 82
Default Adding emotes to C2C-Buttons?

Hi,

how would I insert a say-text or sth. similar for both group- and raidwindow's curse-cures?

ive been previously using the profit raid window for a while, where it was quite easy to execute whatever code you liked by pressing the quick buttons or cure buttons (without _ever_ experiencing chat-lines not getting announced ingame). there you would have something like this:

Code:
<Data Name="Button4" Macro="SpellForMyLevel='Gravitas'
useabilityonplayer Parent.Target SpellForMyLevel
gsay /* Parent.Target Gravitas */" Tooltip="(80) Gravitas"/>
i gotta say im not that much experienced with UI-editing, but i would be guessing that upon pressing the button, the code that is contained within Macro="" gets executed

what I'm getting at is, that you could easily put in multiple lines which all got executed by just separating them with a newline in the .xml file.

would something similar be possible to the cure-buttons _and_ the click2cast-buttons, to allow more customizeable quickbuttons?

Last edited by karlheinz : 08-11-2009 at 11:22 AM.
Reply With Quote
  #2  
Unread 08-11-2009, 07:02 PM
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
Send a message via Yahoo to Zonx
Default

Editing RaidAbilities is easy. A peek at the Add-Ons listed on the main download page will show RaidAbilitiesEditor which includes options for generic announcements in various channels.

ClickCures is not currently setup to support announcements. Since inventing this feature, I've only had a few requests for announcements on cures. I will probably add support for it in a future release. Until then you can do the following to add an announcement to the Cure Curse buttons in the raid window.

1) Open eq2ui_mainhud_raid.xml in Notepad
2) Search for all occurances of...
Code:
parent.parent.parent.parent.parent.CancelSpells.Activated=parent.parent.parent.parent.parent.parent.Persona.InstaClick
useabilityonplayer Parent.Parent.Basic.Name.LocalText 969542071
3) Replace with...
Code:
parent.parent.parent.parent.parent.CancelSpells.Activated=parent.parent.parent.parent.parent.parent.Persona.InstaClick
useabilityonplayer Parent.Parent.Basic.Name.LocalText 969542071
raidsay=('Activating Cure Cures on ')##(Parent.Parent.Basic.Name.LocalText)
raidsay=('Activating Cure Cures on ')##(Parent.Parent.Basic.Name.LocalText)
Note the raidsay code is repeated to ensure the announcement happens at least once. SOE script often ignores the first occurance of a slash command.
Reply With Quote
  #3  
Unread 08-13-2009, 11:08 AM
karlheinz karlheinz is offline
A Weald Wolf
 
Join Date: Dec 2007
Server: Antonia Bayle
Posts: 82
Default

hm.. sorry if that sounds stupid, but i shouldve been more precise.

i wanted to use /tellchannel X Y, which does in theory work, but when i put

tellchannel x cursecure Parent.Parent.Basic.Name.LocalText

the last... variable? does not get interpreted/evaluated and remains as parent.parent... ingame

same applies to the raid quickbuttons, id love to be able to use a tellchannel there as well, which is according to the screenshot not an option in the raidabilitieseditor
Reply With Quote
  #4  
Unread 08-13-2009, 02:37 PM
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
Send a message via Yahoo to Zonx
Default

try the following
Code:
tellchannel channelname 'cursecure' Parent.Parent.Basic.Name.LocalText
Note the single quotes.
You can replace the text between the single quotes with whatever msg you want to preceed the target's name.
Reply With Quote
  #5  
Unread 08-13-2009, 03:06 PM
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
Send a message via Yahoo to Zonx
Default

Custom channels for raid abilities will require a more involved enhancement to the raidabilities xml to do it right.

Roughly the following
- Add a new "Channel" attribute to the Data objects to hold custom channel names.
- Update each of the Exec# scripts to press a new ChannelEval button.
- Add a new ChannelEval button to check if Channel != '' || Channel != false. If true, press a new Channel button.
- Add a channel button similar to the Group, Raid and Tell buttons that when activated executes the chat command to the channel named in the Data object.

And of course get these changes incorporated into the editor.
Reply With Quote
  #6  
Unread 08-13-2009, 06:55 PM
Dethdlr's Avatar
Dethdlr Dethdlr is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: May 2005
Server: Kithicor
Posts: 106
Default

Quote:
Originally Posted by Zonx View Post
And of course get these changes incorporated into the editor.
Ya know, beta versions of new Fetish releases tossed my way would help that along quite well. *wink, wink, nudge, nudge*
__________________
92 Zerker, 92 Coercer, 90 Assassin, 90 Templar, 90 Warlock, 90 Troubador
Butcherblock Server
EQ2Wire.com Columnist.
Author -Dethdlr's Adornment Calculator
Lead Programmer for EQ2U
Reply With Quote
  #7  
Unread 08-13-2009, 08:22 PM
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
Send a message via Yahoo to Zonx
Default

Lol, was planning on that
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 -5. The time now is 05:28 AM.


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