The Incomplete and Unofficial Guide to /bind (1.1)


Aarzak

 

Posted

Here's one that came up last night. can anyone thinl of a macro that will toggle the FPS display?

/macro FPS "showfps 1 $$ netgraph 1"
/macro fps "showfps 0 $$ netgraph 0"

Is what I currently use, but it uses two buttons.


The robot revolt begins!

 

Posted

[ QUOTE ]
Here's one that came up last night. can anyone thinl of a macro that will toggle the FPS display?


[/ QUOTE ]

/macro fps "++showfps$$++netgraph" should work.


 

Posted

[ QUOTE ]
I'm sort of new at this, so forgive me if this has already been asked and answered.

I'd like to create a bind that has pauses in it.
Example: I activate Snipe blast, local would see "Target Aquired 'target name' Charging Canon" then a second later Local would see " Canon charged Fire!"

I have a robotic character that i'd like to create binds like this for.

So Is it possible?

/me crosses fingers

[/ QUOTE ]

TekTron the only other way to do this is to use two text files.

Snipe1.txt
ctrl+H "+ $$Local Target Aquired $target Charging Canon$$bind_load_file c:\CoH\Keybinds\Snipe2.txt"


Snipe2.txt
ctrl+H " $$powexec_name Snipe power name$$Local Canon charged Fire!$$bind_load_file c:\CoH\Keybinds\snipe2.txt"


To start bind copy this line into your chat window:

/bind_load_file c:\CoH\Keybinds\snipe2.txt


If you story you bind files differently adjust the text files appropriately.

The pause would be manual. Press down on the key would say snipe1 text. Release key would fire blast and say second text phrase.


You could move "powexec_name Snipe power name$$"
to snipe1 after local text and before bind load command if timing is not to your liking.


Champion
Pillars of Might
Darc Ranger [Blas] / Darc Nebula [Cont]
The Bikini Patrol
Darc Lighter:51-[Blas] / Darc Lady:50-[Tank]
The Panty Raiders
Aegis Magnus [MM] / Atomic Spector [Cor] / Dominar Sefus [Dom]
MEGAFORCE
-Darc Ranger [Def]

 

Posted

[ QUOTE ]
Now my question...I want to program a key (say Insert) to do a camera reset when I depress the key and camdist when I release the key. If I do

/bind insert "camreset$$camdist 100"

The camera distance gets set, but the camera never resets to the correct starting position.

Can you help me?

[/ QUOTE ]


Make two text files:

<ul type="square">[*]zoom_in.txt
INSERT "+ $$camreset$$bind_load_file [path]zoom_out.txt"
[*]zoom_out.txt
INSERT "+ $$camdist 100$$bind_load_file [path]zoom_in.txt"[/list]
Replace [path] with the path to your keybind files. Also, either put the contents of zoom_in.txt into your main keybinds file (and reload it) or type in the bind manually in-game.


I like your idea, so I'm going to use it myself. Thanks.


I should have stopped paying you as soon as I realized that you were using my money to change the PvE game I love into a PvP game. It was foolish of me to trust you to leave PvE intact.

 

Posted

[ QUOTE ]
Anyone know what the maximum number of characters is that a single bind can contain?

[/ QUOTE ]

No more than 255 characters in a single keybind. Only the characters between the quotes count. For example:

<ul type="square">[*]/bind b "++first"[/list]
This bind would be considered 7 characters long by the game. If you try to create a bind that's longer than 255 characters, the bind will be successfully made, but the excess characters will be truncated. Naturally, this can cause problems.


I should have stopped paying you as soon as I realized that you were using my money to change the PvE game I love into a PvP game. It was foolish of me to trust you to leave PvE intact.

 

Posted

Fantastic. I know have three sets of 10 binds each on my numberpad that can be cycled through by pressing the "0" key.

I greatly appreciate all the info in this thread!


 

Posted

I've gone threw this amillion times anyhow i know its possible to bind a key to start a show/start and i'm trying to bind one to my SG's Channel could someone please Help me out if they know it?
I know it should go something like this
/bind numpad1 "showchat$$beginChat /send Ghost Legion[lvl$level:$Archetype:$name(GHOST LEGION)] "
I got everything to workas far as showing my characters information and my supergroup but I cannot for the life of me get it to begin Chat in the CHannel my supergroup created. Could someone help me get it correct? Please and Thank you in advance.


My Supergroup is Ghost Legion, Insane Crusaders of Ghost Legion, Ghost Legion of Liberty, My Villiangroup is Shadow Wraiths.
My Global is @Darklite and @DazzlerDarklite

 

Posted

Darklite, are you trying to send something to SG chat, or to a global channel your SG created? If trying to send it to the SG channel, change “/send” to “/sg”. I’m pretty sure that will send the message to the SG channel without changing the current chat channel you have set.

If you’re trying to send it to a global channel:

That’s a bit more complicated, and this probably not exactly what you’re looking for. As far as I know, there is NO way to just send a message to a global channel. You actually need to change your chat channel over to that global channel before you do the showchat/beginchat. Unfortunately (I HATE it when there are two “unfortunately’s”), there’s no way to specifically change your chat channel to a global channel through a bind. Instead, you need to do a little trick.

