mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 21:53:46 +03:00
Upload
This commit is contained in:
77
lua/arccw/shared/attachments/ur_1911_cal_9mm.lua
Normal file
77
lua/arccw/shared/attachments/ur_1911_cal_9mm.lua
Normal file
@@ -0,0 +1,77 @@
|
||||
--[[
|
||||
| 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 = "SR1911 9x19mm Parabellum Conversion"
|
||||
att.AbbrevName = "9x19mm Parabellum"
|
||||
|
||||
if !GetConVar("arccw_truenames"):GetBool() then
|
||||
att.PrintName = "AMAS Competition 9mm Parabellum Conversion"
|
||||
end
|
||||
|
||||
att.SortOrder = 9
|
||||
att.Icon = Material("entities/att/uc_bullets/9x19.png", "smooth mips")
|
||||
att.Description = "A popular alternative caliber to .45 ACP. With a reduced diameter, the round achieves greater muzzle velocity and magazine capacity."
|
||||
att.Desc_Pros = {
|
||||
}
|
||||
att.Desc_Cons = {
|
||||
}
|
||||
att.Desc_Neutrals = {
|
||||
}
|
||||
att.Slot = "ur_m1911_caliber"
|
||||
|
||||
att.AutoStats = true
|
||||
|
||||
att.Override_Trivia_Calibre = "9x19mm Parabellum"
|
||||
att.Override_Trivia_Manufacturer = "Sturm, Ruger & Company"
|
||||
|
||||
att.Mult_Damage = 30 / 45
|
||||
att.Mult_DamageMin = 17 / 15
|
||||
att.Mult_Penetration = 6 / 9
|
||||
att.Mult_Range = 1.25
|
||||
att.Mult_RPM = 525 / 450
|
||||
att.Mult_ReloadTime = .9
|
||||
|
||||
att.Mult_Recoil = 0.85
|
||||
att.Mult_RecoilSide = 0.75
|
||||
|
||||
att.Mult_PhysBulletMuzzleVelocity = 1.4 -- 350 / 253
|
||||
att.Override_TracerNum = 1
|
||||
att.Override_TracerNum_Priority = 0.5 -- subsonic can override
|
||||
|
||||
att.Mult_ClipSize = 9 / 7
|
||||
att.Override_ShellModel = "models/weapons/arccw/uc_shells/9x19.mdl"
|
||||
att.Override_ShellScale = 1
|
||||
|
||||
local path = ")^weapons/arccw_ur/1911/"
|
||||
|
||||
att.Hook_GetShootSound = function(wep, sound) -- Temporary
|
||||
if wep:GetBuff_Override("Silencer") then
|
||||
return {path .. "fire-9-sup-01.ogg", path .. "fire-9-sup-02.ogg", path .. "fire-9-sup-03.ogg", path .. "fire-9-sup-04.ogg", path .. "fire-9-sup-05.ogg", path .. "fire-9-sup-06.ogg"}
|
||||
else
|
||||
return {path .. "fire-9-01.ogg", path .. "fire-9-02.ogg", path .. "fire-9-03.ogg", path .. "fire-9-04.ogg", path .. "fire-9-05.ogg", path .. "fire-9-06.ogg"}
|
||||
end
|
||||
end
|
||||
|
||||
local tail = ")^/arccw_uc/common/9x19/"
|
||||
|
||||
att.Hook_GetDistantShootSoundOutdoors = function(wep, distancesound)
|
||||
if wep:GetBuff_Override("Silencer") then
|
||||
-- fallback to script
|
||||
else
|
||||
return {
|
||||
tail .. "fire-dist-9x19-pistol-ext-01.ogg",
|
||||
tail .. "fire-dist-9x19-pistol-ext-02.ogg",
|
||||
tail .. "fire-dist-9x19-pistol-ext-03.ogg",
|
||||
tail .. "fire-dist-9x19-pistol-ext-04.ogg",
|
||||
tail .. "fire-dist-9x19-pistol-ext-05.ogg",
|
||||
tail .. "fire-dist-9x19-pistol-ext-06.ogg"
|
||||
}
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user