PDA

View Full Version : Binding 2 Actions to One Key


Thør
31st March 2003, 06:01
Whats do you put in user.ini to lean left and move left and learn right and move right? Is it seperated by a ; or a | ?

A5y|um
31st March 2003, 06:42
so it would be
a= strafeleft | leanleft
or whatever command you want.

Yupper
31st March 2003, 06:49
A5y|um, so it would be? what do you mean by that? you mean "yes" or "no" this or that?

But if i am correct RvS goes with "|" instead of ";" if you look at the thread realated to no recoil Mayhem pointed out a code that goes in the user ini. In that code he uses | instead of ; so i assume (make an ass out of you and me) that the way to do it :)

A5y|um
31st March 2003, 06:51
oh sorry i edited my post and forgot to add back the stuff i had originally.
So the answer is YES RvS uses |
So in Xtasy's case its a= strafeleft | leanleft
Yes what Mayhem posted also falls in this category.
btw you can just call me Asylum if you please.;)

Thør
31st March 2003, 07:13
thanks man

Elac
31st March 2003, 08:01
I've seen alot of , commas in the ini...im not sure if its | or , .

A5y|um
31st March 2003, 08:04
Im 100% positive its |

Yupper
31st March 2003, 08:27
hehe thanks Asylum just malking sure cause like your said you edited your post and it wasnt clear to me what was going on.. :)

A5y|um
31st March 2003, 08:28
no problem it was my fault. Glad i could help.

RvS_Guy
31st March 2003, 10:07
There is a caveat to binding the lean/peak command to the same key as your strafe key. What if you want to lean, and not strafe? Meaning, you're behind a corner, a tango is coming down the hall (or soon will be), you certainly don't want to strafe out into the open and give your position away.

Oh wait, you could still leave the normal lean keys alone. Nevermind me, it's been a long day. :)

malice
31st March 2003, 10:21
What is the exact command that needs to be added or modified to bind lean/peak left ot right.
I cant seem to get it to work using a= strafeleft | leanleft
its in the user.ini file right??
thanks

A5y|um
31st March 2003, 10:24
A=StrafeLeft|PeekLeft
Sorry if i confused anyone by saying lean, i was just giving a basic example of what it should look like. This one will work though.

Elac
31st March 2003, 15:23
Yeah just to let a few of you know if you dont know what an action is called check your ini..

redline33
31st March 2003, 18:08
How would you get it so when you fired, you would walk.

Elac
31st March 2003, 18:52
w=Forward|PrimaryFire
s=Backward|PrimaryFire

SuperCman
31st March 2003, 19:22
i posted my lean/strafe in the other post
i just aliased it to make it neater cuz i like things neat

Elac
31st March 2003, 20:20
lol yeah i gotcha..thats how i scripted in mohaa...too many aliases = error..bah

redline33
2nd April 2003, 00:27
I tried binding those two but it didnt work. I got it set so I always run, if I was to bind my Mouse1 | PrimaryFire | Walk? Something like that?

Thør
2nd April 2003, 01:26
You can do that but you cant just put anything you want into the script. 'Walk' and 'Mouse1' aren't phrases that the script understands. If you want that you need to have LeftMouse=Primary Fire | MoveForward

Elac
2nd April 2003, 08:44
Walk is an alias itself im not sure if the unreal2 can read aliases not cached yet.