Binding random taunts to Taunt


all_hell

 

Posted

I know there's a way to have a series of random taunts bound to Taunt. But I cannot find that information anymore.

Does anyone who has that information care to share it?


 

Posted

You have to set up a series of bind files, each of which says ine line, activates the power, then loads the next file in sequence. The last file loads the first one. There is no way to randomize them; they will load in a predictable order.

Check out this guide from Ex Libris for details.


@Roderick

 

Posted

Thank you for your help.

But, there is a way.

It involves windows scripting of some sort.


 

Posted

search fu failed:

Google fu succeeded
http://boards.cityofheroes.com/showthread.php?t=112897

Quote:
Originally Posted by Starmor View Post
Have you ever gotten sick of using the same phrases for your character? Well here's a way for you to have as many as you want! By running a batch job that rewrites a key bind file you can have as many battle cry phrases (or for any other phrase) as you want.

This guide assumes you have a basic understanding of the /bind command. You can find excellent guides in this
forum for it.

Here are the steps:


1. You'll need the sleep.exe utility for this to run properly. You can get it here (or get all files at the link provided at the bottom of the post)

2. Create a folder for your files (for example c:\KB) and put sleep.exe in it.

3. Right click in the folder and create a new text file and rename the file
to target.bat. I used this name since I wanted my battle cry to happen each time I targeted the next enemy. You
can call it what you want.

The key to this is the "for" line. If you want to change the the key that is bound or the function the key does you'll
need to edit this line. Again, check the /bind FAQ for more information on the /bind command.

Note: I used target.txt as the output. You can edit the "for" line and change target.txt to any file name you want. If you
do, make sure you use that file name for step 6.

Target.bat contents (the "for" line is all one line):

@echo off

:TOP

for /f "delims=zzz" %%i in (phrases.txt) do (echo space "local %%i$$unselect$$toggle_enemy$$bind_load_file C:\kb\target.txt">target.txt)&&sleep 1&&echo %%i

GOTO TOP



4. Create a phrases.txt file in the same folder you created in step 2. This is where all of your phrases are pulled from. I
suggest at least thirty so you don't drive your team mates crazy with the same thing over and over again.

Example phrases.txt file:

Now you made me mad!
Who wants some?
It's time to do some clobberin'!


and so on....

5. Run the batch job by double clicking on it and then get in the City of Heroes game.


6. Last, bind the keybind text file in COH. For instance you would use: bind_load_file c:\kb\target.txt


That's it! For this example every time you hit the space bar you'll get a random saying from your phrases.txt file. Just run the
.bat file each time you get into COH and you'll have random phrases.

If this is as clear as mud, you can always create a "C:\KB" folder and unzip the files from here .


 

Posted

Quote:
for /f "delims=zzz" %%i in (phrases.txt) do (echo space "local %%i$$unselect$$toggle_enemy$$bind_load_file C:\kb\target.txt">target.txt)&&sleep 1&&echo %%i
Replace & with &
Replace > with >

for /f "delims=zzz" %%i in (phrases.txt) do (echo space "local %%i$$unselect$$toggle_enemy$$bind_load_file C:\kb\target.txt">target.txt)&&sleep 1&&echo %%i


Speeding Through New DA Repeatables || Spreadsheet o' Enhancements || Zombie Skins: better skins for these forums || Guide to Guides

 

Posted

Quote:
Originally Posted by Zombie Man View Post
Replace & with &
Replace > with >

for /f "delims=zzz" %%i in (phrases.txt) do (echo space "local %%i$$unselect$$toggle_enemy$$bind_load_file C:\kb\target.txt">target.txt)&&sleep 1&&echo %%i

And to make it not on the spacebar (which is bound to jump for most) just replace "space" with the proper key?


Orc&Pie No.53230 There is an orc, and somehow, he got a pie. And you are hungry.
www.repeat-offenders.net

Negaduck: I see you found the crumb. I knew you'd never notice the huge flag.

 

Posted

I have gotten it working and have filled it with various insults.

Far and away the foulest and most damning come from the Bard himself.

I have about 60 or 70 to run through. Should be more than enough as I don't spam Taunt.


 

Posted

Quote:
Originally Posted by all_hell View Post
I have gotten it working and have filled it with various insults.

Far and away the foulest and most damning come from the Bard himself.

I have about 60 or 70 to run through. Should be more than enough as I don't spam Taunt.
Thou currish malmsey-nosed mumble-news?


 

Posted

Quote:
Originally Posted by Zombie Man View Post
Replace & with &
Replace > with >

for /f "delims=zzz" %%i in (phrases.txt) do (echo space "local %%i$$unselect$$toggle_enemy$$bind_load_file C:\kb\target.txt">target.txt)&&sleep 1&&echo %%i
*head asplodes*

Heh, looks like I've got a lot of reading to do if I want to do this on my tanker.


Arc ID: 348998 - Becoming a villain
Arc ID: 373341 - To Save a Hero

Got Inf?

 

Posted

Quote:
Originally Posted by SunGryphon View Post
Thou currish malmsey-nosed mumble-news?
shallow, beggarly, three-suited, hundred-pound, filthy worsted-stocking knave; a lily-livered, whoreson, glass-gazing, heir to a mongrel *****: one whom I will beat into clamorous whining if $target deni'st the least syllable.


Drunkenness is $target's best virtue, for swine drunk and asleep $target does little harm, save to the bedclothes.

Four of $target's five wits went halting off, and now is the whole man governed with one.


 

Posted

Quote:
Originally Posted by all_hell View Post
shallow, beggarly, three-suited, hundred-pound, filthy worsted-stocking knave; a lily-livered, whoreson, glass-gazing, heir to a mongrel *****: one whom I will beat into clamorous whining if $target deni'st the least syllable.
*thumbsup*

Such inordinate and low desires,
Such poor, such bare, such lewd, such mean attempts,
Such barren pleasures, rude society,
As thou art match'd withal, and grafted to!


 

Posted

Quote:
Originally Posted by SunGryphon View Post
*thumbsup*

Such inordinate and low desires,
Such poor, such bare, such lewd, such mean attempts,
Such barren pleasures, rude society,
As thou art match'd withal, and grafted to!
lol

thanks