Ensign
Join Date: Sep 2012
Posts: 11
# 1 keybinds not working?
10-16-2012, 02:43 PM
I try to keybind a file. I do the following:

/unbind_all
/bind_load_file binds.txt

The contents of binds.txt are:

p "+TrayExecByTray 0 1 && +TrayExecByTray 0 3"

only this line. very simple true?

Then, when I press 'p' I obtain the following error message twice.

"TrayExecByTray" takes 3 argument(s).
TrayExecByTray <int> <int> <int>

If I change the file contents to:

p "+TrayExecByTray 0 1"

or

p "+TrayExecByTray 0 3"

I don't get error message and the power in that tray and slot is triggered.

What am I doing wrong? I am unable to concat powers, I can not bind more than one tray slot to a key. am I doing something wrong or does the keybind system actually doesn't work?
Starfleet Veteran
Join Date: Jun 2012
Posts: 365
Ensign
Join Date: Sep 2012
Posts: 8
# 3
10-16-2012, 11:02 PM
Try this from within the game:

/bind P "UseTraySlot0 1 $$ UseTraySlot0 3"

Works for me, at least.
Ensign
Join Date: Sep 2012
Posts: 11
# 4
10-16-2012, 11:57 PM
Thank you both for reply

Quote:
Originally Posted by dabelgrave View Post
Try:

p "+trayexec 0 1 $$ +trayexec 0 3"
No luck. The effect is the error message changes to

"TrayExec" takes 3 argument(s).
TrayExcec <int> <int> <int>

Quote:
Originally Posted by lysandrius
Try this from within the game:

/bind P "UseTraySlot0 1 $$ UseTraySlot0 3"

Works for me, at least.
When written it launches only the (0,3) power [cannon rapid fire I]. After that when I press 'p' only triggers the (0,1) power [tactical team] even with multiple keypress the (0,3) power is not triggered again. And those abilities don't share cooldown.


Is so difficult to join two abilities in a single key press? what's wrong?
Commander
Join Date: Jul 2012
Posts: 262
# 5
10-17-2012, 12:56 AM
Quote:
Originally Posted by teaius View Post
I try to keybind a file. I do the following:

/unbind_all
/bind_load_file binds.txt

The contents of binds.txt are:

p "+TrayExecByTray 0 1 && +TrayExecByTray 0 3"
you almost had it right. change it to: p "+TrayExecByTray 0 1 $$ +TrayExecByTray 0 3" and you should be all set.
Starfleet Veteran
Join Date: Jun 2012
Posts: 365
# 6
10-17-2012, 07:31 AM
Another option would be:

p "trayexecbytraywithbackup 1 0 1 0 3"

This is a very useful keybind that I use to rotate between two abilities, such as two Tactical Teams, two cannon abilities, or two attack patterns. It tries to activate the first ability in the keybind (second/third numbers), and if that's still on cooldown, moves to the other (fourth/fifth numbers).
Ensign
Join Date: Sep 2012
Posts: 11
# 7
10-17-2012, 09:16 AM
Quote:
Originally Posted by xsharpex View Post
you almost had it right. change it to: p "+TrayExecByTray 0 1 $$ +TrayExecByTray 0 3" and you should be all set.
That is!! I was unconsciously writing && instead of $$. Maybe because I program in c++ very often.
Ensign
Join Date: Sep 2012
Posts: 11
# 8
10-17-2012, 09:16 AM
Quote:
Originally Posted by dabelgrave View Post
Another option would be:

p "trayexecbytraywithbackup 1 0 1 0 3"

This is a very useful keybind that I use to rotate between two abilities, such as two Tactical Teams, two cannon abilities, or two attack patterns. It tries to activate the first ability in the keybind (second/third numbers), and if that's still on cooldown, moves to the other (fourth/fifth numbers).
Very interesting, I will try it. Thank you.
Lieutenant
Join Date: Jul 2012
Posts: 94
# 9
10-17-2012, 11:25 AM
I need to get on doing this myself

Last edited by liquidraven26; 10-17-2012 at 11:31 AM.
Empire Veteran
Join Date: Jun 2012
Posts: 6,764
# 10
10-17-2012, 11:29 AM
[quote]
Quote:
Originally Posted by dabelgrave View Post

p "trayexecbytraywithbackup 1 0 1 0 3"


The first number (1) denotes the command trying to fire the other two sets.

I wonder if any other first number (2, 3, etc.) changes the firing sequence?
Richard Hamilton (1975-2014)
goodbye good friend. We will see you in the DMZ in the sky oneday, save a shot for us.
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


All times are GMT -7. The time now is 06:58 AM.