(Requires libslash)
An addon which enables you to assign phrases of text to particular skills, and assign them a chance of being spoken whenever you use that particular skill.
Expected uses
- For RP -- set flavour text to be randomly spoken.
- Spell announcing -- set a skill to trigger its text 100% of the time, and announce when you are casting a resurrection.
Features/Info
- Configurable via GUI. Yay! (c:
- Default 5% chance to speak, but configurable per-skill.
- Multiple phrases per skill, it will choose one at random when it speaks.
- Channels EMOTE, SAY, PARTY, TELL, SCENARIO, WARBAND
- Target name substitution, with %T (hostile target) and %F (friendly)
- Muteable (/tol mute|unmute) -- useful for testing.
In-game slash commands
- /tol config (opens the configuration interface)
- /tol resetallsettings (reloads settings from config.lua)
- /tol mute
- /tol unmute
- /tol throttle <seconds> (minimum time between speeches)
- /tol speakchance # (set the default chance to speak. from 0.0 to 1.0)
Configuration
WARNING: To prevent your work being lost by a crash, after you have entered your data, please type in "/reloadui" into the chatbox to force addons to save their variables.
Addons cannot save their settings until a proper logout/exit game/reloadui. My sincere apologies if this has already caused you grief. To be extra careful, save a copy of the file WARDIR\user\interface\AllCharacters\ThinkOutLoud\SavedVariables.lua
To set up skills and phrases, in game, type into your chatbox "/tol config". Sorry, the UI is a little unintuitive at the moment, but hopefully you can manage for now.
First, select the event type (at the moment the only one available is for spellcasting).
Editing skills
Now, the next combobox says, "--SELECT SKILL--". This part's a bit confusing, but to add a new skill, just start typing things in while "--SELECT SKILL--" is showing, and click Save. To edit/delete an existing skill, just choose it from the drop-down box, and then edit it and click Save/Delete at the bottom of the window.
Skill Name: When you enter the Skill Name, ensure that it matches _exactly_. All puncutation and capitalisation matters.
Speak Chance: If you want this skill to have a different chance of triggering speech than other skills (for example, this skill is very rarely used, so you'd prefer to bump up the chance that it gets spoken whenever you do use it). I do not advise setting speak chance to higher than 10% for most cases.
Is Urgent?: Will make the skill trigger speech 100% of the time, and ignore the spam-throttle setting. For example, use this if you don't want your important resurrection announcement to be throttled just because another skill triggered a "You're a git!" message just a second before.
Editing phrases
You can only add phrases to a skill that has been saved, so once you've saved it, select that skill from the dropdown menu, and then click the "EDIT PHRASES" button that appears in the topright. It will make a new dropdown box appear on the top-right, and from here you can select a phrase to edit, or create a new one.
Text to be Spoken: Is what you want to say. You can include the following special substitution variables. Note that these variables probably will not work properly if you use hovercasting.
- %T - will be replaced with your Hostile Target
- %F - will be replaced with your Friendly Target
Channel via which to speak: Which channel do you want to say stuff on? Probably SAY makes sense, but if you just want to use it to send a tell to your target and don't care for anyone else to know, then use TELL, and it will try to send it to your friendly target.
Speak if I am the friendly target?: You want this to be "YES" for most cases. The only times you don't are for healing spells/etc, and you've worded the phrase in such a way that it doesn't make sense to speak it. (e.g. "Be healed, %F!" would sound strange if you were healing yourself.. But maybe your character likes to talk to himself or herself in third person. :P)
- 7 comments
- 7 comments
Facts
- Date created
- 23 Sep 2008
- Categories
- Last update
- 16 Nov 2008
- Development stage
- Inactive
- License
- MIT License
- Curse link
- Think Out Loud
- Recent files
- #7
thanners Mon, 20 Oct 2008 03:11:11Arkleseizure: Heya, so sorry it took me so long to get back to you; I always forget to check comments on this page :P If you're able to send the code as a patch (or just your whole version, whichever's easier), I'd love to look at it.
- #6
Arkleseizure Sat, 11 Oct 2008 19:30:53I made it so that if the spell I just announced I was casting gets interrupted, it then announces that failure as well in the same chat channel. Because I use this solely when I'm resurrecting I wanted it to let people know if my attempt to res failed.
I have no idea if the way I'm achieving this is the best way or even a good way so I don't know if the code is even worth anything to you. As it is right now it just says a generic failure message for any spell that's been defined in ThinkOutLoud.
The only issue I've had so far is that if the interruption happens at virtually the same time as when the cast is started the client comes back with some anti-spamming stuff saying to "slow down" and it doesn't send the chat message.
Anyway, I love the addon and if you want to have a look at this code just let me know.
- #5
nbaidoun Thu, 02 Oct 2008 21:31:07Sorry for the late comment, It resetted for me 3 times, but I'm not sure if I crashed all three times, I would be surprised if I did.
I will go ingame now, add a phrase for one skill and then get out of the game and get back on and will let you know how it goes.
- #4
Grunkadunk Wed, 01 Oct 2008 19:49:00Doh, seems I couldn't see the comments of the other user when I posted my comment. Looks like I prolly had the exact same problem. The game crashed and it didn't save all my work. Sorry for the double post. The Mount question still stands though.
Another Question though
***********************
Can I have a separate profile for each Character? My black Ork will say different things when he Flee's lets say than my Gobbo Shaman.
- #3
Grunkadunk Wed, 01 Oct 2008 19:47:05I installed and tried out the 1.1.2 version of "Talk out Loud" last night and had a blast with it, it works great! so first thanks for a great lil RP/Atmosphere addon.
One problem though, the game hard crashed on me about 5min or so after I'd finished adding about 10 powers each with 5 random things to say (all set on default occurance). And when I logged back in they were all gone, all my work lost which was a real drag.
So, being the avid RP'er I am I added all my Orc saying back in and then logged out to the char screen and back in, seems they were there this time. I just hope it's all there still today. I'll report if it was there or lost to ya later today.
Question though
***************
Is there a way to say something when I "Summon Mount" ? I have a "Ridin' Pig" and I tried setting up events for both Summon Mount and Ridin' Pig but they never went off. Tested it by setting it to 100% for both. Is this something that can be done, and if so how?
Thanks in advance for you help and again I love this addon!
- #2
thanners Wed, 01 Oct 2008 09:46:01Hi, nbaidoun. That's quite strange that it keeps resetting like that. You aren't crashing, or anything, are you? I know that there's an issue where your settings will not be saved if the game doesn't exit properly.
- #1
nbaidoun Tue, 30 Sep 2008 15:02:24Hello thanners,
I really like this mod, the problem I'm getting though is that it keeps resetting everytime I relog in the game, so I have to redo all the phrases again everytime.
Is it something I'm doing wrong?
Peace