The Incomplete and Unofficial Guide to /bind (1.1)


Aarzak

 

Posted

so, I cannot simply make a /bind that looks like this?
/bind numpad1 "powerexec_name Temp Invulnerability$$powerexec_name Unyeilding$$powerexec_name Invincibility"
I am trying to make one button trigger all my toggle resists for my tanker. I know that you cannot cue powers, but will this work?


 

Posted

[ QUOTE ]
so, I cannot simply make a /bind that looks like this?
/bind numpad1 "powerexec_name Temp Invulnerability$$powerexec_name Unyeilding$$powerexec_name Invincibility"
I am trying to make one button trigger all my toggle resists for my tanker. I know that you cannot cue powers, but will this work?

[/ QUOTE ]

Yes you can, you will just have to hit the button 3 times, once for each power.

...just sayin


 

Posted

[ QUOTE ]
[ QUOTE ]
so, I cannot simply make a /bind that looks like this?
/bind numpad1 "powerexec_name Temp Invulnerability$$powerexec_name Unyeilding$$powerexec_name Invincibility"
I am trying to make one button trigger all my toggle resists for my tanker. I know that you cannot cue powers, but will this work?

[/ QUOTE ]

Yes you can, you will just have to hit the button 3 times, once for each power.

...just sayin

[/ QUOTE ]

/bind numpad1 "powexectoggle Temp Invulnerability$$powexetoggleon Unyeilding$$powexectoggleon Invincibility"

That'll work, 3 button presses.


 

Posted

[ QUOTE ]
[ QUOTE ]
[ QUOTE ]
so, I cannot simply make a /bind that looks like this?
/bind numpad1 "powerexec_name Temp Invulnerability$$powerexec_name Unyeilding$$powerexec_name Invincibility"
I am trying to make one button trigger all my toggle resists for my tanker. I know that you cannot cue powers, but will this work?

[/ QUOTE ]

Yes you can, you will just have to hit the button 3 times, once for each power.

...just sayin

[/ QUOTE ]

/bind numpad1 "powexectoggleON Temp Invulnerability$$powexetoggleon Unyeilding$$powexectoggleon Invincibility"

That'll work, 3 button presses.

[/ QUOTE ]

Fixed that for ya, toggle by itself won't work


 

Posted

[ QUOTE ]
Is there really a need for the "+" at the beginning? I never use that and have a lot of working binds similar to what you guys are doing.

[/ QUOTE ]
The "+ $$" and "- $$" techniques stopped working with Issue 8. People are using "+down$$" and "-down$$" these days.


 

Posted

[ QUOTE ]
[ QUOTE ]
[ QUOTE ]
[ QUOTE ]
so, I cannot simply make a /bind that looks like this?
/bind numpad1 "powerexec_name Temp Invulnerability$$powerexec_name Unyeilding$$powerexec_name Invincibility"
I am trying to make one button trigger all my toggle resists for my tanker. I know that you cannot cue powers, but will this work?

[/ QUOTE ]

Yes you can, you will just have to hit the button 3 times, once for each power.

...just sayin

[/ QUOTE ]

/bind numpad1 "powexectoggleON Temp Invulnerability$$powexetoggleon Unyeilding$$powexectoggleon Invincibility"

That'll work, 3 button presses.

[/ QUOTE ]

Fixed that for ya, toggle by itself won't work

[/ QUOTE ]meep!


 

Posted

Ok. I've got a /kin, and I usually run around with Hasten on autoexec. Sometimes, however, in really nasty fights, I like to switch my autoexec to transfusion. I currently just have a simple "lshift+O "powexec_auto Transfusion" bind to switch quickly. I want a setup where after I can just hit lshift+O to quickly switch back and forth between the autocastings. So if I'm autocasting Transfusion, and I'll switch to Hasten, and vice versa.

I've got two files, hasten.txt:
lshift+o "powexec_auto Hasten$$bind_load_file c:\covbinds\trans.txt"

and trans.txt:
lshift+o powexec_auto "Transfusion$$bind_load_file c:\covbinds\hasten.txt"

But it doesn't work. Any ideas what I'm doing wrong?


 

Posted

Notice that you've got the quotes in different places.

Move the quite from ..."Transfusion... in trans.txt to "powexec_auto...


 

