The Incomplete and Unofficial Guide to /bind (1.1)
[ QUOTE ]
[ QUOTE ]
Ah yes, tis likely that was to the MM bind, my bad. I had seen
Re: MasterMind Macros [Re: JediMystiq] and assumed he was replying to Jedi, hence the confusion.
Carry on now, nothing to see here
[/ QUOTE ]
You forgot to wave your hand first.
[/ QUOTE ]
"Wut? you think yer some kinda Jedi or somethin?"
Kudos---:*)
Is there any way to bind commands to the icons in the powers tray instead of keys? I love the idea of having my character say different phrases when she uses a power, but I hate hate hate assigning powers to keyboard keys.
Instead of assigning a power to a key and having that trigger a phrase, I would much rather be able to just press the "Jab" button on the powers tray and have my character say something witty when she throws a punch. Is that possible?
That's called a Macro. It's created the same way as a bind (using "/macro" instead of "/bind"), but I don't think that you can load or save a 'macro file' like you can a 'bind file'.
[ QUOTE ]
That's called a Macro. It's created the same way as a bind (using "/macro" instead of "/bind"), but I don't think that you can load or save a 'macro file' like you can a 'bind file'.
[/ QUOTE ]
I can confirm there is no way to load or save macros.
The macro's will be saved to your character. I have my macros in a text file and copy and paste when I want that macro to a new character.
[color=gold][b][size=5]♪ Sometimes you feel like a Tank, Sometimes you don't! ♪[/size][/color][/b]
[url=http://boards.cityofheroes.com/showthread.php?t=114726][color=black][b][size=5]Moon [color=red]Hazard [color=black]Zone![/size][/color][/color][/color][/b][/url]
You can't load a ready-to-use macro into the game, but you can make it easier on yourself. I have a bind in my regular keybind file which loads a file that has a list of specific keybinds and another that loads a file that clears all of these commands so these macros don't put me at the maximum number of binds.
As an example of what I do, I have Macros for all the inspirations which I use for all of my characters in a file called Macros.txt in the CoH piggs folder. They are listed like this:
ALT+NUMPAD1 "$$macro DEF <inspexec_name PHENOMENAL LUCKinspexec_name GOOD LUCKinspexec_name LUCK>"
This makes a single button with the "<" and ">" in the command line. I just delete those and add in the dollar signs where needed. Makes it a lot easier for making a new character.
If you want to make a single bind to create multiple macro buttons, just add more $$macro entries like this:
CTRL+NUMPAD7 "$$macro Togg <powexec_name SPRINTpowexectoggleON COMBAT JUMPING>$$macro T-off <powexectoggleOFF FLYpowexectoggleOFF SPRINTpowexectoggleOFF SUPER JUMP>"
This creates two buttons, but you still have to edit the command line in each button after they are created for the correct syntax. As far as I can tell, this is only limited by the maximum length of a single bind entry. This bind creates eight buttons:
CTRL+NUMPAD1 "$$macro TM1 <team_select 1>$$macro TM2 <team_select 2>$$macro TM3 <team_select 3>$$macro TM4 <team_select 4>$$macro TM5 <team_select 5>$$macro TM6 <team_select 6>$$macro TM7 <team_select 7>$$macro TM8 <team_select 8>"
Now, does anyone know what the command is for setting your search flag to the new "Not Accepting invites!" and the regular "Not Seeking"?
| Issue 9 Fly poses | IO's and ED
| Cycling the Combat Monitor | Load Macros from a Text File |
[ QUOTE ]
You can't load a ready-to-use macro into the game
[/ QUOTE ]
Sure you can. I do it all the time. Here's a simple one, copy this and paste it into the chat line.
/macro Hi "emote bigwave$$tell $target, Hi $target! Welcome to the Team!"
never had a problem with it.
[color=gold][b][size=5]♪ Sometimes you feel like a Tank, Sometimes you don't! ♪[/size][/color][/b]
[url=http://boards.cityofheroes.com/showthread.php?t=114726][color=black][b][size=5]Moon [color=red]Hazard [color=black]Zone![/size][/color][/color][/color][/b][/url]
I meant without a chat line entry. I should have been more clear...or something. But thanks.
You could at least do something useful and find that command for setting the search flag to the new "Not Accepting invites!"
[That was meant to be humorous. I see you being helpful a lot. Well, sometimes.]
| Issue 9 Fly poses | IO's and ED
| Cycling the Combat Monitor | Load Macros from a Text File |
[ QUOTE ]
I meant without a chat line entry. I should have been more clear...or something. But thanks.
You could at least do something useful and find that command for setting the search flag to the new "Not Accepting invites!"
[That was meant to be humorous. I see you being helpful a lot. Well, sometimes.]
[/ QUOTE ]
lol
in game commands?? I have been accused of never being in game, and living on the forums. How should I know??
[color=gold][b][size=5]♪ Sometimes you feel like a Tank, Sometimes you don't! ♪[/size][/color][/b]
[url=http://boards.cityofheroes.com/showthread.php?t=114726][color=black][b][size=5]Moon [color=red]Hazard [color=black]Zone![/size][/color][/color][/color][/b][/url]
Is there a way to change costumes using a bind key, so the act of switching suits can be combined with a pithy saying and a flashy power activation?
try this change it as you see fit.
/Bind F11 "local SHAZAM!!$$CC 01$$powexec_name X"
[color=gold][b][size=5]♪ Sometimes you feel like a Tank, Sometimes you don't! ♪[/size][/color][/b]
[url=http://boards.cityofheroes.com/showthread.php?t=114726][color=black][b][size=5]Moon [color=red]Hazard [color=black]Zone![/size][/color][/color][/color][/b][/url]
Not sure on HOW to search for this, so I'll just add here
Can anyone explain the use of "+" at the start of a command? I'm quite familiar with binding, macros, etc. Am looking for a technical description of what the + is doing differently than just a regular key-press bind.
Example (roughly) of something I have: numpad1 "+ $$teamselect 1$$powexec speed boost"
Hitting numpad1 selects teammate 1, and then gives them speed boost.
I'm interpreting the "+" to mean "when the button is pressed, do this stuff", but also, meaning that if there was a - bind, it would read "when this button is RELEASED, now do this stuff".
If I take out the + from my example, the bind still works the same way (or so I'm pretty sure the last time I tried it out). So what is it really doing?
What I'm hoping to do is "on press" of X key, do teamselect > apply power....but also, "on RELEASE" of the same X key, do this other power (like Increase Density). All in one bind line without having to rebind the X key by use of a separate bind file.
Am I just putting too much weight on the "+" part of it? Maybe just change my thinking to "while" the button is pressed down, do this stuff? I can't seem to get the - aspect to work to my liking.
I've already forgotten about most of you
[ QUOTE ]
Not sure on HOW to search for this, so I'll just add here
Can anyone explain the use of "+" at the start of a command? I'm quite familiar with binding, macros, etc. Am looking for a technical description of what the + is doing differently than just a regular key-press bind.
Example (roughly) of something I have: numpad1 "+ $$teamselect 1$$powexec speed boost"
Hitting numpad1 selects teammate 1, and then gives them speed boost.
I'm interpreting the "+" to mean "when the button is pressed, do this stuff", but also, meaning that if there was a - bind, it would read "when this button is RELEASED, now do this stuff".
If I take out the + from my example, the bind still works the same way (or so I'm pretty sure the last time I tried it out). So what is it really doing?
What I'm hoping to do is "on press" of X key, do teamselect > apply power....but also, "on RELEASE" of the same X key, do this other power (like Increase Density). All in one bind line without having to rebind the X key by use of a separate bind file.
Am I just putting too much weight on the "+" part of it? Maybe just change my thinking to "while" the button is pressed down, do this stuff? I can't seem to get the - aspect to work to my liking.
[/ QUOTE ]
The plus just tells the system to do the bind on keydown or keyup. If you want to change the bind after the key goes down, use bindloadfile commands to remap the bound key to what you want. For instance:
c:\coh\file1.txt
<font class="small">Code:[/color]<hr /><pre>numpad1 "+ $$teamselect 1$$powexec speed boost$$bindloadfile c:\coh\file2.txt"</pre><hr />
c:\coh\file2.txt
<font class="small">Code:[/color]<hr /><pre>numpad1 "+ $$teamselect 1$$powexec increase density$$bindloadfile c:\coh\file1.txt"</pre><hr />
Note, I'm not sure, but I think that teamselect may be treated as a power, thus if you have selected the first teammate already it will execute speed boost (using your bind not mine). If you don't have them targeted, it will target them on keydown, and speed boost them on keyup. I'm not certain, and testing with my supplied bindsystem may or may not work. Good luck!
The separate loading of a bindfile is what I'd like to avoid.
I've already forgotten about most of you
[ QUOTE ]
The separate loading of a bindfile is what I'd like to avoid.
[/ QUOTE ]
Unfortunately, if you want to execute a power on keydown and a power on keyup, it may be the only way to do it. Though you may tray using:
numpad1 "+ $$teamselect 1$$powexectoggleon speed boost$$powexectoggleon increase density"
That may work. But you may also have to hit it twice. Not quite sure, since neither of those powers are technically toggles, I'm not sure what will happen. It is worth a try.
Wondering if anyone can help me with a bind I'm trying to set up but having trouble with. My intent is to have some of the movement keys (A,D,Q,E) swap out function when I trigger my mouselook toggel so that with no mouselook A and D turn the avatar, but when mouselook is on A and D strafe the avatar instead.
So I set up two bind files as follows
nomouselook.txt contains[ QUOTE ]
x "bind_load_file c:\coh\mouselook.txt$$++mouselook$$tell $name, -- Looklock OFF --"
A "nop"
D "nop"
Q "nop"
E "nop"
A "+left"
D "+right"
E "+turnright"
Q "+turnleft"
NUMPAD1 "tell $name, The nomouselook file is loaded."
[/ QUOTE ]
and the file mouselook.txt contains[ QUOTE ]
x "bind_load_file c:\coh\nomouselook.txt$$++mouselook$$tell $name, -- Looklock ON --"
A "nop"
D "nop"
Q "nop"
E "nop"
A "+turnleft"
D "+turnright"
E "+right"
Q "+left"
NUMPAD1 "tell $name, The mouselook file is loaded."
[/ QUOTE ]
When I try to use this however it doesn't switch right. Any insight would be helpful.
Try:
nomouselook.txt contains[ QUOTE ]
x "++mouselook$$tell $name, -- Looklock OFF --$$bind_load_file c:\coh\mouselook.txt"
A "+left"
D "+right"
E "+turnright"
Q "+turnleft"
NUMPAD1 "tell $name, The nomouselook file is loaded."
[/ QUOTE ]
and the file mouselook.txt contains[ QUOTE ]
x "++mouselook$$tell $name, -- Looklock ON --$$bind_load_file c:\coh\nomouselook.txt"
A "+turnleft"
D "+turnright"
E "+right"
Q "+left"
NUMPAD1 "tell $name, The mouselook file is loaded."
[/ QUOTE ]
It probably wasn't working the way you wanted with the bindload way a t the end like that. For a keydown/keyup bind like this one is supposed to be, you need the first letter in the bind command to be +. Also, eliminate the nop binds. Just overwriting the keys will do the trick.
Hope this works for you. By the way, this is an interesting Idea. I'm thinking I'm going to try to add this option to CityBinder's SoD system.
the "nop" seemed to be nessisary or I'd get an error message. This bind turned out to be more trouble than it was worth. Everytime I hit the rmouse it messed up the sequence and even after I unbound the rmouse it would mess up time to time anyway with power combos. Was trying to make it more like WOW mousebind. Ah well. Thanks though.
I have been playing COV for almost a week now and i want to get into some macros or binds.. Heres what i want to do.
I want to create a macro or a bind that will allow me to create a saying and attack at the same time. I saw a guy doing it on one of the teams that i was on and it was great for being in character. Can anyone help?
First page of this thread- third post down should help.
"I'm not scared of anyone or anything Angie. Isn't that the way life should be?"
Jack Hawksmoor, The Authority.
[ QUOTE ]
I have been playing COV for almost a week now and i want to get into some macros or binds.. Heres what i want to do.
I want to create a macro or a bind that will allow me to create a saying and attack at the same time. I saw a guy doing it on one of the teams that i was on and it was great for being in character. Can anyone help?
[/ QUOTE ]
There's quite a few ways to do this really. Here's the simplest in terms of how to set it all up:
/bind key "say Whatever you want to say$$powexecname Power name"
Or, if you want you could also do:
/bind key "say Whatever you want to say$$powexecslot Power Tray Slot, in the bottom tray"
Use that if you simply want to say something whenever you execute whatever power is in a given slot on your power tray.
There are other ways you could do this, such as with a Macro, but IIRC macro's won't tell you when the power is recharging or ready. They will always seem ready, and can thus be very confusing. Not to mention, macros have a very limited choice of icons to choose from.
Hope that helps!
hey thats awesome i will try that .. thanks
I've been working on a macro for a quick, witty remark everytime get AS'd by a stalker in PvP for about 3 hours now and having a frustrating time. I'm sure its something simple that i am doing wrong and i would love some feedback.
I started off by making a folder c:\keybinds and within it are as1.txt, as2.txt, and as3.txt (written with Notepad). The 3 separate files read as this:
as1.txt
"local Silly Stalker, Tanks are for Brutes!$$bind_load_file c:\keybinds\as2.txt"
as2.txt
"local OUCH!$$bind_load_file c:\keybinds\as3.txt"
as3.txt
"local Why you gotta be so hateful yo?$$bind_load_file c:\keybinds\as1.txt"
Now ingame i have been using this as my macro (which wont work):
/macro AS, "bind_load_file c:\keybinds\as1.txt"
When i try to use it, the game says "Usage:bind takes 2 args, you gave 1."
I have no idea what that means and i would really appreciate some help with this.
[ QUOTE ]
Ah yes, tis likely that was to the MM bind, my bad. I had seen
Re: MasterMind Macros [Re: JediMystiq] and assumed he was replying to Jedi, hence the confusion.
Carry on now, nothing to see here
[/ QUOTE ]
You forgot to wave your hand first.
[color=gold][b][size=5]♪ Sometimes you feel like a Tank, Sometimes you don't! ♪[/size][/color][/b]
[url=http://boards.cityofheroes.com/showthread.php?t=114726][color=black][b][size=5]Moon [color=red]Hazard [color=black]Zone![/size][/color][/color][/color][/b][/url]