Hello there, I noticed there was a drawgun option in ET, and it works adequately. However, when I used to play RTCW often, I found a great few lines of configuration on the Planetwolfenstein forum that would set drawgun 1 or 0 to different weapons. I am having trouble getting this to work in ET. So basically, does anyone have a simple script they use to manage which weapons will be drawn and which will not? (For example, drawing a knife or medic needle, not drawing sidearm or machine gun.
Drawgun scripts...
Kendle
(Kendle)
#2
How about this:-
bind 1 "cg_drawgun 1; weaponbank 1" // Knife
bind 2 "cg_drawgun 1; weaponbank 2" // Pistol
bind 3 "cg_drawgun 0; weaponbank 3" // SMG
bind 4 "cg_drawgun 1; weaponbank 4" // Grenade
bind 5 "cg_drawgun 1; weaponbank 5" // Air-Strike / Pliers / Syringe
bind 6 "cg_drawgun 1; weaponbank 6" // Ammo / Dynamite / Health
bind 7 "cg_drawgun 1; weaponbank 7" // Landmine (Engy only)
Shows every weapon except SMG. Just change the 1 to 0 for any weapons you want to hide, and obviously the keys bound to whatever suits you.
Put it in autoexec.cfg (create the file if it doesn’t already exist) in etmain and you’re away!
FstFngrz
(FstFngrz)
#3
Thanks
I added this also incase i wanted to see the soldiers weaponbank 3
bind x “toggle cg_drawgun”
Ifurita
(Ifurita)
#4
if you use a class-select script, you can make it exec a class-specific script upon class selection so that for soldier, your weaponbank3 would always be drawn and for all other classes, it will always be off