Posted

Awesome resource. Added to favorites!


 

Posted

Oh good lord. It's always the stupid little things that's you've stared at for 10 minutes.

Thanks.


 

Posted

Ok I've never ever made a bind or macro so I want to confirm that I understand it quick. Ok here's the situation. Suppose I have a werewolf character and his very first costume is a normal human and at lvl 20 I use the 2nd slot to make the werewolf look. The werewolf would be in cc 1 right? Now if I wanted him to use Smite from the Dark melee set after switching costumes from human to werewolf to make him look like he transformed and shout "Raaargh!", it'd look like this right?

/bind numpad0 "local Raaargh!$$cc 1$$powerexec_name Smite"


 

Posted

Looks right.

My best advice for big binds (and echoing the guide here) is to try it in /macro first. If /macro works, then just put the exact same into the bind.


 

Posted

Two questions.

1. Is there something in place keeping me from binding to the non-numerical numpad buttons (such as the + or the / on the numpad)? I've tried this and they don't seem to do anything.

2. I'm trying to do a bind for SpeedBoost using the numpad that will both target a team position and fire SB. Currently I've binded the numpad numbers to their corresponding team slots and I'm using numpad0 for SB, but I'd rather just press (for example) numpad1 and have it team_select 1 and fire SB.

- I tried /bind numpad1 "team_select 1$$powexec_name speed boost" (and a couple of variations of this) and it would select the teammate correctly but wouldnt fire off SB. Is this something that can be done?


 

Posted

[ QUOTE ]
1. Is there something in place keeping me from binding to the non-numerical numpad buttons (such as the + or the / on the numpad)? I've tried this and they don't seem to do anything.

[/ QUOTE ]

Use /bind "add" or /bind "divide". It works for me.


 

Posted

[ QUOTE ]
[ QUOTE ]
1. Is there something in place keeping me from binding to the non-numerical numpad buttons (such as the + or the / on the numpad)? I've tried this and they don't seem to do anything.

[/ QUOTE ]

Use /bind "add" or /bind "divide". It works for me.

[/ QUOTE ]

Are the quotations actually used in the name of the bind for this?

Also, any idea about binding the team select and the powexec of SB?


 

Posted

[ QUOTE ]
Two questions.

1. Is there something in place keeping me from binding to the non-numerical numpad buttons (such as the + or the / on the numpad)? I've tried this and they don't seem to do anything.


[/ QUOTE ]

It's been awhile since these were posted, so here's a list of all the Named Keys:

These keys are fairly self-explanatory:
---------------------------------------

pageup
pagedown
insert
delete
home
end
backspace
tab
esc
F1-F12

These keys are a bit more obscure:
-----------------------------------

capital (The Caps Lock key)
scroll (The Scroll Lock key)
tilde (The "`" and "~" key, on the numbers row of your keyboard -- usually)
APPS (this is the key usually associated with a printer, located between the right CTRL and right windows key, at least on my keyboard)
up (up arrow)
down (down arrow)
left (left arrow)
right (right arrow)

Chord Keys:
-----------

lshift/rshift (left and right shift keys)
shift (either shift key)
lcontrol/rcontrol (left and right control keys)
Control/CTRL (either control key)
lalt/ralt (left and right alt keys)
alt (either alt key)
Fn (on laptops, this is the key that accesses "special laptop commands" on your keyboard. It acts as a chord key)

Mouse Keys:
-----------

lbutton
rbutton
mbutton
button4
button5
button6
button7
button8

Numpad Keys:
------------

numlock
numpad0
numpad1
numpad2
numpad3
numpad4
numpad5
numpad6
numpad7
numpad8
numpad9
add
divide
multiply
subtract
decimal
numpadenter

Joystick Keys:
--------------

Joypad Names

joypad_up
joypad_down
joypad_left
joypad_right

Joystick Buttons

joy1
joy2
joy3
joy4
joy5
joy6
joy7
joy8
joy9
joy10
joy11
joy12
joy13
joy14
joy15
joy16
joy17
joy18
joy19
joy20
joy21
joy22
joy23
joy24
joy25

X/Y Axis Joystick Controls

joystick1_up
joystick1_down
joystick1_left
joystick1_right

