Forum

Class Config Help

Created 1st January 2010 @ 19:38

Add A Reply Pages: 1

Ash

cc//
cc//

I’m not great with this sort of stuff so any help would be appreciated. I’m playing around with my medic config which looks something like this atm:
//fake uber
alias Fake “say_team FAKING UBER!”
bind shift “Fake; voicemenu 1 7”

//Covering Uber
alias charge_ready “voicemenu 2 5;say_team [100% CHARGED]”
bind f charge_ready

//Using Uber
bind mouse2 “+attack2; say_team I UBERED;”

The problem I have is that it works fine for the medic (sort of the point) but its still working when i switch to other classes, which can be a real pain like sniper (right click for scope now says im ubering :S).
I was wondering if anyone could help me find away to stop the med config stuff from working for other classes as well.
Danke :P

alfa

There you go http://fakkelbrigade.eu/jonni/cfg%20stuff/swarlz-is-a-noob-script.cfg

Krulltotten

²¹

Should work if you just put bind mouse2 “+attack2” in the other class configs and then maybe unbind f; shift as well in the others if you don’t want them in the other class configs as well, or just bind them to whatever you want.

poxie

Wrong D:


Last edited by poxie,

Ash

cc//
cc//

Problem solved. Thanks guys :P

Sketch

MM

erm…
just do this it will help you in the long run

create a new file called “clearconfig.cfg”
then put all your unbinds and re-binds in that file
here is mine:

unbind “f2”
unbind “f3”
unbind “f4”
unbind “MOUSE1”
unbind “MOUSE2”
unbind “MOUSE3”
unbind “MOUSE4”
unbind “MOUSE5”
unbind “MWHEELDOWN”
unbind “MWHEELUP”
unbind “z”
unbind “x”
unbind “c”
unbind “q”
unbind “f”
unbind “1”
unbind “2”
unbind “3”
unbind “4”
unbind “5”
unbind “6”
unbind “7”
unbind “8”
unbind “9”
unbind “w”
unbind “a”
unbind “s”
unbind “d”
unbind “ctrl”
unbind “SPACE”
unbind “TAB”

// Rebinds

bind “MOUSE1” “+attack”
bind “MOUSE2” “+attack2”
bind “MWHEELDOWN” “invprev”
bind “MWHEELUP” “invnext”
bind z voice_menu_1
bind x voice_menu_2
bind c voice_menu_3
bind “q” “lastinv”
bind “1” “Slot1”
bind “2” “Slot2”
bind “3” “slot3”
bind “4” “Slot4”
bind “5” “slot5”
bind “6” “slot6”
bind “7” “slot7”
bind “8” “slot8”
bind “9” “slot9”
bind “w” “+forward”
bind “a” “+moveleft”
bind “s” “+back”
bind “d” “+moveright”
bind “ctrl” “+duck”
bind “SPACE” “+jump”
bind “TAB” “+showscores”
bind “f1” “explode”

now in the top of each of your configs for every class you can write:
exec “clearconfig.cfg”

then you can edit any config without having to worry about it affecting the others. if you bind a new key that isn’t in the list of unbinds. remember to put it in here as an unbind!

PS sorry for epic length but i think it helps to explain


Last edited by Sketch,

Add A Reply Pages: 1