SERVER: Move scoped weapons closer to camera on aim; reduce time-till-scope

This commit is contained in:
cypress 2024-06-15 18:33:22 -07:00
parent 8b06b68c21
commit d2a54c5b78
2 changed files with 4 additions and 4 deletions

View file

@ -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.

View file

@ -1537,7 +1537,7 @@ float GetWeaponWalkSpeed(float perks, float weapon)
/*
===========================
Weapon PSP ADS Declarations
Weapon ADS Declarations
===========================
*/
// x: left/right
@ -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];
@ -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];