This commit is contained in:
lifestorm
2024-08-04 23:54:45 +03:00
parent 0e770b2b49
commit df294d03aa
7526 changed files with 4011945 additions and 15 deletions

View File

@@ -0,0 +1,63 @@
--[[
| 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 = "Folded Stock"
att.Icon = Material("entities/att/ur_spas/stock_fold.png", "smooth mips")
att.Description = [[Folding the stock makes the weapon significantly shorter, allowing for easier use around corners and making it easier on the move at the cost of less stability.
Contrary to some depictions, the stock obstructs iron sights when folded.]]
att.Desc_Pros = {
}
att.Desc_Cons = {
"ur.spas12.folded",
}
att.Desc_Neutrals = {
}
att.Slot = "ur_spas12_stock"
att.AttachSound = "arccw_uc/common/stockslide.ogg"
att.AutoStats = true
att.Free = true
att.IgnorePickX = true
att.Mult_Recoil = 1.2
att.Mult_RecoilSide = 1.5
att.Mult_SightedSpeedMult = 1.1
att.Mult_ShootSpeedMult = 1.1
att.Mult_SightTime = 0.5
att.Mult_Sway = 2
att.Add_BarrelLength = -12
att.Override_IronSightStruct = {
Pos = Vector(-1.1, -2, -1.1),
Ang = Angle(3, 1.5, 0),
Magnification = 1.075,
SwitchToSound = "",
CrosshairInSights = true,
}
att.Hook_TranslateAnimation = function(wep,anim)
if string.StartWith(anim,"sgreload") then
return anim .. "_fold"
end
end
att.Override_HoldtypeActive = "shotgun"
att.Override_HoldtypeSights = "ar2"
att.A_Hook_Add_SightsDispersion = function(wep, data)
if data and !wep.Attachments[1].Installed then
data.add = data.add + 75
end
end
att.GivesFlags = {"spas12_foldstock"}