Z/Zrot controls

joystick2_up
joystick2_down
joystick2_left
joystick2_right

Xrot/Yrot

joystick3_up
joystick3_down
joystick3_left
joystick3_right

Pov1-Pov3 hat
povX_up
povX_down
povX_left
povX-right

As to the target and speedboost thing, I don't know the exact formula for it, but it's been discussed in this thread numerous times, and I know folks got it to work. I think it requires a "deselect" to be triggerred before selecting the tem member for some reason, and always remember that the last command in your line gets triggerred first, so the "powexec_name Speed Boost" should be the first thing in the line, which will make it go off last.

I know it takes forever (this is one of the few long threads I've read all the way through), but it's definitely worth searching throughout this thread for your answers. I know they are there.


Dear NCsoft, if you go through with this shutdown you've guaranteed you'll not see another dime from me on any project you put out, ever.


http://xx-starhammer-xx.deviantart.com/

 

Posted

Actually... looking back through about 40 pages worth of information... it would appear that the line probably needed is

/bind numpad1 "powexecname speed boost$$teamselect 1$$unselect"

Does this look right? I'm pretty sure I used
/bind numpad1 "powexecname Speed Boost$$teamselect 1"
without success. Anyone know why it wants "unselect" in there or if this is indeed needed?


 

Posted

[ QUOTE ]
[ QUOTE ]
1. Is there something in place keeping me from binding to the non-numerical numpad buttons (such as the + or the / on the numpad)? I've tried this and they don't seem to do anything.

[/ QUOTE ]

Use /bind "add" or /bind "divide". It works for me.

[/ QUOTE ]

If you are wondering why it works that way it's because those characters are used in the CoX commant syntax.
/ = start command
+ = modifier for key press
" = start quote
etc

Not sure exactly which ones need to use the named options,
I guess it's all the ones that are named


 

Posted

[ QUOTE ]
Oh good lord. It's always the stupid little things that's you've stared at for 10 minutes.

Thanks.

[/ QUOTE ]

Welcome to a programmers life! LOL


 

Posted

New problem (I tried to skim through the 90+ pages and didn't see this one yet)...

I'm setting up my brute to use all of his attacks with only a single key. I have it working to an extent, but he can only go from one attack to the next in a sequence; which is annoying since some attacks come back quicker than others. what I have is a few .txt files with the classic " $$" beginning and bind_load_file at the end. I was wondering if there was a way in each .txt file I could tell it to execute many attacks (knowing it would only actually do one) but prioritize which attack it tries first and then just make each .txt have them in a different order? e.g.:

1 " $$powexec_name smite$$bind_load_file c:\(shadow maul file)"
-----
1 " $$powexec_name shadow maul$$bind_load_file c:\(sandofmu file)"
-----
1 " $$powexec_name sands of mu$$bind_load_file c:\(smite file)
====
now, can I simply put " $$powexec_name smite$$powexec_name sands of mu$$powexec_name shadow maul" in each of the 3 files but change the order? If that won't do it, does anyone know a way it will?

Side Note: This is probably the most useful thread in all of the CoH Forum.


 

Posted

you really can't do quite what your asking to, however, you can improve on the equation by adding some complexity. Try something like this:

BIND1.TXT
<Key> "powexec_auto <Fast Melee Power #1>$$powexec_name <Slow Melee Power #1>$$bind_load_file c:\<bindpath>\bind2.txt

BIND2.TXT
<Key> "powexec_auto <Fast Melee Power #2>$$powexec_name <Slow Melee Power #2>$$bind_load_file c:\<bindpath>\bind1.txt

You can extrapolate to 3 or 4 .txt files if you want, and then just go find large groups of low level mobs to pound on till you get a feel for the timing. Rearrange the power names in the text files until you get a pattern going where you press your attack button, two powers go off in sequence (The fast power going off because it was triggered, and the slow one going off on auto), and by the time they are finished activating, the next pair is finished recharging. In most cases you will have to cycle through one extra time before the slow powers are ready to recharge, but that is why you want the slow powers to be on auto, rather than the fast ones. It makes it easier to continue the attack cycle without waiting for a long recharge.

In my experience, this works best with at least 6 attack powers, 3 fast and 3 slow, but if all your attacks are fairly fast, you can get by with 4 quite well. You can even make it work pretty good with 3 if one attack is very fast and the other 2 are about the same recharge time as each other.

This also works pretty well for ranged attacks, where you trigger the ranged attack power directly, and then set a melee attack to auto. That way if you're stuck in the thick of a melee fight, your melee attacks alternate on their own, going off whenever your targeted foe is withing range. Best not to put a ranged attack on auto though, as it can lead to accidentally picking a fight with something you didn't intend to provoke.


Dear NCsoft, if you go through with this shutdown you've guaranteed you'll not see another dime from me on any project you put out, ever.


http://xx-starhammer-xx.deviantart.com/

 

Posted

I read about a bind a while back that used I believe +/- keys to activate 2 powers? On keystroke one power would fire, upon release a second power could be fired? Anyone know if that is still possible and if so the bind?

Eggsillent Guide btw! It's made me quite the bindaholic!


 

Posted

What you need is a longer sequence.

Eventually, the sequence will repeat itself, as a rule. Given 4 attacks, here's an example:

Suppose you have attacks with the following animation and recharge times: (Notation is animation/recharge)

Tap: 1.07s/0.779s
Slap: 1.2s/1.791s
Snap: 1.5s/3.583s
Clap: 2.23s/11.196s

You could then create a sequence like this:
Tap->Slap->Tap->Snap->Tap->Slap->Tap->Clap

The idea here is that, with these recharges, the next attack in this particular sequence will always be charged and ready to queue.

In this case, you need a 8-part rolling bind:

file1.txt:
<font class="small">Code:[/color]<hr /><pre>&lt;key&gt; "powexecname tap$$bindloadfile &lt;path&gt;\file2.txt"</pre><hr />

file2.txt
<font class="small">Code:[/color]<hr /><pre>&lt;key&gt; "powexecname slap$$bindloadfile &lt;path&gt;\file3.txt"</pre><hr />

file3.txt
<font class="small">Code:[/color]<hr /><pre>&lt;key&gt; "powexecname tap$$bindloadfile &lt;path&gt;\file4.txt"</pre><hr />

file4.txt
<font class="small">Code:[/color]<hr /><pre>&lt;key&gt; "powexecname snap$$bindloadfile &lt;path&gt;\file5.txt"</pre><hr />

file5.txt
<font class="small">Code:[/color]<hr /><pre>&lt;key&gt; "powexecname tap$$bindloadfile &lt;path&gt;\file6.txt"</pre><hr />

file6.txt
<font class="small">Code:[/color]<hr /><pre>&lt;key&gt; "powexecname slap$$bindloadfile &lt;path&gt;\file7.txt"</pre><hr />

file7.txt
<font class="small">Code:[/color]<hr /><pre>&lt;key&gt; "powexecname tap$$bindloadfile &lt;path&gt;\file8.txt"</pre><hr />

file8.txt
<font class="small">Code:[/color]<hr /><pre>&lt;key&gt; "powexecname clap$$bindloadfile &lt;path&gt;\file1.txt"</pre><hr />

Additionally, you may want to have a "reset" key, just in case your bind gets stuck.

/bind &lt;anotherkey&gt; bindloadfile &lt;path&gt;\file1.txt

Naturally, &lt;key&gt;, &lt;path&gt; and &lt;anotherkey&gt; (along with the specific attack names) will need to be customized to your taste.


 

Posted

thanks for the help. I've (at least for now) decided to just stick with hitting ALL of those buttons for fighting ALL by myself (...i'm lazy).

Another question comes to mind though...
I know you can set a bind to use an insp...and I know you can set a bind to target your pets if your a mastermind...but can you make a bind that will use an insp on a pet? Like how we use F1-F5, could you set F6-F10 for pet insp buttons or something like that? Just curious because I don't know the bind commands for using insp's.

Also, a small one here, I've set up the bind:
/bind w "+forward$$powexec_name sprint" &lt;--or a prestige power type of sprint.
This works well except that, sometimes because of qued attacks or something, I begin to deactivate sprint when I hit 'w' and reactivate when I release. I was wondering if there was a more specific way to type the bind that will clarify to powexec_toggleon when i hit w and powexec_toggleoff when I release?