Phrase Trick


Decorum

 

Posted

I was on yesterday, and this one girl's character would say one of random phrases every once in a while. Does anyone know how to do that?


 

Posted

I would be extremely careful about doing this on teams, though.. it gets real old real fast.

I suspect if Johnny Storm hears "IT"S CLOBBERIN" TIME!" more than twice a week he contemplates barbecuing that over-sized orange briquette...

/binding any sort of chat to powers, especially frequently used powers can be very annoying to other players on your team.


The Sly Bold Renardine - " I am Scraptastic!"

 

Posted

Quote:
Originally Posted by Renardine View Post
I suspect if Johnny Storm hears "IT"S CLOBBERIN" TIME!" more than twice a week he contemplates barbecuing that over-sized orange briquette...
That would imply that there is a point where Johnny Storm is not contemplating lighting Ben on fire. As well all know, this is simply not the case.


@Morac | Twitter
Trust the computer. The computer knows all.

 

Posted

Quote:
Originally Posted by NightErrant View Post
Quote:
Originally Posted by lord flagnar View Post
I was on yesterday, and this one girl's character would say one of random phrases every once in a while. Does anyone know how to do that?
http://paragonwiki.com/wiki/The_Inco...ating_Binds.22

It's called a rotating bind, and it's commonly tied to a specific power.
As a lark, I set up a variation of this for my Ice/EM Tanker, where I made a big file of insults, one line per insult, and created a Perl script that, when running, read in this file as an array, and would periodically write a file that consisted of a bind that mapped a key to 'say insult in local, taunt, load bindfile', reloading itself with a new bind containing the next random insult. This would let me pop off random insults directed at whatever mob the character was taunting that I could intersperse with taunts without the verbal addition. As a touch of characterization chrome, I used CoX's Unicode support to have some of the insults be in Russian using Cyrillic characters (the character's background being Russian).


"But in our enthusiasm, we could not resist a radical overhaul of the system, in which all of its major weaknesses have been exposed, analyzed, and replaced with new weaknesses."
-- Bruce Leverett, Register Allocation in Optimizing Compilers

 

Posted

My insane clown, Cut-Up, uses rotating binds for really bad jokes and bad pop culture reference battle cries. About 75 of each. Yeah, he gets annoying after a while, but...he's supposed to be!


Dec out.

 

Posted

Quote:
Originally Posted by srmalloy View Post
As a lark
Wait, lark? How does that work?

*edit*
Wait, you have a Perl script running at the same time as City of Heroes, writing to the file? Doesn't City of Heroes lock the file while it's reading it?


Quote:
Originally Posted by Arcanaville View Post
Samuel_Tow is the only poster that makes me want to punch him in the head more often when I'm agreeing with him than when I'm disagreeing with him.

 

Posted

Quote:
Originally Posted by Samuel_Tow View Post
Wait, you have a Perl script running at the same time as City of Heroes, writing to the file? Doesn't City of Heroes lock the file while it's reading it?
Yes, but: it only reads the bind file when commanded to do so, it takes a very short time to read it, and the script that writes to the file presumably waits until it can get a write lock to write to the file. So, there's nothing particularly infeasible about this. If the CoH client is dumb enough to not spawn a separate thread for reading the bind file, then you might get a brief pause in the client if you try to read the file while the script is writing to it.

I considered doing some experiments along these lines myself. I was considering using named pipes, though, with the script pumping a new randomly generated bind file through the pipe whenever the CoH client attached on the read end. I never got very far with it, though. Named pipes are tricky. It's probably smarter to go ahead and write new bind files at a specified interval, but then I start worrying about disk wear. Maybe a file on a ramdisk... hm.


@SPTrashcan
Avatar by Toxic_Shia
Why MA ratings should be changed from stars to "like" or "dislike"
A better algorithm for ordering MA arcs