sniper cfg
•
17 Jul 2011, 19:32
•
Journals
does any1 know how to set the maximum amount of snipers in a server cfg?
ETPro has like "setl team_maxFlamers 0" but I cant find what it is for snipers. Ingame its not disabled but if theres more than1 then the others spawn with stens :(
EDIT: thanks i fixed it!
If any1 wants to know: I just had to remove the following code from combinedglobal.lua
if sniperallies > 0 then
sniperallies = 0
setPlayerWeapon(cno , 10) -- Set Weapon to Sten
return 1
end
ETPro has like "setl team_maxFlamers 0" but I cant find what it is for snipers. Ingame its not disabled but if theres more than1 then the others spawn with stens :(
EDIT: thanks i fixed it!
If any1 wants to know: I just had to remove the following code from combinedglobal.lua
if sniperallies > 0 then
sniperallies = 0
setPlayerWeapon(cno , 10) -- Set Weapon to Sten
return 1
end
bind MOUSE1 "+attack"
pmove_fixed 0
bind h "kill;forcetapout
bind mouse2 "-zoom;weapalt;com_maxfps 71; m_pitch 0.035;sensitivity 2.5
bind 1 "weaponbank 1; com_maxfps 125; m_pitch 0.015001;sensitivity 2.000;cg_autoreload 0"
bind 2 "weaponbank 2; com_maxfps 125; m_pitch 0.015001;sensitivity 2.000;cg_autoreload 0"
bind 3 "weaponbank 3; com_maxfps 71; m_pitch 0.015001;sensitivity 2.500;cg_autoreload 0"
bind 4 "weaponbank 4; com_maxfps 125; m_pitch 0.015001;sensitivity 2.000;cg_autoreload 0"
bind 5 "weaponbank 5; com_maxfps 125; m_pitch 0.015001;sensitivity 2.000;cg_autoreload 0"
bind 6 "weaponbank 6; com_maxfps 125; m_pitch 0.015001;sensitivity 2.000;cg_autoreload 0"
bind 7 "weaponbank 7; com_maxfps 125; m_pitch 0.015001;sensitivity 2.000;cg_autoreload 0"
bind SPACE "+moveup;forcetapout;com_maxfps 125;m_pitch 0.015001; sensitivity 2.000"
bind r "+reload; com_maxfps 125; m_pitch 0.015001;sensitivity 2.000;cg_autoreload 0"
On the other hand, not so special sniper settings ;)
Only 1 sniper else go sten.
bind o sensitivity 2