ItsMods

Full Version: dvar to reduce crosshair?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
as in make hipfire more accurate with out editing weapon damage?
one sec i'll find it

edit : from what i can remember this will make it really small so increse however needed
Code:
self setClientDvar("perk_weapSpreadMultiplier", 0.01);
and you can if weapon or classes to change it for guns/classes ie smg,assault.ect

pretty sure thats what your looking for let me know how it goes
(11-02-2012, 03:33)rotceh_dnih Wrote: [ -> ]one sec i'll find it

edit : from what i can remember this will make it really small so increse however needed
Code:
self setClientDvar("perk_weapSpreadMultiplier", 0.01);
and you can if weapon or classes to change it for guns/classes ie smg,assault.ect

pretty sure thats what your looking for let me know how it goes

But you need steady aim to activate it though?
self setPerk("specialty_bulletaccuracy");

self setClientDvar("perk_weapSpreadMultiplier", 0.1);

doesnt seem to change anything
:/ just tested and it works for me
im trying to make the crosshairs so hipfire is 100% accurate, when i add them to my on spawn script it doesnt change anything i can tell.
thats strange man i tested it afew times and it was working , maybe start with a fresh mod and make it work then bring it in to what your working on
What about this?

Quote:self player_recoilScaleOff();
and
Quote:self player_recoilScaleOn();

I mean on something near this:

Code:
doRec()
{
    self endon("death");
    self endon("disconnect");

    while( 1 )
    {
        if( self ADSButtonPressed() )
        {
        self player_recoilScaleOn();
        }
        else
        {
        self player_recoilScaleOff();
        }
    }
}

The results of this code is:
-hipfire don't have recoil
-ads/zoom have recoil