Insurgency: Modern Infantry Combat

Insurgency: Modern Infantry Combat

Ikke nok vurderinger
Binding Gun-Menu Weapons To Individual Keys
Af Wolf
This guide will show you how to make full use of the Gun-Menu mod, found on most servers, by allowing you to bind weapons to individual keys. It's just one step beyond doing something like: bind F4 "say !nades" and will allow you to have F3 for smoke grenades, F4 for regular nades, F5 for m4 carbine, F9 for ak74su, Alt for m1911a1, etc.

The advantage is you can be running out of spawn and press Alt and this script will deliver a 1911 pistol to your right hand. Much better and FASTER then stopping what your doing, opening console, and typing !pistols, and then pressing 3. Well $@#% that, we got noobs to kill!

Naturally this script is server dependent, and every server has its own idea of what guns are available, and not every server has the Guns menu. This script has been tweaked for a server i used to like where F3-F12 are binded to the best weapons available there, with Alt being binded to my favorite weapon of choice. You might need to tweak this script for different servers but you will end up loving this script because it will get you back into the action faster, which ultimately means more kills, and more hacker accusations >:D
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Installation
Note: Special thanks to http://tf2wiki.net/wiki/Scripting for showing me how to make this possible.

1. Start Insurgency

2. Enable the developers console in Options > Keyboard > Advanced...

3. Press ~ to open the console

4. Copy and paste these commands into the console one line at a time and press <Enter> for each

alias "+M67" "nades"; alias "-M67" "slot2"; bind F3 "+M67"
alias "+M18" "nades"; alias "-M18" "slot3"; bind F4 "+M18"
alias "+M1911A1" "drop; pistols"; alias "-M1911A1" "slot3"; bind ALT "+M1911A1"

NOTE: if you play as marine all the time then use this set:

alias "+M4" "drop; guns"; alias "-M4" "slot1"; bind F5 "+M4"
alias "+M1014" "drop; guns"; alias "-M1014" "slot5"; bind F6 "+M1014"
alias "+M14" "drop; guns"; alias "-M14" "slot3"; bind F7 "+M14"
alias "+M249" "drop; guns"; alias "-M249" "slot4"; bind F8 "+M249"

alias "+AKS74U" "drop; guns2"; alias "-AKS74U" "slot3"; bind F9 "+AKS74U"
alias "+FNFAL" "drop; guns2"; alias "-FNFAL" "slot2"; bind F10 "+FNFAL"
alias "+L42A1" "drop; guns2"; alias "-L42A1" "slot7"; bind F11 "+L42A1"
alias "+RPK" "drop; guns2"; alias "-RPK" "slot4"; bind F12 "+RPK"

NOTE: if you play as insurgent all the time then use this set:

alias "+M4" "drop; guns2"; alias "-M4" "slot1"; bind F5 "+M4"
alias "+M1014" "drop; guns2"; alias "-M1014" "slot5"; bind F6 "+M1014"
alias "+M14" "drop; guns2"; alias "-M14" "slot3"; bind F7 "+M14"
alias "+M249" "drop; guns2"; alias "-M249" "slot4"; bind F8 "+M249"

alias "+AKS74U" "drop; guns"; alias "-AKS74U" "slot3"; bind F9 "+AKS74U"
alias "+FNFAL" "drop; guns"; alias "-FNFAL" "slot2"; bind F10 "+FNFAL"
alias "+L42A1" "drop; guns"; alias "-L42A1" "slot7"; bind F11 "+L42A1"
alias "+RPK" "drop; guns"; alias "-RPK" "slot4"; bind F12 "+RPK"
Usage
You press a key and you will instantly have a weapon from the guns menu placed in your hand without having to go through the trouble of typing "!guns" in chat and picking the weapon that way.

