mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-09 23:02:53 -05:00
Disable sniper scope sway
This commit is contained in:
@ -83,6 +83,7 @@
|
||||
* Capped projectile weapon damage scalar at 3000
|
||||
* Changed placeable mine damage scalar to 150 multiplied by round number (normally random number between 100 and 200 multiplied by round number)
|
||||
* Capped placeable mine damage scalar at 9000
|
||||
* Disabled sniper scope sway
|
||||
|
||||
### AN-94
|
||||
* Increased weapon cost from 1200 to 1500
|
||||
|
@ -140,8 +140,6 @@ onplayerspawned()
|
||||
|
||||
self thread buildable_piece_remove_on_last_stand();
|
||||
|
||||
//self thread disable_sniper_scope_sway(); // Buried does not load the clientfield
|
||||
|
||||
self thread war_machine_explode_on_impact();
|
||||
|
||||
self thread jetgun_heatval_changes();
|
||||
@ -265,6 +263,7 @@ set_dvars()
|
||||
setDvar( "dtp_exhaustion_window", 100 );
|
||||
|
||||
setDvar( "player_meleeRange", 64 );
|
||||
setDvar( "player_breath_gasp_lerp", 0 );
|
||||
|
||||
setDvar( "g_friendlyfireDist", 0 );
|
||||
|
||||
@ -278,6 +277,8 @@ set_client_dvars()
|
||||
{
|
||||
self setClientDvar( "aim_automelee_enabled", 0 );
|
||||
|
||||
self setClientDvar( "cg_drawBreathHint", 0 );
|
||||
|
||||
self setClientDvar( "cg_friendlyNameFadeIn", 0 );
|
||||
self setClientDvar( "cg_friendlyNameFadeOut", 250 );
|
||||
self setClientDvar( "cg_enemyNameFadeIn", 0 );
|
||||
@ -3690,38 +3691,6 @@ give_additional_perks()
|
||||
}
|
||||
}
|
||||
|
||||
disable_sniper_scope_sway()
|
||||
{
|
||||
self endon( "disconnect" );
|
||||
|
||||
self.sway_disabled = 0;
|
||||
|
||||
while (1)
|
||||
{
|
||||
if (!self hasPerk("specialty_deadshot"))
|
||||
{
|
||||
if (isads(self))
|
||||
{
|
||||
if (!self.sway_disabled)
|
||||
{
|
||||
self.sway_disabled = 1;
|
||||
self setclientfieldtoplayer( "deadshot_perk", 1 );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (self.sway_disabled)
|
||||
{
|
||||
self.sway_disabled = 0;
|
||||
self setclientfieldtoplayer( "deadshot_perk", 0 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
wait 0.05;
|
||||
}
|
||||
}
|
||||
|
||||
weapon_locker_give_ammo_after_rounds()
|
||||
{
|
||||
self endon("disconnect");
|
||||
|
Reference in New Issue
Block a user