First, you need to create a new chat tab. When you get the initial chat edit screen, look for the global channel your SG created in the display selection area. Add that channel to the tab first. This will do two things: 1. it will give that tab the same name as the first channel added. Second, it will set that channel as the default channel for that tab. Now, when you select that tab, using ‘chat_set a’ (and clicking on the ‘a’ on the chat line) will set the chat to that channel.

Now, I THINK that the channel name you’re using is ‘GHOST LEGION’. So, I’ve modified this to use that. If I’m wrong, you should have enough here to figure out the rest on your own…

So, once you’ve got that done, use this bind:

/bind numpad1 "tab_select GHOST LEGION$$chat_set a$$ startchat$$beginChat [lvl$level:$Archetype:$name(GHOST LEGION)]”

BUT (don’t you hate that word…) this will leave your chat channel set to that global channel, and you’ll need to change it back to what ever other channel you wanted.

That’s the best I can do…

Volt

p.s. I work for stars


 

Posted

ya its a global channel, that i'm trying thanks alot i'll try that out when I get back later tonight.


My Supergroup is Ghost Legion, Insane Crusaders of Ghost Legion, Ghost Legion of Liberty, My Villiangroup is Shadow Wraiths.
My Global is @Darklite and @DazzlerDarklite

 

Posted

[ QUOTE ]
[ QUOTE ]
Here's one that came up last night. can anyone thinl of a macro that will toggle the FPS display?


[/ QUOTE ]

/macro fps "++showfps$$++netgraph" should work.

[/ QUOTE ]

Grotus, you are brilliant! Thanks much for this elegant solution!


The robot revolt begins!

 

Posted

Thanks to you and the others who answered my question.

I'll use this info for the good of mankind


 

Posted

Hope it helped


[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]

 

Posted

In a word, yes.


 

Posted

[ QUOTE ]
ya its a global channel, that i'm trying thanks alot i'll try that out when I get back later tonight.

[/ QUOTE ]

Darklite_Burst
This should also work without changing the current channel in use.
For example if you were in local you could use this bind to chat in global and still stay in local chat.

Shift+2 beginchat /send "Global Channel" [lvl$level:$Archetype:$name]

I know it look funny without the quotations and the begin and end, but this works.

TekTron

Glad to help.


Champion
Pillars of Might
Darc Ranger [Blas] / Darc Nebula [Cont]
The Bikini Patrol
Darc Lighter:51-[Blas] / Darc Lady:50-[Tank]
The Panty Raiders
Aegis Magnus [MM] / Atomic Spector [Cor] / Dominar Sefus [Dom]
MEGAFORCE
-Darc Ranger [Def]

 

Posted

Hi all, I've just spent the last hour trying to find what I need in the many pages here and have come out with nothing so if someone who is reading this can help I'd be very grateful. I'm wanting a bind for speedboost and increase density so all I have to do is click on one key and it will speed boost the target then increase density on same target is this possible? thank you

Also say you have made a BOO BOO on a bind will that bind be over written by adding another to the same key to which you originally used? For example say I used the letter t for teleport bind and I want to now re write it if I do will the original one be over written with the new one? Again thanks J


 

Posted

Unfortunately I can find no simple solution to your problem. Try this but I am not confident that it will work you will have to press the numpad1 key twice.

/bind numpad1 "unselect$$team_select 1$$powexec_name speedboost$$powexec_name increase density"

I am more confident on the following but it is a lot more work

Create two bind files called density, and speedboost

Speedboost.txt
numpad1 "unselect$$team_select 1$$powexec_name speedboost$$bind_load_file c:\binds\density.txt"
numpad2 "unselect$$team_select 2$$powexec_name speedboost$$bind_load_file c:\binds\density.txt"
numpad3 "unselect$$team_select 3$$powexec_name speedboost$$bind_load_file c:\binds\density.txt"
numpad4 "unselect$$team_select 4$$powexec_name speedboost$$bind_load_file c:\binds\density.txt"
numpad5 "unselect$$team_select 5$$powexec_name speedboost$$bind_load_file c:\binds\density.txt"
numpad6 "unselect$$team_select 6$$powexec_name speedboost$$bind_load_file c:\binds\density.txt"
numpad7 "unselect$$team_select 7$$powexec_name speedboost$$bind_load_file c:\binds\density.txt"
numpad8 "unselect$$team_select 8$$powexec_name speedboost$$bind_load_file c:\binds\density.txt"

density.txt
numpad1 "unselect$$team_select 1$$powexec_name increase density$$bind_load_file c:\binds\speedboost.txt"
numpad2 "unselect$$team_select 2$$powexec_name increase density$$bind_load_file c:\binds\speedboost.txt"
numpad3 "unselect$$team_select 3$$powexec_name increase density$$bind_load_file c:\binds\speedboost.txt"
numpad4 "unselect$$team_select 4$$powexec_name increase density$$bind_load_file c:\binds\speedboost.txt"
numpad5 "unselect$$team_select 5$$powexec_name increase density$$bind_load_file c:\binds\speedboost.txt"
numpad6 "unselect$$team_select 6$$powexec_name increase density$$bind_load_file c:\binds\speedboost.txt"
numpad7 "unselect$$team_select 7$$powexec_name increase density$$bind_load_file c:\binds\speedboost.txt"
numpad8 "unselect$$team_select 8$$powexec_name increase density$$bind_load_file c:\binds\speedboost.txt"

