This commit is contained in:
lifestorm
2024-08-05 18:40:29 +03:00
parent c4d91bf369
commit 324f19217d
8040 changed files with 1853423 additions and 21 deletions

View File

@@ -0,0 +1,52 @@
--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
att.PrintName = "PBS-4 Suppressor"
att.Icon = Material("entities/att/acwatt_uc_muzzle_supp_pbs4.png", "mips smooth")
att.Description = "Traps propellant gas from the muzzle, reducing visual and audible report.\nOriginally designed for carbine barrels, this suppressor compensates for inaccuracy, and can be mounted to other barrels with some gunsmithing work."
att.Desc_Neutrals = {"uc.exclusive.545", "uc.supptail"}
att.AutoStats = true
att.AutoStats = true
att.Slot = {"ur_ak_muzzle"}
att.SortOrder = 149
att.Model = "models/weapons/arccw/atts/uc_pbs4.mdl"
att.ModelOffset = Vector(2.9, 0, 0)
att.ModelScale = Vector(1.3, 1.3, 1.3)
att.OffsetAng = Angle(0, 0, 0)
att.Silencer = true
att.Override_MuzzleEffect = "muzzleflash_suppressed"
att.IsMuzzleDevice = true
att.Mult_ShootPitch = 1.1
att.Mult_ShootVol = 0.75
att.Mult_AccuracyMOA = 0.75
att.Add_BarrelLength = 5
att.Mult_SightTime = 1.1
att.Mult_Sway = 1.15
att.AttachSound = "arccw_uc/common/gunsmith/suppressor_thread.ogg"
att.Hook_Compatible = function(wep)
if wep:GetBuff_Override("Override_Ammo", wep.Primary.Ammo) != "smg1" then
return false
end
end
att.Hook_GetDistantShootSound = function(wep, distancesound)
if wep:GetBuff("PhysBulletMuzzleVelocity") < ArcCW.UC.SubsonicThreshold then
return false
end
end