I have been trying to make a bind that will turn off my energy builder before useing Imbue so not waste the crit on the energy builder.
/bind 5 "-PowerTrayExec 0 $$ +PowerTrayExec 4"
Is not working, the energy builder just keeps going, how do i get this to work?
you need to use PowerTrayExec 0 0, using -PowerTrayExec won't work in this situation. At least thats what I think I used on my Celestial. Might have done something different.
It says in the faq that you can bind a command to target self with the string below, but it has not worked for me and i get the error message, that it is an unknown command. I am trying to get this string to work so i can cast chi and then do a targeted maintained heal on my self.
/bind r "PowerTrayExec 1 10$$ +down1 $$ target_self $$ PowerTrayExec 1 11"
It all works but the traget self command.
Did CO disable this command or something, Please help
How do I target myself before doing a heal?
/bind N "+down1 $$ target_self $$ +PowerTrayExec <slot #>"
Is there a way to bind a key to activate (for example) Gatling Gun when i press it, and deactivate when I release?
Might /bind +x and /bind -x work, or are those operators reserved for powerexec and combining keys? (eg alt+3)
Speaking of gatling gun, is it possible with the PA toggles, to make a single key bind to activated all 3 at the same time? and I mean, all three that can be run at the same time.
Then, I was looking at all commands found here: http://www.champions-online-wiki.com/wiki/Console_Command_List but didn't found anything like "target item". So there is target entity, target friend, target Eneymy... but didn't found anything like "target nearest object"....
Speaking of gatling gun, is it possible with the PA toggles, to make a single key bind to activated all 3 at the same time? and I mean, all three that can be run at the same time.
When I tested this, two powers would activate and the third would not. No clue why.
Stormshade gave me the go-ahead to sticky this thread! Thanks for everyone's hard work in keeping this information up-to-date and responding to questions!
Is there any way to create a macros button to appear in your tray with what you want in it? I remember in CoH, you could create a gray macros button with a 2 or 3 letter name on it and create it to do the same things that a bind would do, only you had to click the button you created for it to work.
Is there any way to create a macros button to appear in your tray with what you want in it? I remember in CoH, you could create a gray macros button with a 2 or 3 letter name on it and create it to do the same things that a bind would do, only you had to click the button you created for it to work.
Unfortunately, we don't have the ability to create buttons.
Has anyone noticed bindings not working correctly?
My block/toggle isn't shutting down when I try to activate powers anymore...if it's not a travel power or a PBAoE, or manually clicking the block icon, it isn't working.
Only workaround I've found so far, is to have a "tap" bind setup (one of my guys has Force Shield so I tap for the sheath at times) to shut the shield down, and that's highly annoying to have to do.
So, anyone else having this problem, or seeing other binds acting funny?
Has anyone noticed bindings not working correctly?
My block/toggle isn't shutting down when I try to activate powers anymore...if it's not a travel power or a PBAoE, or manually clicking the block icon, it isn't working.
Only workaround I've found so far, is to have a "tap" bind setup (one of my guys has Force Shield so I tap for the sheath at times) to shut the shield down, and that's highly annoying to have to do.
So, anyone else having this problem, or seeing other binds acting funny?
I was doing some test and yes, they were not working fine:
My issue was that sometimes work, sometimes not. Or, directly didn't work.
I was trying to chain some powers and tested with some binds.
In one I was trying to stop energy builder, activate on hit buff (sonic device, toxic nanites... whatever) and then cast an aoe power. It looks pretty easy but I wasn't lucky with it.
Issues:
- I wasn't able to "use" a power using its name (no it slot on the power tray). I got the command, got the sintaxys, and tried directly without the bind with different powers. No luck.
- With the bind: I can't deactivate energy builder anyway, the only thing I can do is to "swap" its status with its specific command.
- The same bind, sometimes work, and sometimes not. Finally I tested it with toxic nanites + gigabolt. Sometims it was fine, it uses nanites and drop gigabolt, but others do nothing, use gigabolt without nanites etc...
Also, before this threads goes sticky I asked a questionabout "targeting objects" but seems noone saw it:
Then, I was looking at all commands found here: http://www.champions-online-wiki.com/wiki/Console_Command_List but didn't found anything like "target item". So there is target entity, target friend, target Eneymy... but didn't found anything like "target nearest object"....
is there any chance to get something like that?
And one last thing: In other mmo I saw that you can put some skills in auto (you just need to hit shift+right click on the skill, for ex, the skills glows and when is ready to use it auto fires). Is there anyway to do this in C.O. ?
i'm trying to make a bind that will turn off my energy builder and deselect a target to make it easier to disengage from battle, especially those that you don't mean to start because your energy builder just randomly starts attacking your autotarget. but no matter how hard i try i can't get the "- power[tray/slot]exec 0" or the "power[tray/slot]exec 0 0" commands to work. if the power is on or off those commands to do nothing for me. the + and 1 commands will toggle it on or off, but i want something that will only turn it off and never turn it on if it's off. am i doing something wrong or did i misunderstand the OP?
How do I make my shield toggle on, so I don't need to hold the key? /bind SHIFT PowerTrayExec 1 16
Thanks for the cool guide. I can't get the above one to work though. It just leaves the power on even when I press the bind key again. I tried adding the ++ to it but that doesn't work either. I want to be able to press my block button, and have my character block until I press block again, which turns it off.
Hey everyone,
I was wondering if there is a list of descriptor tags somewhere other than $target and $player? Took me 20m to discover the $player tag, after expecting $name to work
Also, where would I find a list of names for powers that work with the /powerexec command?
The only thing I've seen is the reference to 'force_forceshield_r1' and such. I personally am trying to use my fire powers w/o having to bind it to a slot. I understand the fundamentals behind it, for instance... with the above example, Immolation should be something like this
fire_immolation_r1 (or r2 depending on your rank etc)
but that does not seem to work and I've tried several other variations...
Finally, why are the interface command explanations so difficult to track down? I'm familiar with the wiki listing, and this FAQ on Binds here in the forums and while both are helpful, I find them lacking the information I truly desire...
For Instance, with the setactivecostume command, what does the first variable represent? I know the 2nd one is your costume slot, but there is no explanation as to with the '0' stands for... is that you're build? or just some random number cause I can put anything in the first variable and get my costume to change.
i'm trying to make a bind that will turn off my energy builder and deselect a target to make it easier to disengage from battle, especially those that you don't mean to start because your energy builder just randomly starts attacking your autotarget. but no matter how hard i try i can't get the "- power[tray/slot]exec 0" or the "power[tray/slot]exec 0 0" commands to work. if the power is on or off those commands to do nothing for me. the + and 1 commands will toggle it on or off, but i want something that will only turn it off and never turn it on if it's off. am i doing something wrong or did i misunderstand the OP?
please help.
Interesting problem. I've never really thought about doing it this way. Why? Because the game comes with a built-in 'keybind' for doing this already. Hitting the Esc key has a number of functions (close window & open exit dialogue, for example) and it also has the immediate effect of doing exactly what you want your keybind to do ... drop the current target and shutdown your EB.
Note that this function is not listed under your keybinds (Options menu) ... I'm not sure you can remap this key (Esc) and I'm certainly not going to try.
Regardless, the OP may not have been entirely clear regarding the binary (+ or -) parameter. To make a keybind work as you suggest, try using the '+' in place of the '-'. Because your EB is in an "ON" state, the '+' acts as a keypress that deactivates the command. BTW, I'm still unclear myself as to what purpose the '-' parameter serves ...
I just noticed that someone else appears to have answered this question already, but I'm going to leave my reply as well (since it is a different approach).
Has anyone mastered the /powerhue <int> <float> command to make it set individual powers and not all of them at once?
To my knowledge, no one has yet to figure this one out. The <int> argument remains a mystery and various tests I've attempted to run against possible number combos has yielded zero results.
Thanks for the cool guide. I can't get the above one to work though. It just leaves the power on even when I press the bind key again. I tried adding the ++ to it but that doesn't work either. I want to be able to press my block button, and have my character block until I press block again, which turns it off.
Can this be done?
I've experimented a bit with this, as well as the Travel Powers and Energy Builders. They way certain commands behave may be linked to either the type of power it is or the slot itself. Hard to say, but it doesn't really matter because certain slots are specific to certain powers ... you can't put something else in there if you tried. And, for example, you cannot place your EB at any tray position other than Slot 0.
I've not seen '++' work on any combat ability anywhere. That particular parameter is specific to movement ... and may be specific to certain directions of movement (haven't played with it really).
The '+' and '1' binary parameters do not behave exactly the same in every situation. For most basic powers, they do serve the same function. For your Travel Powers and Blocks ... they do not.
Your typical (and default) Block key has a command line like this: +PowerTrayExec 16
That "binding" makes your block key function in the exact way you are used to ... the game default for blocking. If you bind another key using the same command, for example /bind b "+PowerTrayExec 16", your 'b' key will now function the exact same way your 'Sh' key does. In fact, if you use that specific bind, your 'b' key will now appear in the assigned slot of your power tray, tho 'Sh' will continue to work as well unless you clear it.
If you look at your Keybinds list in your Options menu, 'B' is now your blocking key.
On a side note, just because it's interesting to me (and I don't think I've ever seen it discussed) if you change the command line to PowerSlotExec it won't appear in your tray or on the keybinds list.
Your blocking power will function differently if you structure the command this way: PowerTrayExec 1 16
That command makes your block a "semi-toggle". I call it "semi" because, while you can toggle it on, you cannot use the same command or keybind to toggle it off. It creates the ON condition only. But the previous command, +PowerTrayExec 16, will turn it off. You can also shut off the block by activating another power, such as an attack, a toggle, a buff, or a travel power. For an attack to shut off the blocking "semi-toggle", it has to be successful (you have to be in range of something to hit with the attack). Activating or deactivating your EB won't have any effect. Neither will deactivating various buffs or your travel power.
In short, it appears you have to take some kind of action in order to stop blocking. Passive actions, like turning things off, won't work.
The bottom line is this: If you want to use the same key (such as the default 'Sh' key) to activate an auto-block and deactivate it ... you can't.
I use 'B' for my auto-block. If I'm in combat, any other attack will shut it down and cause me to re-enter the fight. If I'm not in combat and I need to turn it off, I can still do so by simply hitting the 'Sh' key like normal. And, if I just want a quick block, I still have one.
By the way, you don't need to bind that third line above if you haven't changed your default block key. Just copy and paste the first two lines to bind your 'B' and Alt+B keys. You really don't need the 2nd line either, but it's there in case you still want to use a keypress to access your builds.
I've experimented a bit with this, as well as the Travel Powers and Energy Builders. They way certain commands behave may be linked to either the type of power it is or the slot itself. Hard to say, but it doesn't really matter because certain slots are specific to certain powers ... you can't put something else in there if you tried. And, for example, you cannot place your EB at any tray position other than Slot 0.
I've not seen '++' work on any combat ability anywhere. That particular parameter is specific to movement ... and may be specific to certain directions of movement (haven't played with it really).
The '+' and '1' binary parameters do not behave exactly the same in every situation. For most basic powers, they do serve the same function. For your Travel Powers and Blocks ... they do not.
Your typical (and default) Block key has a command line like this: +PowerTrayExec 16
That "binding" makes your block key function in the exact way you are used to ... the game default for blocking. If you bind another key using the same command, for example /bind b "+PowerTrayExec 16", your 'b' key will now function the exact same way your 'Sh' key does. In fact, if you use that specific bind, your 'b' key will now appear in the assigned slot of your power tray, tho 'Sh' will continue to work as well unless you clear it.
If you look at your Keybinds list in your Options menu, 'B' is now your blocking key.
On a side note, just because it's interesting to me (and I don't think I've ever seen it discussed) if you change the command line to PowerSlotExec it won't appear in your tray or on the keybinds list.
Your blocking power will function differently if you structure the command this way: PowerTrayExec 1 16
That command makes your block a "semi-toggle". I call it "semi" because, while you can toggle it on, you cannot use the same command or keybind to toggle it off. It creates the ON condition only. But the previous command, +PowerTrayExec 16, will turn it off. You can also shut off the block by activating another power, such as an attack, a toggle, a buff, or a travel power. For an attack to shut off the blocking "semi-toggle", it has to be successful (you have to be in range of something to hit with the attack). Activating or deactivating your EB won't have any effect. Neither will deactivating various buffs or your travel power.
In short, it appears you have to take some kind of action in order to stop blocking. Passive actions, like turning things off, won't work.
The bottom line is this: If you want to use the same key (such as the default 'Sh' key) to activate an auto-block and deactivate it ... you can't.
I use 'B' for my auto-block. If I'm in combat, any other attack will shut it down and cause me to re-enter the fight. If I'm not in combat and I need to turn it off, I can still do so by simply hitting the 'Sh' key like normal. And, if I just want a quick block, I still have one.
By the way, you don't need to bind that third line above if you haven't changed your default block key. Just copy and paste the first two lines to bind your 'B' and Alt+B keys. You really don't need the 2nd line either, but it's there in case you still want to use a keypress to access your builds.
Actually, Shift can be toggled with the same key. I know because I have it toggle on most of my characters. I cannot remember the bind I used right now, but I'm pretty sure I just made it load up a different bind on top of blocking. It doesn't work so well trying to use the same trick for Autoattack, as it tends to become random if it works right in that situation, but it works just fine for Block.
Actually, Shift can be toggled with the same key. I know because I have it toggle on most of my characters. I cannot remember the bind I used right now, but I'm pretty sure I just made it load up a different bind on top of blocking. It doesn't work so well trying to use the same trick for Autoattack, as it tends to become random if it works right in that situation, but it works just fine for Block.
I'm very curious as to what you mean here: "Shift can be toggled with the same key" ... Do you mean that Blocking can be toggled using the Shift (or some other) key? If so, I'm certain you are correct. I assume it could be done by binding the key in a way that load up a new command to the same key, creating a kind of pseudo-toggle ... as I believe you're suggesting.
I'll admit that I haven't played with this kind of keybinding; I will usually avoid the more complex type of keybinding that can be done using multiple files and/or specialized keypad/controllers. It CAN be done, and often it will even work as intended. In my experience, even simple keybinds in this game can have unexpected results.
For those out there who want a true toggle for blocking, perhaps you can provide an example of what you've done on your characters. I'd like to see it myself just to expand my understanding of the process.
This is what I used for Block (thought I used shift, but I used ` instead, and now I remember that I had switched it to that because that meant I could use it easier during combat with how I keep my hands).
In file Block.txt:
` "PowerTrayExec 1 16 $$ bind_load_file Unblock.txt"
In file Unblock.txt:
` "PowerTrayExec 0 16 $$ bind_load_file Block.txt"
I haven't actually played Champions in a week or two due to RL issues, which is why I didn't remember what I used. And at the time I replied earlier, I was sleepy, or I'd have called it Block, not Shift.
First of all, awesome thread, but I can't find much on the /alias command.
Has anyone found out how to actually save the aliases so they don't reset when logging off??
Other links with more info or some such?
I don't want to bind every sentence to a key .. seems like a waist of keybinds.
In short, it appears you have to take some kind of action in order to stop blocking. Passive actions, like turning things off, won't work.
As noted in a different thread, specifically about Block Toggles, many Power Armor powers won't work to shut off your auto-block either. I imagine it has something to do with the fact that many of those are designed to work specifically while other attacks are active.
and it works fine to start with, hitting t turns on my fireflight and switches to 2nd costume, but hitting t again won't restore my original costume so what have I done wrong?
and it works fine to start with, hitting t turns on my fireflight and switches to 2nd costume, but hitting t again won't restore my original costume so what have I done wrong?
Try "setactivecostume 0 0" and "setactivecostume 0 1". I think th costumes go 0, 1, 2, ... instead of 1, 2, 3, ...
ok i tried that and.. no difference can switch to 2nd costume with fireflight hitting it again only removes the fireflight but keeps the same costume (waited for cooldown to end)
I'm trying to bind a local say and powerexec into one slot, like so:
3 "+PowerTrayExec 10$$local Pentagram of Fire!"
This works, but has two problems. First, the associated hotkey no longer shows over the slot in the power tray. Second, the local message fires twice.
I can get the hotkey to show by binding the combined macro to an intermediate alias... but you can't directly set aliases in a keybind.txt. I could indirectly map a binding to set the alias, but that doesn't work with commands joined by $$. :-/
I can get around the message firing twice like so:
3 "PowerTrayExec 1 10$$local Pentagram of Fire!"
but then maintain/charge powers don't stop when you release their key.
Does anyone know of a way to get around these issues?
I'm trying to bind a local say and powerexec into one slot, like so:
3 "+PowerTrayExec 10$$local Pentagram of Fire!"
This works, but has two problems. First, the associated hotkey no longer shows over the slot in the power tray. Second, the local message fires twice.
I can get the hotkey to show by binding the combined macro to an intermediate alias... but you can't directly set aliases in a keybind.txt. I could indirectly map a binding to set the alias, but that doesn't work with commands joined by $$. :-/
I can get around the message firing twice like so:
3 "PowerTrayExec 1 10$$local Pentagram of Fire!"
but then maintain/charge powers don't stop when you release their key.
Does anyone know of a way to get around these issues?
Have you tried binding the "say" first?
3 "local Pentagram of Fire!$$PowerTrayExec 1 10"
They fire off pretty much instantaneously so it doesn't really matter which is first (as long as it works in the manner you want it to).
ok i tried that and.. no difference can switch to 2nd costume with fireflight hitting it again only removes the fireflight but keeps the same costume (waited for cooldown to end)
Okay. Hope this helps and please forgive me if I'm rehashing information you already know.
As the command lines are given here, I cannot get those to work quite right either. It may simply be old info, but I'm fairly certain these were tested out early on. I suspect it may be related to the order in which the commands are processed even tho they all occur simultaneously as far as the game is concerned. Never fear, there is a sequence of command lines that will work. Feel free to skip to the end and just start testing them out yourself ... or bare with me a bit yet so we all might understand what's happening.
Let's first make sure everyone knows what each command is doing:
SetActiveCostume 0 <costume#>
This command, as you can likely guess, loads up whichever costume you have set for the given costume slot <costume#>. The '0' parameter has little impact on the issue, but it is required. You can use other numbers there, but that's another discussion entirely. Stick with the '0'. The costume numbers start at '0'; your original costume is in costume position 0, not 1. Your second costume is in costume position 1, third costume in position 2, and so on. Naturally, if you only have one costume, this discussion won't apply to you.
+PowerSlotExec 14
Specifically activates your travel power. This is (more or less) the same command as +PowerTrayExec 14 ... but I prefer my version (again, that's another discussion). The '+' is a "keypress condition" and not a true "toggle on" parameter. The exact same '+' is used to turn off flight. Alternatively, the command can also be written as PowerSlotExec 1 14. In this situation, it makes little or no difference. I suspect that the '+' may behave differently in an extended (or multiple) command sequence. This may or may not be related to the overall problem.
BindLoadFile <string>
The underscores (bind_load_file) are not necessary in this command. I'm not sure they're needed in any command, but cannot confirm this without testing them all. This one I've tested. Trust me, it works as given. This is the command to load a specific file where <string> is the file name, including .txt extension. In this case, you need two different files: land.txt and fly.txt
Both files must be placed in your "Live" directory. This is usually found here: C:\Program Files\Cryptic Studios\Champions Online\Live
fly.txt
This file should contain the command for your default costume, or the one you wear when you're not flying. The costume command is not actually activated when the file is loaded; rather it is put into place to activate the costume when 't' is pressed. It will also load the the land.txt file for when you are flying.
land.txt
This file is loaded when you land and contains the command for to activate your flight costume on the next keypress. It also loads the fly.txt file.
Now that the parts are all identified, we can put them together. Step by step ...
Step 1: Create a fly.txt file with the following line in the same directory.
t "SetActiveCostume 0 0$$+PowerSlotExec 14$$BindLoadFile land.txt"
Step 2: Create a land.txt file. Using notepad (or any text editior), type the following and save it as land.txt in your Live directory.
t "SetActiveCostume 0 1$$+PowerSlotExec 14$$BindLoadFile fly.txt"
Step 3: Start the game. Put on your default costume. Turn off your travel power. While you are not in flight, type the following command line into your chat window.
/bindloadfile land.txt
Remember this command. You may want to reset your costume/flight condition by repeating Step 3. Your travel power will be forcibly deactivated--sooner or l ater--and Step 3 will always return you to your default "position" for the command sequence. You don't really have to do it this way, but it may be less confusing if you do. You can also just try to remember this: If you are not flying, make sure you are in the appropriate costume for non-flight before using 't' to activate your travel power; conversely, if you are flying, make sure you are wearing your flight costume before pressing 't'.
Finally, remember that this command sequence only works as a key press. You cannot simply click the icon for your travel power and swap out costumes. Clicking that icon will only activate your travel power.
Try it. Hit the 't' key. If you've done every step as detailed above, it will work. On a side note, when I use this set up, I bind it to a different key (like 'u' ... for "Up, Up, and ..." well, you know the rest).
I realize this post is horribly long and contains far more information than anybody really wants. My goal was not to show off but to help everybody fully understand what is happening and why. Best of luck ... and let me know how it turns out.
NOTE: Some of the replies that follow refer to the original text of this post. It has been edited to correct the file names.
Ok i tried that and i noticed a flash so i assumed it was trying to load my default costume while the default costume was already loaded so i had the wrong costume (the one made at character creation) in fireflight, and waiting the 10secs or cooldown hitting t again turned off fireflight and switched to the 2nd costume (the one made for in fireflight)
So i swapped the 1 and 0 and fly and land around and now works as advertised. For whatever reason it seems to think the new costume is the first one, perhaps something to do with the patch or 'editing' it to check on colours.
Ok i tried that and i noticed a flash so i assumed it was trying to load my default costume while the default costume was already loaded so i had the wrong costume (the one made at character creation) in fireflight, and waiting the 10secs or cooldown hitting t again turned off fireflight and switched to the 2nd costume (the one made for in fireflight)
So i swapped the 1 and 0 and fly and land around and now works as advertised. For whatever reason it seems to think the new costume is the first one, perhaps something to do with the patch or 'editing' it to check on colours.
Anyway problem solved so thanks a bunch mate
i had the same sort of problem as you, i did everything random said but with me it turned flight on and changed to my flying costume, but when i pressed t again it turned fly off but didn't change my costume back. i also tried swapping the numbers around and the land and fly and it still did the same.
but i did manage to get it to work using two keys one to turn flight on and change costume and the other to turn flight off and change costume back to my original.
but would still love it to work on just one key would be simpler
Ok i tried that and i noticed a flash so i assumed it was trying to load my default costume while the default costume was already loaded so i had the wrong costume (the one made at character creation) in fireflight, and waiting the 10secs or cooldown hitting t again turned off fireflight and switched to the 2nd costume (the one made for in fireflight)
So i swapped the 1 and 0 and fly and land around and now works as advertised. For whatever reason it seems to think the new costume is the first one, perhaps something to do with the patch or 'editing' it to check on colours.
Anyway problem solved so thanks a bunch mate
Glad you got it to work. I doubt what you experienced at first was patch related (though I might test that later) ... it is equally possible I have something backward. There's just something about the command sequence and what goes where that makes my eyes bleed. The main reason I went through that ridiculous explanation of each step was an attempt to keep it all straight in my own head. I swapped stuff around so much during test ...
EDIT: Turns out I did have the costume numbers switched. Apologies all around and thanks to Latronis for identifying the issue. The post in question has been corrected.
but would still love it to work on just one key would be simpler
It has been observed elsewhere in this thread that some commands are unreliable, particularly when you string more than a couple of them together. I don't know why that is really and hate to even theorize.
I can only recommend that you try once more using the corrected command sequence as per my latest edit. The fact that you can accomplish much the same thing by binding to different keys suggests that there is no really good reason why it shouldn't work. All the command sequence does is "rebind" the travel key each time it is pressed.
By the way, as noted in my original post, I do not bind the sequence to the actual travel key. But if you do have to undo anything related to my post, you can effectively reset your travel key thru the Options - Keybinds menu.
I'm sure the pieces are in this thread somewhere, but can someone give me an example of a bind that would activate teleport, switch my build, and switch the hue of all my powers. Thanks in advance!
I'm sure the pieces are in this thread somewhere, but can someone give me an example of a bind that would activate teleport, switch my build, and switch the hue of all my powers. Thanks in advance!
I think I answered that in your thread, although I'm not sure if it works, youd have to mess around with it a bit.
Also, I have succesfully bound "south of champions hq" to my keyboard
I'm looking for the command for "throw." I want my guy to say something clever as he sends a dumpster flying into a gangmember's head. I've tried "interact" as the command, but it doesn't work. The "playersay" portion works just fine, though. Any ideas?
I use the ' ; l and k keys for quick switches to all the builds/forms. So far, I have my human form, a werewolf form, and a demon form. I haven't yet gotten my 4th costume slot, so I have time to decide what that form will be. It is annoying that I can't rapidly switch forms mid-combat due to the timer on switching builds, but it's still pretty cool to go from my ST ranged build, (human), to my ST melee form, (werewolf), and then my AoE form, (demon) to achieve different effects. I still can't figure out how to get the bind to trigger tp and do the changes in color/build, then take me out of tp when I release the bound key. It's still fun to play.
I think I answered that in your thread, although I'm not sure if it works, youd have to mess around with it a bit.
Also, I have succesfully bound "south of champions hq" to my keyboard
/alias southhq "yell South of champions hq!"
then:
/bind L southhq
Heh ... funny!
I've been neglecting my favorite thread for a few days but I'll try to get on the ball here shortly. In the meantime, my experience with the "alias" command is kind of limited. My understanding is that any "alias" command is dropped upon log out. Is that accurate? I should just test it myself but I'm lacking energy tonight ...
I'm looking for the command for "throw." I want my guy to say something clever as he sends a dumpster flying into a gangmember's head. I've tried "interact" as the command, but it doesn't work. The "playersay" portion works just fine, though. Any ideas?
This one we can do! A couple of quick observations first ...
PlayerSay OR Local? PlayerSay will pop up a chat balloon that only you (the player) will see. That's preferred by some, but if you're going to the effort, you might want to share your pithy remarks. I mean, Spider-Man is not nearly so amusing when all his wise-cracks are only in his head.
So I prefer the Local chat command for this type of stuff, or Team if you want to keep it in that context. And I think you can abbreviate Local to simply L ... but that might get confusing.
The command you are probably looking for is this one: InteractWindow. That is the command which is executed when you mash that 'Z' key. However, I would not bind any multiple or custom command to your normal interact key (probably 'Z'). Rather, create a second keybind specific for tossing stuff around.
So it would go like this ...
/bind h "InteractWindow$$Local Heads Up!"
With this bind, you will be able to use your 'Z' for all the usual stuff like chatting up NPCs and opening doors. But when you're ready to toss a Buick at someone, use the 'Z' to pick it up then slap that 'H' key to let'r rip.
Hey, thanks for the clarifications. I'm pretty bind-saavy from CoX, but there is a language difference here, as well as a couple of procedural changes. 'Preciate it!
edit:
Just tried it out in game and it's flawless. Thanks again.
Comments
you need to use PowerTrayExec 0 0, using -PowerTrayExec won't work in this situation. At least thats what I think I used on my Celestial. Might have done something different.
/bind r "PowerTrayExec 1 10$$ +down1 $$ target_self $$ PowerTrayExec 1 11"
It all works but the traget self command.
Did CO disable this command or something, Please help
How do I target myself before doing a heal?
/bind N "+down1 $$ target_self $$ +PowerTrayExec <slot #>"
the string you gave me worked great, does what i want now, so thanks alot
Might /bind +x and /bind -x work, or are those operators reserved for powerexec and combining keys? (eg alt+3)
Im sorry if this has been asked, I didn't see it.
Then, I was looking at all commands found here: http://www.champions-online-wiki.com/wiki/Console_Command_List but didn't found anything like "target item". So there is target entity, target friend, target Eneymy... but didn't found anything like "target nearest object"....
is there any chance to get something like that?
/maxfps 40
is the command.
Anyone have an idea how to make this start up automatically?
Unfortunately, we don't have the ability to create buttons.
My block/toggle isn't shutting down when I try to activate powers anymore...if it's not a travel power or a PBAoE, or manually clicking the block icon, it isn't working.
Only workaround I've found so far, is to have a "tap" bind setup (one of my guys has Force Shield so I tap for the sheath at times) to shut the shield down, and that's highly annoying to have to do.
So, anyone else having this problem, or seeing other binds acting funny?
/bind 2 "+PowerTrayExec 6 $$ +PowerTrayExec 7"
but tis not working
so when i hit #2 it says unknown command "powertrayexec 6 unknown command powertrayexec 7
please help im so lost
I was doing some test and yes, they were not working fine:
My issue was that sometimes work, sometimes not. Or, directly didn't work.
I was trying to chain some powers and tested with some binds.
In one I was trying to stop energy builder, activate on hit buff (sonic device, toxic nanites... whatever) and then cast an aoe power. It looks pretty easy but I wasn't lucky with it.
Issues:
- I wasn't able to "use" a power using its name (no it slot on the power tray). I got the command, got the sintaxys, and tried directly without the bind with different powers. No luck.
- With the bind: I can't deactivate energy builder anyway, the only thing I can do is to "swap" its status with its specific command.
- The same bind, sometimes work, and sometimes not. Finally I tested it with toxic nanites + gigabolt. Sometims it was fine, it uses nanites and drop gigabolt, but others do nothing, use gigabolt without nanites etc...
Also, before this threads goes sticky I asked a questionabout "targeting objects" but seems noone saw it:
And one last thing: In other mmo I saw that you can put some skills in auto (you just need to hit shift+right click on the skill, for ex, the skills glows and when is ready to use it auto fires). Is there anyway to do this in C.O. ?
please help.
Thanks for the cool guide. I can't get the above one to work though. It just leaves the power on even when I press the bind key again. I tried adding the ++ to it but that doesn't work either. I want to be able to press my block button, and have my character block until I press block again, which turns it off.
Can this be done?
I was wondering if there is a list of descriptor tags somewhere other than $target and $player? Took me 20m to discover the $player tag, after expecting $name to work
Also, where would I find a list of names for powers that work with the /powerexec command?
The only thing I've seen is the reference to 'force_forceshield_r1' and such. I personally am trying to use my fire powers w/o having to bind it to a slot. I understand the fundamentals behind it, for instance... with the above example, Immolation should be something like this
fire_immolation_r1 (or r2 depending on your rank etc)
but that does not seem to work and I've tried several other variations...
Finally, why are the interface command explanations so difficult to track down? I'm familiar with the wiki listing, and this FAQ on Binds here in the forums and while both are helpful, I find them lacking the information I truly desire...
For Instance, with the setactivecostume command, what does the first variable represent? I know the 2nd one is your costume slot, but there is no explanation as to with the '0' stands for... is that you're build? or just some random number cause I can put anything in the first variable and get my costume to change.
Interesting problem. I've never really thought about doing it this way. Why? Because the game comes with a built-in 'keybind' for doing this already. Hitting the Esc key has a number of functions (close window & open exit dialogue, for example) and it also has the immediate effect of doing exactly what you want your keybind to do ... drop the current target and shutdown your EB.
Note that this function is not listed under your keybinds (Options menu) ... I'm not sure you can remap this key (Esc) and I'm certainly not going to try.
Regardless, the OP may not have been entirely clear regarding the binary (+ or -) parameter. To make a keybind work as you suggest, try using the '+' in place of the '-'. Because your EB is in an "ON" state, the '+' acts as a keypress that deactivates the command. BTW, I'm still unclear myself as to what purpose the '-' parameter serves ...
I just noticed that someone else appears to have answered this question already, but I'm going to leave my reply as well (since it is a different approach).
To my knowledge, no one has yet to figure this one out. The <int> argument remains a mystery and various tests I've attempted to run against possible number combos has yielded zero results.
I've experimented a bit with this, as well as the Travel Powers and Energy Builders. They way certain commands behave may be linked to either the type of power it is or the slot itself. Hard to say, but it doesn't really matter because certain slots are specific to certain powers ... you can't put something else in there if you tried. And, for example, you cannot place your EB at any tray position other than Slot 0.
I've not seen '++' work on any combat ability anywhere. That particular parameter is specific to movement ... and may be specific to certain directions of movement (haven't played with it really).
The '+' and '1' binary parameters do not behave exactly the same in every situation. For most basic powers, they do serve the same function. For your Travel Powers and Blocks ... they do not.
Your typical (and default) Block key has a command line like this: +PowerTrayExec 16
That "binding" makes your block key function in the exact way you are used to ... the game default for blocking. If you bind another key using the same command, for example /bind b "+PowerTrayExec 16", your 'b' key will now function the exact same way your 'Sh' key does. In fact, if you use that specific bind, your 'b' key will now appear in the assigned slot of your power tray, tho 'Sh' will continue to work as well unless you clear it.
If you look at your Keybinds list in your Options menu, 'B' is now your blocking key.
On a side note, just because it's interesting to me (and I don't think I've ever seen it discussed) if you change the command line to PowerSlotExec it won't appear in your tray or on the keybinds list.
Your blocking power will function differently if you structure the command this way: PowerTrayExec 1 16
That command makes your block a "semi-toggle". I call it "semi" because, while you can toggle it on, you cannot use the same command or keybind to toggle it off. It creates the ON condition only. But the previous command, +PowerTrayExec 16, will turn it off. You can also shut off the block by activating another power, such as an attack, a toggle, a buff, or a travel power. For an attack to shut off the blocking "semi-toggle", it has to be successful (you have to be in range of something to hit with the attack). Activating or deactivating your EB won't have any effect. Neither will deactivating various buffs or your travel power.
In short, it appears you have to take some kind of action in order to stop blocking. Passive actions, like turning things off, won't work.
The bottom line is this: If you want to use the same key (such as the default 'Sh' key) to activate an auto-block and deactivate it ... you can't.
I personally use this work around:
/bind b "PowerTrayExec 1 16"
/bind ALT+b "Builds"
/bind SHIFT "+PowerTrayExec 16"
I use 'B' for my auto-block. If I'm in combat, any other attack will shut it down and cause me to re-enter the fight. If I'm not in combat and I need to turn it off, I can still do so by simply hitting the 'Sh' key like normal. And, if I just want a quick block, I still have one.
By the way, you don't need to bind that third line above if you haven't changed your default block key. Just copy and paste the first two lines to bind your 'B' and Alt+B keys. You really don't need the 2nd line either, but it's there in case you still want to use a keypress to access your builds.
I'm very curious as to what you mean here: "Shift can be toggled with the same key" ... Do you mean that Blocking can be toggled using the Shift (or some other) key? If so, I'm certain you are correct. I assume it could be done by binding the key in a way that load up a new command to the same key, creating a kind of pseudo-toggle ... as I believe you're suggesting.
I'll admit that I haven't played with this kind of keybinding; I will usually avoid the more complex type of keybinding that can be done using multiple files and/or specialized keypad/controllers. It CAN be done, and often it will even work as intended. In my experience, even simple keybinds in this game can have unexpected results.
For those out there who want a true toggle for blocking, perhaps you can provide an example of what you've done on your characters. I'd like to see it myself just to expand my understanding of the process.
In file Block.txt:
` "PowerTrayExec 1 16 $$ bind_load_file Unblock.txt"
In file Unblock.txt:
` "PowerTrayExec 0 16 $$ bind_load_file Block.txt"
I haven't actually played Champions in a week or two due to RL issues, which is why I didn't remember what I used. And at the time I replied earlier, I was sleepy, or I'd have called it Block, not Shift.
First of all, awesome thread, but I can't find much on the /alias command.
Has anyone found out how to actually save the aliases so they don't reset when logging off??
Other links with more info or some such?
I don't want to bind every sentence to a key .. seems like a waist of keybinds.
I hope you guys can help me out with this.. thx
As noted in a different thread, specifically about Block Toggles, many Power Armor powers won't work to shut off your auto-block either. I imagine it has something to do with the fact that many of those are designed to work specifically while other attacks are active.
and it works fine to start with, hitting t turns on my fireflight and switches to 2nd costume, but hitting t again won't restore my original costume so what have I done wrong?
Try "setactivecostume 0 0" and "setactivecostume 0 1". I think th costumes go 0, 1, 2, ... instead of 1, 2, 3, ...
3 "+PowerTrayExec 10$$local Pentagram of Fire!"
This works, but has two problems. First, the associated hotkey no longer shows over the slot in the power tray. Second, the local message fires twice.
I can get the hotkey to show by binding the combined macro to an intermediate alias... but you can't directly set aliases in a keybind.txt. I could indirectly map a binding to set the alias, but that doesn't work with commands joined by $$. :-/
I can get around the message firing twice like so:
3 "PowerTrayExec 1 10$$local Pentagram of Fire!"
but then maintain/charge powers don't stop when you release their key.
Does anyone know of a way to get around these issues?
Have you tried binding the "say" first?
3 "local Pentagram of Fire!$$PowerTrayExec 1 10"
They fire off pretty much instantaneously so it doesn't really matter which is first (as long as it works in the manner you want it to).
Okay. Hope this helps and please forgive me if I'm rehashing information you already know.
As the command lines are given here, I cannot get those to work quite right either. It may simply be old info, but I'm fairly certain these were tested out early on. I suspect it may be related to the order in which the commands are processed even tho they all occur simultaneously as far as the game is concerned. Never fear, there is a sequence of command lines that will work. Feel free to skip to the end and just start testing them out yourself ... or bare with me a bit yet so we all might understand what's happening.
Let's first make sure everyone knows what each command is doing:
SetActiveCostume 0 <costume#>
This command, as you can likely guess, loads up whichever costume you have set for the given costume slot <costume#>. The '0' parameter has little impact on the issue, but it is required. You can use other numbers there, but that's another discussion entirely. Stick with the '0'. The costume numbers start at '0'; your original costume is in costume position 0, not 1. Your second costume is in costume position 1, third costume in position 2, and so on. Naturally, if you only have one costume, this discussion won't apply to you.
+PowerSlotExec 14
Specifically activates your travel power. This is (more or less) the same command as +PowerTrayExec 14 ... but I prefer my version (again, that's another discussion). The '+' is a "keypress condition" and not a true "toggle on" parameter. The exact same '+' is used to turn off flight. Alternatively, the command can also be written as PowerSlotExec 1 14. In this situation, it makes little or no difference. I suspect that the '+' may behave differently in an extended (or multiple) command sequence. This may or may not be related to the overall problem.
BindLoadFile <string>
The underscores (bind_load_file) are not necessary in this command. I'm not sure they're needed in any command, but cannot confirm this without testing them all. This one I've tested. Trust me, it works as given. This is the command to load a specific file where <string> is the file name, including .txt extension. In this case, you need two different files: land.txt and fly.txt
Both files must be placed in your "Live" directory. This is usually found here:
C:\Program Files\Cryptic Studios\Champions Online\Live
fly.txt
This file should contain the command for your default costume, or the one you wear when you're not flying. The costume command is not actually activated when the file is loaded; rather it is put into place to activate the costume when 't' is pressed. It will also load the the land.txt file for when you are flying.
land.txt
This file is loaded when you land and contains the command for to activate your flight costume on the next keypress. It also loads the fly.txt file.
Now that the parts are all identified, we can put them together. Step by step ...
Step 1: Create a fly.txt file with the following line in the same directory.
t "SetActiveCostume 0 0$$+PowerSlotExec 14$$BindLoadFile land.txt"
Step 2: Create a land.txt file. Using notepad (or any text editior), type the following and save it as land.txt in your Live directory.
t "SetActiveCostume 0 1$$+PowerSlotExec 14$$BindLoadFile fly.txt"
Step 3: Start the game. Put on your default costume. Turn off your travel power. While you are not in flight, type the following command line into your chat window.
/bindloadfile land.txt
Remember this command. You may want to reset your costume/flight condition by repeating Step 3. Your travel power will be forcibly deactivated--sooner or l ater--and Step 3 will always return you to your default "position" for the command sequence. You don't really have to do it this way, but it may be less confusing if you do. You can also just try to remember this: If you are not flying, make sure you are in the appropriate costume for non-flight before using 't' to activate your travel power; conversely, if you are flying, make sure you are wearing your flight costume before pressing 't'.
Finally, remember that this command sequence only works as a key press. You cannot simply click the icon for your travel power and swap out costumes. Clicking that icon will only activate your travel power.
Try it. Hit the 't' key. If you've done every step as detailed above, it will work. On a side note, when I use this set up, I bind it to a different key (like 'u' ... for "Up, Up, and ..." well, you know the rest).
I realize this post is horribly long and contains far more information than anybody really wants. My goal was not to show off but to help everybody fully understand what is happening and why. Best of luck ... and let me know how it turns out.
NOTE: Some of the replies that follow refer to the original text of this post. It has been edited to correct the file names.
So i swapped the 1 and 0 and fly and land around and now works as advertised. For whatever reason it seems to think the new costume is the first one, perhaps something to do with the patch or 'editing' it to check on colours.
Anyway problem solved so thanks a bunch mate
i had the same sort of problem as you, i did everything random said but with me it turned flight on and changed to my flying costume, but when i pressed t again it turned fly off but didn't change my costume back. i also tried swapping the numbers around and the land and fly and it still did the same.
but i did manage to get it to work using two keys one to turn flight on and change costume and the other to turn flight off and change costume back to my original.
but would still love it to work on just one key would be simpler
Glad you got it to work. I doubt what you experienced at first was patch related (though I might test that later) ... it is equally possible I have something backward. There's just something about the command sequence and what goes where that makes my eyes bleed. The main reason I went through that ridiculous explanation of each step was an attempt to keep it all straight in my own head. I swapped stuff around so much during test ...
EDIT: Turns out I did have the costume numbers switched. Apologies all around and thanks to Latronis for identifying the issue. The post in question has been corrected.
It has been observed elsewhere in this thread that some commands are unreliable, particularly when you string more than a couple of them together. I don't know why that is really and hate to even theorize.
I can only recommend that you try once more using the corrected command sequence as per my latest edit. The fact that you can accomplish much the same thing by binding to different keys suggests that there is no really good reason why it shouldn't work. All the command sequence does is "rebind" the travel key each time it is pressed.
By the way, as noted in my original post, I do not bind the sequence to the actual travel key. But if you do have to undo anything related to my post, you can effectively reset your travel key thru the Options - Keybinds menu.
I've got a pre-order device that gives an "Aura", and i want to turn it on/off with the primary travel power.
Is there a command to "remove/place" a "Device" in a tray?
It activates when slotted, not when clicked hence the question.
(The tray slot in quesiton is #5, or "+InventoryExec Devices 4".)
Thanks in advance...
Also, I have succesfully bound "south of champions hq" to my keyboard
/alias southhq "yell South of champions hq!"
then:
/bind L southhq
The bind I ended up using was:
/bind ' "+powertrayexec 14$$powerhue 0 240$$buildset 0"
I use the ' ; l and k keys for quick switches to all the builds/forms. So far, I have my human form, a werewolf form, and a demon form. I haven't yet gotten my 4th costume slot, so I have time to decide what that form will be. It is annoying that I can't rapidly switch forms mid-combat due to the timer on switching builds, but it's still pretty cool to go from my ST ranged build, (human), to my ST melee form, (werewolf), and then my AoE form, (demon) to achieve different effects. I still can't figure out how to get the bind to trigger tp and do the changes in color/build, then take me out of tp when I release the bound key. It's still fun to play.
Heh ... funny!
I've been neglecting my favorite thread for a few days but I'll try to get on the ball here shortly. In the meantime, my experience with the "alias" command is kind of limited. My understanding is that any "alias" command is dropped upon log out. Is that accurate? I should just test it myself but I'm lacking energy tonight ...
This one we can do! A couple of quick observations first ...
PlayerSay OR Local? PlayerSay will pop up a chat balloon that only you (the player) will see. That's preferred by some, but if you're going to the effort, you might want to share your pithy remarks. I mean, Spider-Man is not nearly so amusing when all his wise-cracks are only in his head.
So I prefer the Local chat command for this type of stuff, or Team if you want to keep it in that context. And I think you can abbreviate Local to simply L ... but that might get confusing.
The command you are probably looking for is this one: InteractWindow. That is the command which is executed when you mash that 'Z' key. However, I would not bind any multiple or custom command to your normal interact key (probably 'Z'). Rather, create a second keybind specific for tossing stuff around.
So it would go like this ...
/bind h "InteractWindow$$Local Heads Up!"
With this bind, you will be able to use your 'Z' for all the usual stuff like chatting up NPCs and opening doors. But when you're ready to toss a Buick at someone, use the 'Z' to pick it up then slap that 'H' key to let'r rip.
Best of luck!
edit:
Just tried it out in game and it's flawless. Thanks again.