The Multiple .cfg File Question
the_x5
the Xzianthian Join Date: 2004-03-02 Member: 27041Members, Constellation
<div class="IPBDescription">if this works I'll make a pack for all</div> Ok this is kind of hard to ask exactly so here I go. I used to keep all of my in config.cfg with all of my binds. But not I realize that I have more things I want to bind than I have keys available. This is especially true with natural selection. Where there are a large # of key taken up for other things like the commader HUD grid:
<span style='font-family:Courier'>q w e r
a s d f
z x c v</span>
And I still want to keep my special binds which allow me to chat, make preset messages, etc and other aliases. Some of these are good for one class and not for others.
So I was thinking, it would be nice if there was a way to seperately rebind the same key to different sets of command by simply pressing one key.
Example
press 6 : commander binds
press 7 : skulk binds
press 8 : gorge binds
press 9 : fade binds
press 0 : basic binds (marine and onos)
press - : commander binds
Each one usually rebinds different keys to different commands, for example in all except the and skulk the +jump is bound to the ENTER key. But in the skulk bind this is a +3jump. And especially changes in the say_team binds. A gorge doesn't ask for a welding.
I'm currently looking arround for a big list of all the NS impulse commands and what they do, but I really need to know how I bind those six keys listed above to executing different .cfg files. I know it can be done, just not sure how exactly.
I don't think it will matter if I put those six binds in config.cfg will it? <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused-fix.gif' border='0' style='vertical-align:middle' alt='confused-fix.gif' /><!--endemo-->
PS: If this works I'll provide my .cfg files and scripting for everyone to enjoy.
<span style='font-family:Courier'>q w e r
a s d f
z x c v</span>
And I still want to keep my special binds which allow me to chat, make preset messages, etc and other aliases. Some of these are good for one class and not for others.
So I was thinking, it would be nice if there was a way to seperately rebind the same key to different sets of command by simply pressing one key.
Example
press 6 : commander binds
press 7 : skulk binds
press 8 : gorge binds
press 9 : fade binds
press 0 : basic binds (marine and onos)
press - : commander binds
Each one usually rebinds different keys to different commands, for example in all except the and skulk the +jump is bound to the ENTER key. But in the skulk bind this is a +3jump. And especially changes in the say_team binds. A gorge doesn't ask for a welding.
I'm currently looking arround for a big list of all the NS impulse commands and what they do, but I really need to know how I bind those six keys listed above to executing different .cfg files. I know it can be done, just not sure how exactly.
I don't think it will matter if I put those six binds in config.cfg will it? <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused-fix.gif' border='0' style='vertical-align:middle' alt='confused-fix.gif' /><!--endemo-->
PS: If this works I'll provide my .cfg files and scripting for everyone to enjoy.
Comments
Bind "6" "exec skulk.cfg"
Then you just have to hit 6 in-game to get your skulk configuration.
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->bind "6" "exec skulk.cfg"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
gets blocked by mp_blockscripts.
You have to create an alias for each cfg:
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->alias skulk_cfg "exec skulk.cfg"
bind "6" "skulk_cfg"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
*Enough of that. Keep this thread on track.*
Keys you mentione:
(Actually written on the keys in a small font)
1 kp_end
2 kp_downarrow
3 kp_pgdn
4 kp_leftarrow
5 kp_5
6 kp_rightarrow
7 kp_home
8 kp_uparrow
9 kp_pgup
0 kp_ins
I've had the same idea but use other keys to change configs.
You can actually have the evolve and the config change on one key:
alias fade "impulse x; exec fade.cfg"
bind kp_5 fade
(I forget the impulse. Oh wait. You asked for it. I'd better go get it. )
!! I take no credit for this.
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
Here are the commands they bind keys to in order to be able to chuckle/let people know you're attacking/need medpack/ammo, etc. If you find any more, send them to me at Sephiroth@phoenixinquis.net and I'll update the list.
08/03/03 - Updated for 2.0!
08/04/03 - Added impulse 105, thanks to a civilian
02/02/04 - Updated for 3.0, completely reworked! (I'm going to add comm impulses later)
Marines
Classic
impulse 1 - Switches to next weapon (same as "invnext")
impulse 2 - Reloads gun (same as "+reload; wait; -reload")
impulse 3 - Drops gun (same as "drop")
impulse 6 - Casts vote to eject commander
impulse 80 - Requests orders from commander
impulse 81 - Acknowledge
Combat
impulse 20 - Armor 1
impulse 21 - Armor 2
impulse 22 - Armor 3
impulse 23 - Weapons 1
impulse 24 - Weapons 2
impulse 25 - Weapons 3
impulse 62 - Welder
impulse 64 - Shotgun
impulse 65 - HMG
impulse 66 - Grenade Launcher
impulse 37 - Hand Grenades
impulse 61 - Mines
impulse 38 - Heavy Armor
impulse 39 - Jetpack
impulse 27 - Catalyst
impulse 31 - Resupply
impulse 53 - Scanner Sweep
impulse 33 - Motion Tracking
Communications
impulse 7 - Follow Me
impulse 8 - Covering
impulse 9 - Taunt
impulse 10 - Need Health
impulse 11 - Need Ammo
impulse 12 - In Position
impulse 13 - Enemy Spotted
impulse 14 - Move Out
impulse 15 - All Clear
Aliens
Classic
impulse 91 - Build Offense Chamber
impulse 92 - Build Defense Chamber
impulse 94 - Build Movement Chamber
impulse 93 - Build Sensory Chamber
impulse 90 - Build Resource Tower
impulse 95 - Build Hive
impulse 113 - Skulk
Combat
impulse 118 - Unlock second hive ability
impulse 126 - Unlock third hive ability
Both
impulse 7 - Chuckle
impulse 8 - "Need Healing" saying
impulse 114 - Gorge
impulse 115 - Lerk
impulse 116 - Fade
impulse 117 - Onos
impulse 101 - Carapace
impulse 102 - Regeneration
impulse 103 - Redemption
impulse 107 - Celerity
impulse 108 - Adrenaline
impulse 109 - Silence
impulse 110 - Cloaking
impulse 111 - Focus
impulse 112 - Scent of Fear
Both
impulse 5 - Go to the Ready Room (same as "readyroom")
impulse 100 - Toggle flashlight/hive sight
impulse 201 - Spray logo
=====================
Next Weapon Impulse 1
Reload Weapon Impulse 2
Drop Weapon Impulse 3
Vote Eject Commander Impulse 6
Follow Me Impulse 7 Chuckle
Covering Impulse 8 Need Healing
Taunt Impulse 9 Need Backup
Need Health Impulse 10 Incoming
Need Ammo Impulse 11 Attack
In Position Impulse 12 I'm Building Here
Enemy Spotted Impulse 13
Move Out Impulse 14
All Clear Impulse 15
Armor Level 1 Impulse 20
Armor Level 2 Impulse 21
Armor Level 3 Impulse 22
Damage Level 1 Impulse 23
Damage Level 2 Impulse 24
Damage Level 3 Impulse 25
Catalyst Impulse 27
Resuply Impulse 31
Motion Tracking Impulse 33
Grenade Impulse 37
Heavy Armor Impulse 38
Jetpack Impulse 39
Scan Impulse 53
Mines Impulse 61
Welder Impulse 62
Shotgun Impulse 64
Heavy Machine Gun Impulse 65
Grenade Launcher Impulse 66
Need Order Impulse 80
Acknowledge Order Impulse 81
Impulse 90 Build Resource Tower
Impulse 91 Build Offence Chamber
Impulse 92 Build Defence Chamber
Impulse 93 Build Sensory Chamber
Impulse 94 Build Movement Chamber
Impulse 95 Build Hive
Flashlight Impulse 100 Flashlight
Impulse 101 Carapace
Impulse 102 Regeneration
Impulse 103 Redemption
Impulse 107 Celerity
Impulse 108 Adrenaline
Impulse 109 Silence
Impulse 110 Cloaking
Impulse 111 Focus
Impulse 112 Scent of Fear
Impulse 113 Morph Skulk
Impulse 114 Morph Gorge
Impulse 115 Morph Lerk
Impulse 116 Morph Fade
Impulse 117 Morph Onos
Impulse 118 Unlock Next Ability
Impulse 119 Unlock Last Ability
Spray Logo Impulse 201 Spray Logo
<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
I will try to post some link to the finnished .cfg files for all of you guys to download if you want.
PS: Yes block scripts is very annoying, doesn't work, and is bad anyways. Is it default on?
PSS: "impulse 8 = need heal saying" That works for both I assume? (can't remember an alien saying, "medpack")
Most people just make their own marine/Alien/Comm configs/scripts/binds. The ones that don't are just lazy <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin-fix.gif' border='0' style='vertical-align:middle' alt='biggrin-fix.gif' /><!--endemo-->.
I'll also take a note of that impulse list as I know it will come up in the future.
mp_blockscripts block my ultra useless afk spinny mode....
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->alias afkon "cl_yawspeed 21000;+right;bind f7 afkoff; echo AFK mode ON"
alias afkoff "cl_yawspeed 210;-right;bind f7 afkon; echo AFK mode OFF"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
I'm so messy I have 5 seperate config files all with aliases :/
<u>duck toggle:</u>
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->alias duck_t "duck_on" alias duck_on "alias duck_t duck_off; +duck; developer 1; echo Ducking enabled; developer 0" alias duck_off "alias duck_t duck_on; -duck; developer 1; echo Standing enabled; developer 0"
bind "CTRL" "duck_t"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
In DoD my right ctrl key is used to make me go prone. SHIFT is duck in all mods for me. But in most mods there isn't a prone mode so I use the CTRL key to do a toggle-able duck. This proves useful to both make you "stealth walk" or when trying to bunny hop as skulk.
<u>enhanced reloading, communication</u>
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->bind "BACKSPACE" "reload; wait; say_team I'm reloading -- cover me" <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
I think I may have made an error in the names, is that supposed ot be +reload? <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused-fix.gif' border='0' style='vertical-align:middle' alt='confused-fix.gif' /><!--endemo-->
<u>burst fire toggle</u>
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->alias burstfire "bind mouse1 burst3; bind end standard; developer 1; echo Burst Fire Enabled; developer 0" alias burst3 "+attack; w3; -attack; w3; +attack; w3; -attack; w3; +attack; w3; -attack" alias standard "bind mouse1 +attack; bind end burstfire; developer 1; echo Burst Fire Disabled; developer 0" alias w3 "wait; wait; wait"
bind "end" "burstfire"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
It enable you to make your attack switch between a single shot or 3 round burst. I got this off a CS site but I'm not sure what the "w3" is. What is it? Will this work for NS or do I need to make some modifications?
<u>the mapper's fps toggle script</u>
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->alias fps "fpson" alias fpson "cl_showfps 1; alias fps fpsoff" alias fpsoff "cl_showfps 0; alias fps fpson"
bind ";" "fps"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
PS: I got a +3jump script but I was wondering if any of you happen to have a fade blink-slash script?
Agentx5: it is also possible to make a commandmenu, so that your configurations are bound to one key; which cycles through your different configurations.
I have been wanting to post my configurations (not that I'm a good scripter, far from that) to help people out who don't know how to work with it.
Greetz,
Xtof
yep, +reload
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->It enable you to make your attack switch between a single shot or 3 round burst. I got this off a CS site but I'm not sure what the "w3" is. What is it? Will this work for NS or do I need to make some modifications?
<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
w3 is an alias for 3 x wait
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->alias w3 "wait;wait;wait"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
But I dont think that this script is useful for NS because the Pistol in NS has a complytly different RoF.
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->bind "BACKSPACE" "+reload; wait; say_team I'm reloading -- cover me" <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
<!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
I really hate that bind, honestly people don't need to know every few seconds when your reloading. Sure if it was a different mod or game where you hardly reload.
Its better to hear it from the mic instead, less annoying then spamming I'm Reloading over and over.