26 Aug 10, 11:35AM
(20 Jun 10, 04:48PM)a_slow_old_man Wrote: 3. Zoom script by stef:Anyone can make them for 1.1?
With this script you can zoom with your sniper. Just scroll with your scrollwheel while you scope.[SELECT ALL] Code://zoom script by stef with fog 1024 trick added, a must for a sniper
alias adjustsens [
scopefov 40
scopesensscale = (divf $scopefov $fov)
]
alias altaction_4 [ alias oldfog $fog;fog 1024
adjustsens; domodifier 1; zoom 1;
onrelease [ zoom 0; adjustsens; fog $oldfog ]
]
alias delta_game_1 [
if (= $arg1 1) [
if (> $scopefov 5) [scopefov (- $scopefov 5) ]
][
if (< $scopefov 60) [scopefov (+ $scopefov 5) ]
];
sensitivity (divf (*f (*f $oldsens $scopesensscale) $scopefov) 40)
]
4. Out of ammo script:
With this script you will automaticly change to the pistol when your primary weapon is out of ammo. (To use it with the SMG/AR you may have to set "autoreload" off or press the mousebutton again when you are out of ammo)[SELECT ALL] Code:// out of ammo -> pistol
alias noprimammo [
if (= curweapon [currentprimary]) [sleep 100 [if (= (magcontent (currentprimary)) 0)[ weapon 1]]]]
bind MOUSE1 [attack;noprimammo]