Skip to content

Commit

Permalink
SERVER: Move scoped weapons closer to camera on aim; reduce time-till…
Browse files Browse the repository at this point in the history
…-scope
  • Loading branch information
MotoLegacy committed Jun 16, 2024
1 parent 8b06b68 commit d2a54c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion source/server/weapons/weapon_core.qc
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void() W_AimIn =
}

if (WepDef_HasSniperScore(self.weapon))
self.scopetime = time + 0.3;
self.scopetime = time + 0.2;

// Even if the weapon is scoped, we should still initialize
// the Zoom factor of one so it begins moving into position.
Expand Down
6 changes: 3 additions & 3 deletions source/shared/weapon_defines.qc
Original file line number Diff line number Diff line change
Expand Up @@ -1537,7 +1537,7 @@ float GetWeaponWalkSpeed(float perks, float weapon)

/*
===========================
Weapon PSP ADS Declarations
Weapon ADS Declarations
===========================
*/
// x: left/right
Expand All @@ -1559,7 +1559,7 @@ vector GetWeaponADSOfs(float wep) =
return [-5295.9, 3206.9, -5000];
case W_KAR_SCOPE:
case W_HEADCRACKER:
return [-5286, 706.1, 0];
return [-5286, 706.1, -1500];
case W_THOMPSON:
case W_GIBS:
return [-6200.3, 3407.6, -800];
Expand Down Expand Up @@ -1617,7 +1617,7 @@ vector GetWeaponADSOfs(float wep) =
return [-8000, 3020, -6500];
case W_PTRS:
case W_PENETRATOR:
return [-7200, 906.9, 0];
return [-7200, 906.9, -6500];
case W_PANZER:
case W_LONGINUS:
return [-7679.2, 2900, -20000];
Expand Down

0 comments on commit d2a54c5

Please sign in to comment.