EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   Fetish (https://www.eq2interface.com/forums/forumdisplay.php?f=38)
-   -   Adding emotes to C2C-Buttons? (https://www.eq2interface.com/forums/showthread.php?t=13208)

karlheinz 08-11-2009 11:19 AM

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?

Zonx 08-11-2009 07:02 PM

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.

karlheinz 08-13-2009 11:08 AM

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

Zonx 08-13-2009 02:37 PM

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.

Zonx 08-13-2009 03:06 PM

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.

Dethdlr 08-13-2009 06:55 PM

Quote:

Originally Posted by Zonx (Post 85222)
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* :)

Zonx 08-13-2009 08:22 PM

Lol, was planning on that ;)


All times are GMT -5. The time now is 04:41 PM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI