Sonic Resonance Bind Generator v1.0
can you give a bit more information? do we put it in notepad to save it as the .bat? will this mess up any binds we already have? and the numbers above our letters or the numpad to the right?
Liberty
My 50s:
Hero: Armor Assassin (scrapper), Cross Dresser (scrapper), Surly Seaman (blaster), Defensive End (Tank), Rad Rhino (Cont)
Villain: Beast Infection (Corr), Sweet Zombie Jesus (MM), Milk Weasel (Stalker), Orgullo (MM), Agent Eris (Crab)
Exactly.
1) Open notepad or your favorite text editor.
2) Copy the code.
3) Paste the code into your text editor.
4) Then save the file as sonicbinds.bat
5) Quit your text editor
6) Double click on the sonicbinds.bat file
7) Follow the instructions.
The binds generated are for your numpad, 1 through 8
and left-shift + numpad, 1 through 8.
numpad means the set of numbers on the right side of your
keyboard.
Any binds you've already planted there will be overwritten.
Your other binds will be fine.
I think I would rather just see the binds.
Great idea, Scots_Avenger.
For those who want to see the binds created by my
little batch file, I have put them below.
The code below assumes they are installed in the folder C:\CoH
When running my batch file, you won't have to worry about that.
It asks you for the directory to install them into and writes these
files out accordingly. But if you'd rather cut and paste from below,
you'll have to mess with the folder path yourself.
Also note, my batch file only uses standard DOS and batch commands.
It's not doing anything uncouth
The file load_sonic.txt loads all the bind files.
load_sonic.txt handles lshift+numpad mappings for Clarity.
The 16 SonicShields??.txt files handle Sonic Barrier and
Sonic Haven binds to the numpad. When you push
down on a number Barrier activates. When you let
go of the number Haven activates.
load_sonic.txt
<font class="small">Code:[/color]<hr /><pre>shift+numpad1 "+ $$teamselect 1$$follow$$powexecname Clarity"
shift+numpad2 "+ $$teamselect 2$$follow$$powexecname Clarity"
shift+numpad3 "+ $$teamselect 3$$follow$$powexecname Clarity"
shift+numpad4 "+ $$teamselect 4$$follow$$powexecname Clarity"
shift+numpad5 "+ $$teamselect 5$$follow$$powexecname Clarity"
shift+numpad6 "+ $$teamselect 6$$follow$$powexecname Clarity"
shift+numpad7 "+ $$teamselect 7$$follow$$powexecname Clarity"
shift+numpad8 "+ $$teamselect 8$$follow$$powexecname Clarity"
numpad1 "+down$$-down$$teamselect 1$$follow$$powexec_name Sonic Barrier$$bind_load_file c:\sonicbinds\SonicShields1b.txt"
numpad2 "+down$$-down$$teamselect 2$$follow$$powexec_name Sonic Barrier$$bind_load_file c:\sonicbinds\SonicShields2b.txt"
numpad3 "+down$$-down$$teamselect 3$$follow$$powexec_name Sonic Barrier$$bind_load_file c:\sonicbinds\SonicShields3b.txt"
numpad4 "+down$$-down$$teamselect 4$$follow$$powexec_name Sonic Barrier$$bind_load_file c:\sonicbinds\SonicShields4b.txt"
numpad5 "+down$$-down$$teamselect 5$$follow$$powexec_name Sonic Barrier$$bind_load_file c:\sonicbinds\SonicShields5b.txt"
numpad6 "+down$$-down$$teamselect 6$$follow$$powexec_name Sonic Barrier$$bind_load_file c:\sonicbinds\SonicShields6b.txt"
numpad7 "+down$$-down$$teamselect 7$$follow$$powexec_name Sonic Barrier$$bind_load_file c:\sonicbinds\SonicShields7b.txt"
numpad8 "+down$$-down$$teamselect 8$$follow$$powexec_name Sonic Barrier$$bind_load_file c:\sonicbinds\SonicShields8b.txt"
</pre><hr />
SonicShields1a.txt
<font class="small">Code:[/color]<hr /><pre>numpad1 "+down$$-down$$teamselect 1$$follow$$powexec_name Sonic Barrier$$bind_load_file c:\CoH\SonicShields1b.txt"</pre><hr />
SonicShields2a.txt
<font class="small">Code:[/color]<hr /><pre>numpad2 "+down$$-down$$teamselect 2$$follow$$powexec_name Sonic Barrier$$bind_load_file c:\CoH\SonicShields2b.txt"</pre><hr />
SonicShields3a.txt
<font class="small">Code:[/color]<hr /><pre>numpad3 "+down$$-down$$teamselect 3$$follow$$powexec_name Sonic Barrier$$bind_load_file c:\CoH\SonicShields3b.txt"</pre><hr />
SonicShields4a.txt
<font class="small">Code:[/color]<hr /><pre>numpad4 "+down$$-down$$teamselect 4$$follow$$powexec_name Sonic Barrier$$bind_load_file c:\CoH\SonicShields4b.txt"</pre><hr />
SonicShields5a.txt
<font class="small">Code:[/color]<hr /><pre>numpad5 "+down$$-down$$teamselect 5$$follow$$powexec_name Sonic Barrier$$bind_load_file c:\CoH\SonicShields5b.txt"</pre><hr />
SonicShields6a.txt
<font class="small">Code:[/color]<hr /><pre>numpad6 "+down$$-down$$teamselect 6$$follow$$powexec_name Sonic Barrier$$bind_load_file c:\CoH\SonicShields6b.txt"</pre><hr />
SonicShields7a.txt
<font class="small">Code:[/color]<hr /><pre>numpad7 "+down$$-down$$teamselect 7$$follow$$powexec_name Sonic Barrier$$bind_load_file c:\CoH\SonicShields7b.txt"</pre><hr />
SonicShields8a.txt
<font class="small">Code:[/color]<hr /><pre>numpad8 "+down$$-down$$teamselect 8$$follow$$powexec_name Sonic Barrier$$bind_load_file c:\CoH\SonicShields8b.txt"</pre><hr />
SonicShields1b.txt
<font class="small">Code:[/color]<hr /><pre>numpad1 "+down$$-down$$powexec_name Sonic Haven$$bind_load_file c:\CoH\SonicShields1a.txt"</pre><hr />
SonicShields2b.txt
<font class="small">Code:[/color]<hr /><pre>numpad2 "+down$$-down$$powexec_name Sonic Haven$$bind_load_file c:\CoH\SonicShields2a.txt"</pre><hr />
SonicShields3b.txt
<font class="small">Code:[/color]<hr /><pre>numpad3 "+down$$-down$$powexec_name Sonic Haven$$bind_load_file c:\CoH\SonicShields3a.txt"</pre><hr />
SonicShields4b.txt
<font class="small">Code:[/color]<hr /><pre>numpad4 "+down$$-down$$powexec_name Sonic Haven$$bind_load_file c:\CoH\SonicShields4a.txt"</pre><hr />
SonicShields5b.txt
<font class="small">Code:[/color]<hr /><pre>numpad5 "+down$$-down$$powexec_name Sonic Haven$$bind_load_file c:\CoH\SonicShields5a.txt"</pre><hr />
SonicShields6b.txt
<font class="small">Code:[/color]<hr /><pre>numpad6 "+down$$-down$$powexec_name Sonic Haven$$bind_load_file c:\CoH\SonicShields6a.txt"</pre><hr />
SonicShields7b.txt
<font class="small">Code:[/color]<hr /><pre>numpad7 "+down$$-down$$powexec_name Sonic Haven$$bind_load_file c:\CoH\SonicShields7a.txt"</pre><hr />
SonicShields8b.txt
<font class="small">Code:[/color]<hr /><pre>numpad8 "+down$$-down$$powexec_name Sonic Haven$$bind_load_file c:\CoH\SonicShields8a.txt"</pre><hr />
it's a nice thing, but it's not working for me. i put it in c:\sonicbinds and typed /bind_load_file c:\sonicbinds\load_sonic.txt
is there anythign wrong with what i'm doing? my numpad didn't change, in fact the numpad1 i had bound stayed the same
Liberty
My 50s:
Hero: Armor Assassin (scrapper), Cross Dresser (scrapper), Surly Seaman (blaster), Defensive End (Tank), Rad Rhino (Cont)
Villain: Beast Infection (Corr), Sweet Zombie Jesus (MM), Milk Weasel (Stalker), Orgullo (MM), Agent Eris (Crab)
milk_weasel, thank you!
There was a problem and I have fixed it.
Please start from the beginning at step 1.
Do not worry, I have fixed the code in my posts.
Enjoy!
it looked like it worked now, but i didn't have a teammate to test it on when i got it working. however i do go into the "about to do some power" crouch when i hit my numpads
Liberty
My 50s:
Hero: Armor Assassin (scrapper), Cross Dresser (scrapper), Surly Seaman (blaster), Defensive End (Tank), Rad Rhino (Cont)
Villain: Beast Infection (Corr), Sweet Zombie Jesus (MM), Milk Weasel (Stalker), Orgullo (MM), Agent Eris (Crab)
Noticed the first line turning echo off was missing from my post (but not my bat file... strange). Here it is again:
<font class="small">Code:[/color]<hr /><pre>
@ECHO OFF
REM configure
CLS
TITLE
COLOR 1F
REM Print hello
ECHO ************************************************** **************************
ECHO ******************** Sonic Resonance Bind Generator v1.1 *******************
ECHO ******************** by @HotButteredSoul *******************
ECHO ************************************************** **************************
ECHO * *
ECHO * This batch file generates a set of keybinds for CoX. *
ECHO * Once loaded, these keybinds will cast sonic barrier and sonic haven *
ECHO * on a teammate by simply pressing his corresponding number on the keypad. *
ECHO * In addition, left shift + numkey will cast clarity on the teammate of *
ECHO * same number. Enjoy! And thanks to StoryTeller for the initial version *
ECHO * of these binds for bubblers. *
ECHO * *
ECHO ************************************************** **************************
ECHO.
REM Ask for folder to make files in
SET folder=
SET /p folder=Type in a full path to create binds in (Default: c:\sonicbinds):
IF '%folder%'=='' set folder=c:\sonicbinds
REM Make folder
MKDIR %folder%
REM Make files
FOR /L %%n IN (1,1,8) DO ECHO numpad%%n "+down$$-down$$teamselect %%n$$follow$$powexec_name Sonic Barrier$$bind_load_file %folder%\SonicShields%%nb.txt">%folder%\SonicSh ields%%na.txt
FOR /L %%n IN (1,1,8) DO ECHO numpad%%n "+down$$-down$$powexec_name Sonic Haven$$bind_load_file %folder%\SonicShields%%na.txt">%folder%\SonicSh ields%%nb.txt
ECHO shift+numpad1 "+ $$teamselect 1$$follow$$powexecname Clarity">%folder%\load_sonic.txt
FOR /L %%n IN (2,1,8) DO ECHO shift+numpad%%n "+ $$teamselect %%n$$follow$$powexecname Clarity">>%folder%\load_sonic.txt
FOR /L %%n IN (1,1,8) DO ECHO numpad%%n "+down$$-down$$teamselect %%n$$follow$$powexec_name Sonic Barrier$$bind_load_file %folder%\SonicShields%%nb.txt">>%folder%\loa d_sonic.txt
REM Print goodbye message including hit key to exit message
ECHO.
ECHO Bind files generated.
ECHO.
ECHO Now run City of Heroes, log in as your sonic, and type
ECHO /bind_load_file %folder%\load_sonic.txt
ECHO.
SET anykey=
SET /p anykey=Please hit ENTER to EXIT...
REM Cleanup
COLOR
TITLE cmd
CLS
</pre><hr />
Is there any way you could update this for a thermal corrupter? That would be much appreciated.
Maybe use alt+numpad for the shields and just numpad for team select and 0numpad for single target heal and alt+0numpad for aura heal?
HBS, thanks very very much! This is perfect for my Sonics defender and controllers!
Glad you like it! Enjoy!
Might I suggest something a little more compact? Here's what I use:
sonic1.txt
[ QUOTE ]
NUMPAD1 "+down$$-down$$teamselect 1$$powexec_name Sonic Barrier$$bind_load_file d:\CovBinds\Sonic2.txt"
NUMPAD2 "+down$$-down$$teamselect 2$$powexec_name Sonic Barrier$$bind_load_file d:\CovBinds\Sonic2.txt"
NUMPAD3 "+down$$-down$$teamselect 3$$powexec_name Sonic Barrier$$bind_load_file d:\CovBinds\Sonic2.txt"
NUMPAD4 "+down$$-down$$teamselect 4$$powexec_name Sonic Barrier$$bind_load_file d:\CovBinds\Sonic2.txt"
NUMPAD5 "+down$$-down$$teamselect 5$$powexec_name Sonic Barrier$$bind_load_file d:\CovBinds\Sonic2.txt"
NUMPAD6 "+down$$-down$$teamselect 6$$powexec_name Sonic Barrier$$bind_load_file d:\CovBinds\Sonic2.txt"
NUMPAD7 "+down$$-down$$teamselect 7$$powexec_name Sonic Barrier$$bind_load_file d:\CovBinds\Sonic2.txt"
NUMPAD8 "+down$$-down$$teamselect 8$$powexec_name Sonic Barrier$$bind_load_file d:\CovBinds\Sonic2.txt"
[/ QUOTE ]
sonic2.txt
[ QUOTE ]
NUMPAD1 "+down$$-down$$teamselect 1$$powexec_name Sonic Haven$$bind_load_file d:\CovBinds\Sonic1.txt"
NUMPAD2 "+down$$-down$$teamselect 2$$powexec_name Sonic Haven$$bind_load_file d:\CovBinds\Sonic1.txt"
NUMPAD3 "+down$$-down$$teamselect 3$$powexec_name Sonic Haven$$bind_load_file d:\CovBinds\Sonic1.txt"
NUMPAD4 "+down$$-down$$teamselect 4$$powexec_name Sonic Haven$$bind_load_file d:\CovBinds\Sonic1.txt"
NUMPAD5 "+down$$-down$$teamselect 5$$powexec_name Sonic Haven$$bind_load_file d:\CovBinds\Sonic1.txt"
NUMPAD6 "+down$$-down$$teamselect 6$$powexec_name Sonic Haven$$bind_load_file d:\CovBinds\Sonic1.txt"
NUMPAD7 "+down$$-down$$teamselect 7$$powexec_name Sonic Haven$$bind_load_file d:\CovBinds\Sonic1.txt"
NUMPAD8 "+down$$-down$$teamselect 8$$powexec_name Sonic Haven$$bind_load_file d:\CovBinds\Sonic1.txt"
[/ QUOTE ]
There's no need to have sixteen different one-line text files, when they can all be placed into two that swap each other in.
-Sandolphan
"When heroes fail, the Angels will save you."
MASTERMIND NUMERIC KEYPAD PET CONTROLS
HAMIDON NUKE RAID GUIDE
Thanks Sandolphan. I tried something like that before, but I couldn't get it to work. Also, it's nice to have the follow command in there if you need to close distance to deliver the shield.
Putting shields on your teammates can be an annoying process.
Now now.. I did it until level 50, so you can too.
Using Storyteller's FF binds as a base, I made my own.
His original post is The Incomplete and Unofficial Guide to /bind.
Now you can have my binds too.
Just clip the code below and save it into a file you call:
sonicbinds.bat
Then double click on the file and follow the prompts.
These binds will allow you to shield a teammate by simply
pressing the corresponding number on the keypad.
Also, you will be able to Clarity a teammate using shift-numkey.
The shielding bind usually works.. sometimes you have to
hit the numpad key a couple of times to get both shields on
your target.
Both the clarity and shield binds include a follow command.
If you find your toon running into melee as he shields
a scrapper, that is why. You can override follow by
simply hitting any movement key.
Enjoy.
<font class="small">Code:[/color]<hr /><pre>
REM configure
CLS
TITLE
COLOR 1F
REM Print hello
ECHO ************************************************** **************************
ECHO ******************** Sonic Resonance Bind Generator v1.1 *******************
ECHO ******************** by @HotButteredSoul *******************
ECHO ************************************************** **************************
ECHO * *
ECHO * This batch file generates a set of keybinds for CoX. *
ECHO * Once loaded, these keybinds will cast sonic barrier and sonic haven *
ECHO * on a teammate by simply pressing his corresponding number on the keypad. *
ECHO * In addition, left shift + numkey will cast clarity on the teammate of *
ECHO * same number. Enjoy! And thanks to StoryTeller for the initial version *
ECHO * of these binds for bubblers. *
ECHO * *
ECHO ************************************************** **************************
ECHO.
REM Ask for folder to make files in
SET folder=
SET /p folder=Type in a full path to create binds in (Default: c:\sonicbinds):
IF '%folder%'=='' set folder=c:\sonicbinds
REM Make folder
MKDIR %folder%
REM Make files
FOR /L %%n IN (1,1,8) DO ECHO numpad%%n "+down$$-down$$teamselect %%n$$follow$$powexec_name Sonic Barrier$$bind_load_file %folder%\SonicShields%%nb.txt">%folder%\SonicSh ields%%na.txt
FOR /L %%n IN (1,1,8) DO ECHO numpad%%n "+down$$-down$$powexec_name Sonic Haven$$bind_load_file %folder%\SonicShields%%na.txt">%folder%\SonicSh ields%%nb.txt
ECHO shift+numpad1 "+ $$teamselect 1$$follow$$powexecname Clarity">%folder%\load_sonic.txt
FOR /L %%n IN (2,1,8) DO ECHO shift+numpad%%n "+ $$teamselect %%n$$follow$$powexecname Clarity">>%folder%\load_sonic.txt
FOR /L %%n IN (1,1,8) DO ECHO numpad%%n "+down$$-down$$teamselect %%n$$follow$$powexec_name Sonic Barrier$$bind_load_file %folder%\SonicShields%%nb.txt">>%folder%\loa d_sonic.txt
REM Print goodbye message including hit key to exit message
ECHO.
ECHO Bind files generated.
ECHO.
ECHO Now run City of Heroes, log in as your sonic, and type
ECHO /bind_load_file %folder%\load_sonic.txt
ECHO.
SET anykey=
SET /p anykey=Please hit ENTER to EXIT...
REM Cleanup
COLOR
TITLE cmd
CLS
</pre><hr />