Hiding your gun

View previous topic View next topic Go down

Hiding your gun

Post by BunBun<3 on Sun Mar 15, 2009 8:08 pm

Hiding your gun
In some cases it's really useful to hide the gun. For one thing, when you display the gun, you also get the unfortunate effect of muzzle flash. So, every time you fire a bullet, there's a bright flash that can be distracting. Also, sometimes the gun itself can get in your way, which is annoying.

To turn your gun off, use the command "cg_drawgun 0". And to turn it back on, use "cg_drawgun 1". If you like, you can set up a toggle to turn your gun on and off. This is done with this command:

Code:
bind "K" toggle cg_drawgun

Personally, I like seeing when I have a syringe out, because then if I'm reviving someone I won't accidentally shoot them because I actually had a gun out. The only thing I really like to hide are weapon banks 2 and 3- i.e. pistols, SMGs, panzers, MGs, etc. So to do this, I came up with the following script:

Code:
bind 0 "cg_drawgun 1; weaponbank 10"
bind 1 "cg_drawgun 1; weaponbank 1"
bind 2 "cg_drawgun 0; weaponbank 2"
bind 3 "cg_drawgun 0; weaponbank 3"
bind 4 "cg_drawgun 1; weaponbank 4"
bind 5 "cg_drawgun 1; weaponbank 5"
bind 6 "cg_drawgun 1; weaponbank 6"
bind 7 "cg_drawgun 1; weaponbank 7"
bind 8 "cg_drawgun 1; weaponbank 8"
bind 9 "cg_drawgun 1; weaponbank 9"

Hopefully this isn't too confusing! Basically, this way I can be selective about which weapons get hidden and which ones get shown. Note the semicolons (the ; symbol) between the cg_drawgun command and weaponbank command. This is necessary to separate one command from another.

all credit goes here:
http://www.enemy-territory.net/scripts.html

__________________________________________________________________________________________________________________
If you use this program and got ban , kick , caught by police , block by users or computer monitor explodes
is not my responsibility and its your own fault .

Left the clan?
avatar
BunBun<3

Number of posts : 2035
Birthday : 1989-09-07
Age : 27
Location : IN UR PIE :D
Registration date : 2009-01-19

Back to top Go down

Re: Hiding your gun

Post by chiller345 on Sat Aug 21, 2010 5:41 am

THANK YOU. This has been really useful in my sprees.
avatar
chiller345

Number of posts : 65
Birthday : 1990-05-10
Age : 27
Location : Za Warudo, Human Dominated Forward moving time Universe #1
Registration date : 2010-08-18

http://chiller345.has-no-homepage.net/

Back to top Go down

Re: Hiding your gun

Post by Rutger on Sun Aug 22, 2010 9:34 pm

Chiller345 is my name ending sprees in game Very Happy
avatar
Rutger

Number of posts : 55
Birthday : 1993-07-05
Age : 24
Location : Netherlands
Registration date : 2010-06-12

Back to top Go down

Re: Hiding your gun

Post by chiller345 on Tue Aug 24, 2010 2:05 am

Rutger wrote:Chiller345 is my name ending sprees in game Very Happy

IS my game. I am the bane of other people`s sprees. But Dirk and BigDawg are the bane of mine.
avatar
chiller345

Number of posts : 65
Birthday : 1990-05-10
Age : 27
Location : Za Warudo, Human Dominated Forward moving time Universe #1
Registration date : 2010-08-18

http://chiller345.has-no-homepage.net/

Back to top Go down

Re: Hiding your gun

Post by mushroom on Wed Aug 25, 2010 8:45 am

thanks buN i never have tried hiding my gun although i read and considered it before when it was posted. glad you brought this back to the surface i'll try to find this post again once im back in game ! hopefully soon!.. but again nice post i'll try your method and only hide certain weapons and see how i like it. cya .

__________________________________________________________________________________________________________________
I can't imagine why you wouldn't welcome any change, my friend.
avatar
mushroom

Number of posts : 256
Birthday : 1988-02-19
Age : 29
Location : michigan
Registration date : 2009-01-20

Back to top Go down

Re: Hiding your gun

Post by dRmArK on Wed Sep 22, 2010 5:15 pm

hey guys its dRmArK

Hiding your gun either permanently or in this script here
by reading it, it seems very useful. so i suggest to all use it Smile
even if you edit it slightly...

dRmArK

Number of posts : 3
Birthday : 1994-03-23
Age : 23
Location : Perth. Western Australia
Registration date : 2010-09-22

Back to top Go down

Re: Hiding your gun

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum