Editing the CFG profile


(Higgins) #1

Is it possible to bind different actions to the same key?


(Miki) #2

I think its not, but you can always try. I don’t see a reason to bind 2 actions to the same key anyway.


(Higgins) #3

I want to bind +movedown along with +attack to mouse1, so that when I fire I crouch. I’ve tried it, but it keeps me crouched forever.

\bind mouse1 “+attack; +movedown”


(Cambodunum) #4

… when ill be at home ill send ya the working bind

cya Cambo


(dutchmeat) #5

you could try this;

\bind mouse1 “+attack; +movedown; -movedown;-attack”


(isbowhten) #6

isnt there the vstr+ function? which means only if you hold it down?
with that i wante dto try once to heal myself while keypressed but it did not work fine … but it did… but i deleted it it just did not work fine enough


(dutchmeat) #7

the vstr function is used to toggle between options,
i.e.

// BOF
// ----------
// Crouch Script
// ----------
// Author: Brandon Dolphin
// Email: brandon.d@shaw.ca
// MSN: flag_man@hotmail.com
// ICQ: 159987821
// Press c to crouch, then press c again to stand up.

set crouch1 “+movedown;bind c vstr crouch2”
set crouch2 “-movedown;bind c vstr crouch1”
bind c “vstr J1”

// EOF

the + and - commands are toggle commands of its own. which means you have to disable it manually (-command) after setting it.


(aaa3) #8

he meant the “vstr+” function!!


(dutchmeat) #9

there is no vstr+ command…


(Cambodunum) #10

… there you are:

// Crouch/Attack Script by M|A|D [Cambo]
set crouch1 “+attack; +movedown”
set crouch0 “-attack; -movedown”
bind mouse1 “+vstr crouch1 crouch0”

have fun …
greetz Cambo


(isbowhten) #11

i am sure it is
www.only4noob.de a friend gave the site to me a long time ago… i tried everything out… and ther eIS such a thing … perhaps i misspelled it… but i am sure it exists.

it wont help ya mcuh i fear as it is german website


(Higgins) #12

Thanks M|A|D [Cambo], that works great. No more having to find c in a panic :stuck_out_tongue:


(EgaL) #13

bind	m		"vstr tog_attack"
set	tog_attack	"vstr tog_attack_1"
set	tog_attack_1	"bind Mouse1 +vstr mouse_a mouse_b; echo ^0[^7Attack+Crouch^0]; set tog_attack vstr tog_attack_0"
set	tog_attack_0	"bind Mouse1 +attack; echo ^0[^7Attack^0]; set tog_attack vstr tog_attack_1"

set	mouse_a		"+attack; +movedownt"
set	mouse_b		"-attack; -movedown"


(isbowhten) #14

yeah the +vstr function xD not the vstr+ as i said… this is exactly what i meant