Log in

View Full Version : Keyclone: Multiple Hotstrings => Same keystroke?



asonimie
08-19-2008, 01:18 AM
Hello,
I know thousands of Qs have been asked about keymapping, and I have searched for my answer.. but I haven't found it anywhere.

I want to bind TWO hotstrings to the same keypress... so basically if I hit numpad1 OR numpad2... it comes out the other end as "q." I have tried separating hotstring names by comma and semicolon (common programming characters) and it has only voided the keymap entirely. So ya.. if anyone knows how to add multiple hotstrings to all = the same keypress inside of a keymap file... please tell me.


Thanks!

asonimie
08-21-2008, 01:29 PM
Bump. Nobody knows if there is a way to bind 2 different hotstrings to the same key?

keyclone
08-21-2008, 01:40 PM
the answer is no. you cannot bind multiple hotstrings to a single key.

if you did, and loaded that keymap, hitting the key would send out multiple hotstrings, which could trigger multiple keys at the destination.

this would be getting into a very gray area and unless i'm told otherwise by blizzard types, i'm going to avoid it

asonimie
10-03-2008, 08:48 PM
You're thinking of the reverse of what I was asking. Yes pressing 1 key and activating multiple hotstrings would be bad.

What I'm asking and what i said above was if I can write 2 different hotstrings, and they both output the same keypress... so if I push hotstring 1, it outputs "w", if i then go press hotstring 2, it ALSO outputs "w"

The reason for asking is for making formations using hotstrings. Nothing illegal intended, and sorry for the confusion if I wasn't clear.

ZorbaTheGeek
10-03-2008, 09:52 PM
No, You've misunderstood how hotstrings work. They are by definition a two way street.

Client 1:
A --> Hotstring

Client 2:
Z --> Hotstring

Pressing "A" on client 1 will produce a "Z" on client 2, and vice versa a "Z" on client 2 will produce an "A" on client 1.

if we changed Client 1s keymap to:
A --> Hotstring
B --> Hotstring

Pressing either "A" or "B" on client 1 would produce a "Z" on client 2, which I assume is the effect you are looking for. The problem is the reverse situation, pressing a "Z" on client 2 will return both an "A" and a "B" on client one, and would almost certainly be in breach of the one keypress, one action rule.

Are you not able to get the effect you require by binding multiple keystrokes to the same action within the game?

For formations you can use modifiers with the cursor keys on your keymaps, SHIFT/ALT/CTRL have no effect on the arrows so you can safely send CTRL+LEFT and still just move left. In other words, "1" could send UP and "2" could send CTRL+UP, would that get the effect you desire?

zanthor
10-03-2008, 10:04 PM
No, You've misunderstood how hotstrings work. They are by definition a two way street.

Client 1:
A --> Hotstring

Client 2:
Z --> Hotstring

Pressing "A" on client 1 will produce a "Z" on client 2, and vice versa a "Z" on client 2 will produce an "A" on client 1.

if we changed Client 1s keymap to:
A --> Hotstring
B --> Hotstring

Pressing either "A" or "B" on client 1 would produce a "Z" on client 2, which I assume is the effect you are looking for. The problem is the reverse situation, pressing a "Z" on client 2 will return both an "A" and a "B" on client one, and would almost certainly be in breach of the one keypress, one action rule.

Are you not able to get the effect you require by binding multiple keystrokes to the same action within the game?

For formations you can use modifiers with the cursor keys on your keymaps, SHIFT/ALT/CTRL have no effect on the arrows so you can safely send CTRL+LEFT and still just move left. In other words, "1" could send UP and "2" could send CTRL+UP, would that get the effect you desire?No.

If I have 5 characters I want to split into a star formation I cannot do this with an arbitrary leader. However if I can press 2 keys at once depending on who sends it I could...

However it would require a fundamental change in the way hotstrings work. Each hotstring would need a direction associated with it and each client would need a send and recieve for each string it wanted to handle.

ZorbaTheGeek
10-04-2008, 06:18 AM
If I have 5 characters I want to split into a star formation I cannot do this with an arbitrary leader. However if I can press 2 keys at once depending on who sends it I could...

However it would require a fundamental change in the way hotstrings work. Each hotstring would need a direction associated with it and each client would need a send and recieve for each string it wanted to handle.

My leaderless, focusless hotstring setup can easily form line-behind formations based on an arbitrary leader using hotstrings (Driving on Toon A, B stands still, Toon C moves left and Toon D moves right. Driving on Toon B, C stands still, Toon D moves left and Toon A moves right and so on) I can see no reason why mapping a second key in a similar way wouldn't do exactly what you desire. I've not tried to set up a star formation (I only quad) so I'm not sure on the directions you want the other toons to move.



ToonA:
F --> FormationALeader
LEFT --> FormationCLeader
RIGHT--> FormationBLeader

ToonB:
F --> FormationBLeader
LEFT --> FormationDLeader
RIGHT -->FormationCLeader

ToonC:
F --> FormationCLeader
LEFT --> FormationALeader
RIGHT-->FormationDLeader

ToonD:
F --> FormationDLeader
LEFT --> FormationBLeader
RIGHT --> FormationALeader

asonimie
10-05-2008, 12:16 AM
Ok Zorba thanks for the reminder, I can see how what I was asking could cause problems when reversed. Sorry for the mixup.

I was able to accomplish what I wanted through pushing 2 keys at once, which produces 2 keypresses on each clone. So if I mash Num7 and Num8, each clone heads in a diagonal away from me forming an X (ie. for 1st clone: Num7=left, Num8=forward - therefore net direction is forward left diagonal). I can use this in different ways to form a box or star or recessed line.

Reason I was asking was just to have more flexibility using same keystroke assignment to associate with different hotstrings depending on who I am driving. Thanks Keyclone and others for your help tho and sorry for the mixup!