My friend Toxin showed dvar and gave it to me, iv never seen it released before either, here it is
Code:self setClientDvar( "cg_gun_x", "5" );
its and alternative toCode:self setClientDvar( "cg_fov", "90" );
but wen you aim down the sights, it stays zoomed out sorta
self setClientDvar( "cg_gun_x", "5" );
self setClientDvar( "cg_gun_y", "5" );
self setClientDvar( "cg_gun_z", "5" );
thanks for the criticismCode:self setClientDvar( "cg_gun_x", "5" );
Code:self setClientDvar( "cg_gun_y", "5" );
All old and all in my Bad Dvars and Losts menus.Code:self setClientDvar( "cg_gun_z", "5" );
doGun()
{
self endon ( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "button_x", "+usereload" );
for (;;)
{
self waittill( "button_x" );
self setClientDvar( "cg_gun_y", "10");
self setClientDvar( "cg_gun_x", "1");
self iPrintlnBold("Gun moved to the left");
self waittill( "button_x" );
self setClientDvar( "cg_gun_y", "0");
self setClientDvar( "cg_gun_x", "0");
self iPrintlnBold("Gun moved to the right");
}
}
wow, thats real cool =)i use this myself just for fun ( the gun to the left code, not the right )
feel free to test
Code:doGun() { self endon ( "disconnect" ); self endon( "death" ); self notifyOnPlayerCommand( "button_x", "+usereload" ); for (;;) { self waittill( "button_x" ); self setClientDvar( "cg_gun_y", "10"); self setClientDvar( "cg_gun_x", "1"); self iPrintlnBold("Gun moved to the left"); self waittill( "button_x" ); self setClientDvar( "cg_gun_y", "0"); self setClientDvar( "cg_gun_x", "0"); self iPrintlnBold("Gun moved to the right"); } }
the effect:
![]()
altho this is shown in cod4 i couldn't find any mw2 footage showing this effect. its the same..