it always seemed to me, that the cvar also influences the recoil of my xhair, because it almost doesent "goes up" when shooting wth cg_gun_frame 1.
But u as a etpro developer, surly know more about this.
Use it like this:
//Weaponbanks
bind MWHEELDOWN "weaponbank 2; set cg_drawgun 0; set cg_autoreload 1; set cg_gun_frame 1"
bind MWHEELUP "weaponbank 3; set cg_drawgun 0; set cg_autoreload 0"
bind 1 "weaponbank 1; set cg_drawgun 1"
bind 2 "weaponbank 2; set cg_drawgun 0; set cg_autoreload 1; set cg_gun_frame 1"
bind 3 "weaponbank 3; set cg_drawgun 0; set cg_autoreload 0"
bind 4 "weaponbank 4; set cg_drawgun 1"
bind 5 "weaponbank 5; set cg_drawgun 1"
bind 6 "weaponbank 6; set cg_drawgun 1"
bind 7 "weaponbank 7; set cg_drawgun 1"
to set a variable to a value for a limited amount of time, its better to use the command set, which was exactly made for this kind of scripts, and not only the cvar itself.
you can play with it but before the map changes you have to change it to 0 otherwise et will crash
you can't start the game with a value, you have to change it when you are ingame.
edit_ tested it... lol at cg_gun_frame 2
But u as a etpro developer, surly know more about this.
Note that recoil is somewhat random, so you have to do a reasonable number of shots to get a meaningful result.
b_placebo 1337
<3
//Weaponbanks
bind MWHEELDOWN "weaponbank 2; set cg_drawgun 0; set cg_autoreload 1; set cg_gun_frame 1"
bind MWHEELUP "weaponbank 3; set cg_drawgun 0; set cg_autoreload 0"
bind 1 "weaponbank 1; set cg_drawgun 1"
bind 2 "weaponbank 2; set cg_drawgun 0; set cg_autoreload 1; set cg_gun_frame 1"
bind 3 "weaponbank 3; set cg_drawgun 0; set cg_autoreload 0"
bind 4 "weaponbank 4; set cg_drawgun 1"
bind 5 "weaponbank 5; set cg_drawgun 1"
bind 6 "weaponbank 6; set cg_drawgun 1"
bind 7 "weaponbank 7; set cg_drawgun 1"
Iam using it for quite a long time now....
No lags at all.
xD
Du häsch kein rückstoss meh, bi keinere waffe.
ich benuzes eh ned, willds et denn mängisch crashed
ziet denn s fadechrüz bi de luger nüm ue
oder nur d textur vo de luger?
you can't start the game with a value, you have to change it when you are ingame.
np! :)
I don't see why it shouldn't be allowed.
b_endround "cg_gun_frame 0"
Tell me, was that difficult? =P
b_endround "cg_gun_frame 0"
or how to make it work?
with luger/colt you cant see much things in the right sight of you screeen, its sooooo stupiiid rofl :DDDD
seriously: it rly lames :P