01-22-2008, 02:41 PM | #1 |
Fortress Forever Staff
Join Date: Mar 2007
Location: Baton Rouge
Class/Position: Spy Affiliations: -=DoM=- Posts Rated Helpful 0 Times
|
CFG question
i never really messed with cfg's, but i have a question as to what i want to do with my spy cfg.
i have a key bound to slot1(knife) but thats not what i want, the same key i want bound to detdispenser with the engy, the only way to do this is via the class cfg's, from what i gather. now to my question: i dont want the button to go to slot1, i want it to auto switch directly to my knife(in slot1). to better explain, the pyro, when you press attack2 it brings up his flame thrower automatically, my dilemma is when i press the key for slot1 i have to hit enter to select it then i can use it, i want to hit the key and stab. whats the bind for that? i'm sure i can figure out how to add it to my config myself, thanks.
__________________
-------------------------------FF_Rock2(WIP)------------------------------ ---------------------------FF_RedGiant(Released)------------------------- --------------------------FF_Fragzone_G(Released)------------------------ --------------------------FF_Civibash_G(Released)------------------------ -------------------FF_Conc_G1(WIP)-------------------- -------------------FF_Hollow_G(WIP)--------------------- |
|
01-22-2008, 02:55 PM | #2 |
no war but class war
Fortress Forever Staff
Join Date: Oct 2007
Location: big bad berlin
Class/Position: Soldier / Scout Gametype: ctf Affiliations: [w~k!] Posts Rated Helpful 3 Times
|
I think you need to turn on fast weapon switch? It's either in the options (Advanced under Keyboard mapping i think?), or cl_fastswitch 1 in your config.cfg
|
|
01-22-2008, 02:59 PM | #3 |
Wiki Standards Team
Wiki Team
Join Date: Mar 2007
Location: Geokill's closet
Class/Position: Sniper/Demoman Gametype: CTF Affiliations: :e0: Co-leader Posts Rated Helpful 6 Times
|
Fast weapon switch under options.
Alternatively you could just bind numbers directly to the weapons for every class, but I think that'd be a bit over the top... |
|
01-22-2008, 03:10 PM | #4 |
Fortress Forever Staff
Join Date: Mar 2007
Location: Baton Rouge
Class/Position: Spy Affiliations: -=DoM=- Posts Rated Helpful 0 Times
|
thank you both, i'll try that when i get home later.
__________________
-------------------------------FF_Rock2(WIP)------------------------------ ---------------------------FF_RedGiant(Released)------------------------- --------------------------FF_Fragzone_G(Released)------------------------ --------------------------FF_Civibash_G(Released)------------------------ -------------------FF_Conc_G1(WIP)-------------------- -------------------FF_Hollow_G(WIP)--------------------- |
|
01-22-2008, 04:00 PM | #5 |
Wiki Team
Fortress Forever Staff Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly Gametype: PAYLOAD Affiliations: DET- Posts Rated Helpful 19 Times
|
Yes...fast weapon switch is what you need you can either go options or in console:
hud_fastswitch 0/1/2 - Quick weapon changing [can also be set via "Options - Keyboard - Advanced - Fast weapon switch] (1 = keyboard & mouse, 2 = keyboard only) And you want to bind those keys in the respective <classname>.cfg to what you want: Code:
Spy //change f to desired key bind f "slot1" Code:
Engy //change f to desired key bind f "detdispenser"
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf (Beta) alchimy_b1 (Lua) base_payload_2015 (Models) props_trainyard |
|
01-22-2008, 04:17 PM | #6 |
Fortress Forever Staff
Join Date: Mar 2007
Location: Baton Rouge
Class/Position: Spy Affiliations: -=DoM=- Posts Rated Helpful 0 Times
|
what the hell is a cleanup.cfg and why would i need it?
i thought the purpose of class.cfg's was to have all of your keys binded to different actions depending on the class you pick, so again, why would i need that?
__________________
-------------------------------FF_Rock2(WIP)------------------------------ ---------------------------FF_RedGiant(Released)------------------------- --------------------------FF_Fragzone_G(Released)------------------------ --------------------------FF_Civibash_G(Released)------------------------ -------------------FF_Conc_G1(WIP)-------------------- -------------------FF_Hollow_G(WIP)--------------------- |
|
01-22-2008, 04:36 PM | #7 |
Yes, I have cleanup configs, I primarily use them when I rebind my second mouse keys, if I don't rebind a my mouse2, and I want it to do the default action, I have it exec my cleanup.cfg, basically this sets it back to your personal defaults, effortlessly stopping the need to rebind every key again.
|
|
|
01-22-2008, 05:11 PM | #8 |
Wiki Team
Fortress Forever Staff Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly Gametype: PAYLOAD Affiliations: DET- Posts Rated Helpful 19 Times
|
A cleanup.cfg is basically a config file you create to keep from confusing the game and inadvertently messing up your scripts / binds.
Your <classname>.cfg's are there so that you can bind class specific things, but when you start to really get into scripting you will start re-using the same keys. Eventually if you do this too much you can actually confuse the game and it won't exec your script sometimes. The cleanup.cfg helps the game rebind keys. There are also other uses like Mule pointed out, but that's pretty advanced for something. For now I would focus on using it to unbind keys and rebinding them in your <classname>.cfg
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf (Beta) alchimy_b1 (Lua) base_payload_2015 (Models) props_trainyard |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|