53 lines
1.6 KiB
Lua
53 lines
1.6 KiB
Lua
att.PrintName = "Model 329PD .44 Special Chambering"
|
|
att.AbbrevName = ".44 Special"
|
|
att.Icon = Material("entities/att/uc_bullets/44special.png","smooth mips")
|
|
att.Description = "A shorter length cartridge with lower recoil but reduced stopping power."
|
|
|
|
if !GetConVar("arccw_truenames"):GetBool() then
|
|
att.PrintName = "Enforcement .44 Special Chambering"
|
|
end
|
|
|
|
att.AutoStats = true
|
|
att.Slot = "ur_329_caliber"
|
|
|
|
att.Mult_RangeMin = 0.5
|
|
att.Mult_Range = 0.6
|
|
att.Mult_Recoil = 0.75
|
|
att.Override_PhysBulletMuzzleVelocity = 265
|
|
|
|
att.Override_Trivia_Calibre = ".44 Special"
|
|
|
|
local path = "weapons/arccw_ur/sw329/"
|
|
|
|
att.Hook_GetShootSound = function(wep, sound)
|
|
if wep:GetBuff_Override("Silencer") then
|
|
return -- how tf did you equip a suppressor with this
|
|
else
|
|
return {
|
|
path .. "fire-01.ogg",
|
|
path .. "fire-02.ogg",
|
|
path .. "fire-03.ogg",
|
|
path .. "fire-04.ogg",
|
|
path .. "fire-05.ogg",
|
|
path .. "fire-06.ogg",
|
|
} -- Placeholder(?)
|
|
end
|
|
end
|
|
|
|
local tail = ")^/arccw_uc/common/44mag/"
|
|
|
|
att.Hook_GetDistantShootSoundOutdoors = function(wep, distancesound)
|
|
if wep:GetBuff_Override("Silencer") then
|
|
-- fallback to script
|
|
else
|
|
return {
|
|
tail .. "fire-dist-44mag-pistol-ext-01.ogg",
|
|
tail .. "fire-dist-44mag-pistol-ext-02.ogg",
|
|
tail .. "fire-dist-44mag-pistol-ext-03.ogg",
|
|
tail .. "fire-dist-44mag-pistol-ext-04.ogg",
|
|
tail .. "fire-dist-44mag-pistol-ext-05.ogg",
|
|
tail .. "fire-dist-44mag-pistol-ext-06.ogg"
|
|
}
|
|
end
|
|
end
|