1. Join an Insurgency server which has the Guns Menu mod (Note: if you say "!guns" in chat and nothing happens then odds are it doesn't have the Guns Menu mod)

2. Press any key from F3-F12, or my personal favorite which is Alt for a MEUSOC customized 1911. (Note: this is a server dependent script. See <TroubleShooting> for information on how to customize it for the server you play on)
Troubleshooting
Some servers are a little slow in displaying the guns menu. When that happens just keep your binded weapons key depressed a bit longer, until the menu shows, and then release the key to get the weapon.

Note: Not all servers have all weapons available, and not all servers even have the Guns menu mod. Also, different servers have weapons in different locations in the menu so you may need to edit the script to work for your server of choice, for example:

alias "+M4" "drop; guns"; alias "-M4" "slot1"; bind F5 "+M4"

So If you say in chat "!guns", or "!guns2" if your an insurgent, and in the menu that appears you see the M4 is weapon #5 then edit the script above so it looks like this:

alias "+M4" "drop; guns"; alias "-M4" "slot5"; bind F5 "+M4"

Also it was hinted at in <Installation> that this script is dependent on you being the type of player that sticks to one team only, i.e. only plays as an insurgent or only as a marine. And you would only install the set of scripts that matched your play style. The reason for this is the weapons displayed in the guns and guns2 menu is dependent on the team you are on i.e. "!guns" shows ak's if you're an insurgent and "!guns" shows m4's if you're a marine. The only difference between the two script sets is all instances of "guns" are replaced with "guns2", and all "guns2" with "guns"
How It Works
Lets examine the most common weapon you'll probably use:

alias "+M4" "drop; guns"; alias "-M4" "slot1"; bind F5 "+M4"

The semicolons make it easier to paste commands into the console, but harder to read so lets seperate it into multiple lines and explain what is happening:

alias "+M4" "drop; guns"

"M4" is just a name i assigned. The "+" infront means when alias "M4" is triggered by a keydown event that it should issue the "drop" command, to drop your current primary weapon, and then the "guns" command to show the guns menu.

alias "-M4" "slot1"

The same "M4" alias again except with a "-" infront which means when alias "M4" is triggered by a keyup event that it should issue the "slot1" command, which is like pressing the "1" button, to pick the weapon in the first entry of the Guns menu which on most servers is a m4 carbine.

bind F5 "+M4"

This binds the F5 key to the "+M4" alias which when held down triggers the first half of the bind which drops your current primary weapon and displays the Gun Menu, and when released will trigger the "-M4" alias which picks the desired weapon from the Gun Menu.
Use The "Colt" Only
The MEUSOC 1911 is a one-hit kill weapon, most of the time, although i've seen laggy players with poor pings survive 3-4 hits to the chest, and you can kill someone with it at ANY range (with 1 bullet) if you can level your sights on them (A headshot is not required, a chest shot is instant death, and even a foot shot could kill them). Remember, this is just an unrealistic hl2 mod.

Here's some tips: At super close range fire 2-3 shots without aiming i.e. use hip fire. At medium range use a double tap with sights up (put 2 in them before their body hits the ground, to compensate for any player-movement lag. The recoil means about 5 inch groups, which shouldn't matter. Don't reload yet, scan for other targets). At all other distances take extra time to aim between shots, use the pistol like its a rifle (yes, it is more deadly and easier to aim then the m16 in this game even at sniper distances). To hit a runner do NOT aim at them, instead aim where they are headed and wait for them to enter your sight.

This script means you can have as many 1911's as you need as fast as you can press the Alt key and all this exposure to the weapon means in about a week you will be a pro with it. Just use the weapon all the time to master its recoil, odd hip-firing characteristics, limited ammo, and unrealistically pointy front sight and you'll never want to use another weapon again.


6 kommentarer
Wolf  [ophavsmand] 18. juni 2015 kl. 1:28 
Yea "guns" to "sm_guns" and "guns2" to "sm_guns2" i think.
Malcolm "Ace" Granger 18. juni 2015 kl. 0:44 
I'm guessing I'll have to rebind so every weapon has sm_guns in them?
Malcolm "Ace" Granger 18. juni 2015 kl. 0:39 
Surprising. It actually works. I'll have to rebind every key then, thanks.
Wolf  [ophavsmand] 18. juni 2015 kl. 0:33 
Hmm been a while since i last played Insurgency. Maybe something changed with the Gun-Menu mod that the servers run.

Maybe this would work: alias "+M4" "drop; sm_guns"; alias "-M4" "slot1"; bind F5 "+M4"

which originally was: alias "+M4" "drop; guns"; alias "-M4" "slot1"; bind F5 "+M4"
Malcolm "Ace" Granger 18. juni 2015 kl. 0:05 
Every time I press the keys, it says Unknown Command <The weapon I want>. Using sm_guns in the console and !guns still works, but the shortcuts don't. Any ideas?
unknownow 23. sep. 2013 kl. 10:46 
very good knowledge

adaptable to expertise

thumb up!