your will still have to press the key twice

In answer to your second question yes you can make a new bind over the top of an old one.

It occurs to me (because of the second question) that you might not know how to create a keybinds file.

First you already have one called Keybinds.txt search for it on your C drive.
Then make a directory called binds off your C drive (c:\binds)
I would then copy the keybinds.txt to the binds directory
Change the name of the keybinds.txt to Speedboost.txt

Edit your new text file with notepad the end of the file should look like this.

LALT "+alttray"
M "map"
MBUTTON "+camrotate"
MOUSEWHEEL "+camdistadjust"
N "nav"
P "powers"
PAGEDOWN "camreset"
PAGEUP "+camrotate"
Q "+turnleft"
R "++autorun"
RALT "alttraysticky"
RBUTTON "+mouse_look"
S "+backward"
SPACE "+up"
SYSRQ "screenshot"
T "target"
TAB "target_enemy_next"
CTRL+TAB "target_enemy_near"
SHIFT+TAB "target_enemy_prev"
W "+forward"
X "+down"
Z "powexec_abort"

Add the numpad changes right after the N "nav"

It should look like this when your done

LALT "+alttray"
M "map"
MBUTTON "+camrotate"
MOUSEWHEEL "+camdistadjust"
N "nav"
numpad1 "unselect$$team_select 1$$powexec_name speedboost$$bind_load_file c:\binds\density.txt"
numpad2 "unselect$$team_select 2$$powexec_name speedboost$$bind_load_file c:\binds\density.txt"
numpad3 "unselect$$team_select 3$$powexec_name speedboost$$bind_load_file c:\binds\density.txt"
numpad4 "unselect$$team_select 4$$powexec_name speedboost$$bind_load_file c:\binds\density.txt"
numpad5 "unselect$$team_select 5$$powexec_name speedboost$$bind_load_file c:\binds\density.txt"
numpad6 "unselect$$team_select 6$$powexec_name speedboost$$bind_load_file c:\binds\density.txt"
numpad7 "unselect$$team_select 7$$powexec_name speedboost$$bind_load_file c:\binds\density.txt"
numpad8 "unselect$$team_select 8$$powexec_name speedboost$$bind_load_file c:\binds\density.txt"
P "powers"
PAGEDOWN "camreset"
PAGEUP "+camrotate"
Q "+turnleft"
R "++autorun"
RALT "alttraysticky"
RBUTTON "+mouse_look"
S "+backward"
SPACE "+up"
SYSRQ "screenshot"
T "target"
TAB "target_enemy_next"
CTRL+TAB "target_enemy_near"
SHIFT+TAB "target_enemy_prev"
W "+forward"
X "+down"
Z "powexec_abort"

Save your file and make a copy of it called Density.txt
Then replace all the numpads with the density ones. Save file.

Enter the game and type out
/bind_load_file c:\binds\Speedboost.txt

This should get you started on the wonderful world of binds good luck.


[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]

 

Posted

Can some one tell me what is wrong with these???

Toggle to Turn on power and go to tray

/macro Nova “powexec_toggleon Dark Nova$$goto_tray 5”



Toggle to Turn off power and go back to tray 1

/macro Off “powexec_toggleoff Dark Nova$$goto_tray 1”

Also i forgot it says it takes 2 args and i gave 4, but im not that good with these...


 

Posted

Try this instead

/macro Nova “powexectoggleon Dark Nova$$goto_tray 5”

/macro Off “powexectoggleoff Dark Nova$$goto_tray 1”

you don't need the underline between the words


[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]

 

Posted

I tried taking out the underline and still does not work, when i put it in it still says it takes 2 args and i gave 4, and when i put the command line in it go's to tray 5, but does not activate the power and it does not make the Macro Button...


 

Posted

For some reason the game does not like the quotation marks used in word. The quotation marks used in a text file seem to work ok. It appears that your macro was originally typed in Word.

/macro Nova "powexectoggleon Dark Nova$$goto_tray 5"
Text file "
/macro Nova “powexectoggleon Dark Nova$$goto_tray 5”
Word ”

See the difference?

Sorry I should have checked. I just copied your macros and corrected the underline.


[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]

 

Posted

Quick request:

If I want to bind Recall Friend to T key and have the phrase "[Target] Acquired, Teleporting", what would the bind look like?


 

Posted

/bind T "team $target Acquired, Teleporting$$powexec_name recall friend"


[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]

 

Posted

Thank you Golden_Ace for taking the time out to reply to my question I haven't tried what you have suggested but have it here ready for when I next get the chance to cheers


 

Posted

Thanks as well Golden Ace. I'll need that when I respec in Teleport after I5.

Sorry Tanks got so shafted


 

Posted

Anytime guys. Don't hesitate to send me a tell if you have problems.


[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]