Initial commit

This commit is contained in:
Fesiug 2024-02-29 22:16:56 -05:00
commit 1dcc202dd8
178 changed files with 13784 additions and 0 deletions

10
.gitattributes vendored Normal file
View File

@ -0,0 +1,10 @@
# Auto detect text files and perform LF normalization
* text=auto
*.ogg filter=lfs diff=lfs merge=lfs -text
*.wav filter=lfs diff=lfs merge=lfs -text
*.mdl filter=lfs diff=lfs merge=lfs -text
*.dx90.vtx filter=lfs diff=lfs merge=lfs -text
*.phy filter=lfs diff=lfs merge=lfs -text
*.vvd filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.vtf filter=lfs diff=lfs merge=lfs -text

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.dx80.vtx
*.sw.vtx

2
README.md Normal file
View File

@ -0,0 +1,2 @@
# Renewal
Urban Renewal for Garry's Mod

View File

@ -0,0 +1,86 @@
att.PrintName = "Delta Elite 10mm Auto Conversion"
att.AbbrevName = "10mm Auto"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "AMAS-FBI 10mm Auto Conversion"
end
-- att.Hook_NameChange = function(wep,name)
-- name = "Ruger SR1911"
-- end
att.SortOrder = 10
att.Icon = Material("entities/att/uc_bullets/10.png", "smooth mips")
att.Description = "The FBI's preferred caliber of choice.\nDespite its distinctive power, it's not as large as .45 ACP, though its damage curve is more balanced."
att.Desc_Pros = {
}
att.Desc_Cons = {
}
att.Desc_Neutrals = {
}
att.Slot = "ur_m1911_caliber"
att.AutoStats = true
att.Override_Trivia_Calibre = "10mm Auto"
-- att.Override_Trivia_Manufacturer = "Ruger"
att.Mult_Damage = 35 / 45
att.Mult_DamageMin = 20 / 15
att.Mult_Penetration = 8 / 9
att.Mult_RangeMin = 1.5
-- att.Mult_Recoil = 1.3
-- att.Mult_RecoilSide = 1.25
-- att.Mult_ReloadTime = 1.2
-- att.Mult_MalfunctionMean = 0.75
att.Mult_PhysBulletMuzzleVelocity = 1.5 --380 / 253
att.Override_TracerNum = 1
att.Override_TracerNum_Priority = 0.5 -- subsonic can override
att.Mult_ClipSize = 8 / 7
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-sup-01.ogg",
path .. "fire-sup-02.ogg",
path .. "fire-sup-03.ogg",
path .. "fire-sup-04.ogg",
path .. "fire-sup-05.ogg",
path .. "fire-sup-06.ogg"
}
else
return {path .. "fire-10-01.ogg", path .. "fire-10-02.ogg", path .. "fire-10-03.ogg", path .. "fire-10-04.ogg", path .. "fire-10-05.ogg", path .. "fire-10-06.ogg"}
end
end
att.Hook_GetDistantShootSoundOutdoors = function(wep, distancesound)
if wep:GetBuff_Override("Silencer") then
return -- fallback to script
else
return {path .. "fire-10-dist-01.ogg", path .. "fire-10-dist-02.ogg", path .. "fire-10-dist-03.ogg", path .. "fire-10-dist-04.ogg", path .. "fire-10-dist-05.ogg", path .. "fire-10-dist-06.ogg"}
end
end
--[[
att.Override_ClipSize = 15
att.Override_ClipSize_Priority = -1
local slotinfo = {
[7] = {"15-Round Mag", "15-Round Mag", nil},
}
att.Hook_GetDefaultAttName = function(wep, slot)
if slotinfo[slot] then
return GetConVar("arccw_truenames"):GetBool() and slotinfo[slot][2] or slotinfo[slot][1]
end
end
att.Hook_GetDefaultAttIcon = function(wep, slot)
if slotinfo[slot] then
return slotinfo[slot][3]
end
end
]]

View File

@ -0,0 +1,67 @@
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

View File

@ -0,0 +1,12 @@
att.PrintName = "M1911 Pachmayr Grip"
att.AbbrevName = "Pachmayr Grip"
att.Icon = Material("entities/att/ur_1911/grip_pach.png","mips smooth")
att.Description = "Aftermarket grip with finger grooves and a pleasant rosewood texture.\nThe finger grooves steadies aim, but is a bit slower to draw."
att.AutoStats = true
att.Slot = "ur_m1911_grip"
att.Mult_Sway = 0.75
att.Mult_Recoil = 0.95
att.Mult_DrawTime = 1.25
att.Mult_HolsterTime = 1.25

View File

@ -0,0 +1,10 @@
att.PrintName = "M1911 Snake Grip"
att.AbbrevName = "Snake Grip"
att.Icon = Material("entities/att/ur_1911/grip_snake.png","mips smooth")
att.Description = "A gaudy grip for those with too much taste and those with too little taste. Made from genuine rattlesnake skin.\nIts rough texture marginally reduces moving spread.\n\n\"Whoever did this is a professional, no question. This thing could shoot a one-hole at 25 yards in a machine rest.\""
att.AutoStats = true
att.Slot = "ur_m1911_grip"
att.Mult_MoveDispersion = 0.9
att.Mult_RecoilSide = 1.15

View File

@ -0,0 +1,22 @@
att.PrintName = "AMAS 11-Round Extended Magazine"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "M1911 11-Round Extended Magazine"
end
att.AbbrevName = "11-Round Extended Mag"
att.Icon = Material("entities/att/ur_1911/mag11.png","mips smooth")
att.Description = "A higher capacity magazine increases the time you can spend without reloading."
att.Slot = "ur_m1911_mag"
att.AutoStats = true
att.Override_ClipSize = 11
att.Mult_SightTime = 1.1
att.Mult_ReloadTime = 1.15
att.Mult_Sway = 1.25
att.Mult_SpeedMult = 0.98
att.Mult_ShootSpeedMult = 0.95
att.Mult_HipDispersion = 1.25
att.Hook_SelectReloadAnimation = function(wep, anim)
return anim .. "_10"
end

View File

@ -0,0 +1,14 @@
att.PrintName = "M1911 Custom Finish"
att.AbbrevName = "Custom"
att.Icon = Material("entities/att/ur_1911/skin.png","mips smooth")
att.Description = "A configurable finish for your gun. There are many like it, but this one is yours."
att.SortOrder = 7
att.Desc_Neutrals = {
"uc.cosmetic",
"uc.custcolor",
}
att.AutoStats = true
att.Slot = "ur_m1911_skin"
att.Free = true

View File

@ -0,0 +1,15 @@
att.PrintName = "M1911 Nickel Finish"
att.AbbrevName = "Nickel"
att.Icon = Material("entities/att/ur_1911/skin_dark.png","mips smooth")
att.Description = "A warm, shiny nickel finish that glows vibrantly under the sun."
att.SortOrder = 9
att.Desc_Neutrals = {
"uc.cosmetic"
}
att.AutoStats = true
att.Slot = "ur_m1911_skin"
att.Free = true
att.Ignore = true

View File

@ -0,0 +1,13 @@
att.PrintName = "M1911 Silver Finish"
att.AbbrevName = "Silver"
att.Icon = Material("entities/att/ur_1911/skin_silver.png","mips smooth")
att.Description = "This gun may be old, but it will never be out of style."
att.SortOrder = 9
att.Desc_Neutrals = {
"uc.cosmetic"
}
att.AutoStats = true
att.Slot = "ur_m1911_skin"
att.Free = true

View File

@ -0,0 +1,13 @@
att.PrintName = "M1911 Tan Finish"
att.AbbrevName = "Tan"
att.Icon = Material("entities/att/ur_1911/skin_tan.png","mips smooth")
att.Description = "For those who fight for freedom, democracy, and the interests of oil companies."
att.SortOrder = 8
att.Desc_Neutrals = {
"uc.cosmetic"
}
att.AutoStats = true
att.Slot = "ur_m1911_skin"
att.Free = true

View File

@ -0,0 +1,20 @@
att.PrintName = "Colt Officer's Model 3.5\" Slide"
att.AbbrevName = "3.5\" Officer Slide"
att.Icon = Material("entities/att/ur_1911/slide_compact.png","mips smooth")
att.Description = "A shortened slide reduces the amount of holster to clear and further improves agility to the detriment of long-range performance and recoil control."
att.AutoStats = true
att.Slot = "ur_m1911_slide"
att.SortOrder = 3.5
att.Mult_DrawTime = 0.85
att.Mult_HolsterTime = 0.85
att.Add_BarrelLength = -1
att.Mult_Sway = 0.75
att.Mult_HipDispersion = 0.85
att.Mult_SightTime = 0.85
att.Mult_AccuracyMOA = 1.5
att.Mult_Range = 0.8
att.Mult_Recoil = 1.2

View File

@ -0,0 +1,24 @@
att.PrintName = "Colt Officer's Model 3.5\" Slide w/ Custom Finish"
att.AbbrevName = "3.5\" Officer Slide (Custom)"
att.Icon = Material("entities/att/ur_1911/slide_compact.png","mips smooth")
att.Description = "A shortened slide reduces the amount of holster to clear and further improves agility to the detriment of long-range performance and recoil control.\n\nThis variant will use your configured custom color for that extra flair."
att.Desc_Neutrals = {
"uc.custcolor",
}
att.AutoStats = true
att.Slot = "ur_m1911_slide"
att.SortOrder = 3.5 - 0.01
att.InvAtt = "ur_1911_slide_compact"
att.Mult_DrawTime = 0.85
att.Mult_HolsterTime = 0.85
att.Add_BarrelLength = -1
att.Mult_Sway = 0.75
att.Mult_HipDispersion = 0.85
att.Mult_SightTime = 0.85
att.Mult_AccuracyMOA = 1.5
att.Mult_Range = 0.8
att.Mult_Recoil = 1.2

View File

@ -0,0 +1,13 @@
att.PrintName = "5\" Government Slide w/ Custom Finish"
att.AbbrevName = "5\" Custom Slide"
att.Icon = Material("entities/att/ur_1911/slide_std.png","mips smooth")
att.Description = "A factory slide with a secondary color, for use with obnoxious two-tone finishes."
att.Desc_Neutrals = {
"uc.cosmetic",
"uc.custcolor",
}
att.AutoStats = true
att.Slot = "ur_m1911_slide"
att.SortOrder = 99
att.Free = true

View File

@ -0,0 +1,15 @@
att.PrintName = "M45 MEUSOC 5\" Slide"
att.AbbrevName = "5\" M45 Slide (Tan)"
att.Icon = Material("entities/att/ur_1911/slide_45tan.png","mips smooth")
att.Description = "Modernized slide, hammer and trigger assembly designed and hand-built for the U.S. Marine Corps, bringing an old gun to a new age.\nImproves handling and ballistics, but is worse when hip fired."
att.AutoStats = true
att.Slot = "ur_m1911_slide"
att.SortOrder = 5.1
att.Mult_RPM = 1.05
att.Mult_SightTime = 0.9
att.Mult_AccuracyMOA = 0.8
att.Mult_RangeMin = 1.5
att.Mult_HipDispersion = 1.25

View File

@ -0,0 +1,20 @@
att.PrintName = "M45 MEUSOC 5\" Slide w/ Custom Finish"
att.AbbrevName = "5\" M45 Slide (Custom)"
att.Icon = Material("entities/att/ur_1911/slide_45.png","mips smooth")
att.Description = "Modernized slide, hammer and trigger assembly designed and hand-built for the U.S. Marine Corps, bringing an old gun to a new age.\nImproves handling and ballistics, but is worse when hip fired.\n\nThis variant will use your configured custom color for that extra flair."
att.Desc_Neutrals = {
"uc.custcolor",
}
att.AutoStats = true
att.Slot = "ur_m1911_slide"
att.SortOrder = 5
att.InvAtt = "ur_1911_slide_m45"
att.Mult_RPM = 1.05
att.Mult_SightTime = 0.9
att.Mult_AccuracyMOA = 0.8
att.Mult_RangeMin = 1.5
att.Mult_HipDispersion = 1.25

View File

@ -0,0 +1,23 @@
att.PrintName = "6\" Model 29 Barrel"
att.AbbrevName = "6\" Full-Size Barrel"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "6\" Thunderbolt Barrel"
end
att.Icon = Material("entities/att/acwatt_ur_329_barrel_m29.png","smooth mips")
att.Description = "Extended barrel that provides extra counterweight in addition to marginal ballistic enhancements."
att.Slot = "ur_329_barrel"
att.AutoStats = true
att.SortOrder = 6
att.Mult_AccuracyMOA = 0.7
att.Mult_Range = 1.5
att.Mult_Recoil = 0.85
att.Mult_SightTime = 1.25
att.Mult_Sway = 1.15
att.Mult_HipDispersion = 1.1
att.Mult_PhysBulletMuzzleVelocity = 1.15
att.Add_BarrelLength = 4
att.Mult_DrawTime = 1.15
att.Mult_HolsterTime = 1.15

View File

@ -0,0 +1,21 @@
att.PrintName = "7\" Master Barrel"
att.AbbrevName = "7\" Master Barrel"
att.Icon = Material("entities/att/acwatt_ur_329_barrel_master.png","smooth mips")
att.Description = "Huge, imposing barrel with extra frontal weight and precision rifling. Hard to keep steady, but hones accuracy even further."
att.Slot = "ur_329_barrel"
att.AutoStats = true
att.SortOrder = 7
att.Mult_AccuracyMOA = 0.5
att.Mult_Range = 1.6
att.Mult_Recoil = 0.75
att.Mult_SightTime = 1.3
att.Mult_Sway = 1.4
att.Mult_HipDispersion = 1.15
att.Mult_PhysBulletMuzzleVelocity = 1.2
att.Mult_SightedSpeedMult = .8
att.Add_BarrelLength = 5
att.Mult_DrawTime = 1.25
att.Mult_HolsterTime = 1.25

View File

@ -0,0 +1,25 @@
att.PrintName = "3\" Model 629 Pocket Barrel"
att.AbbrevName = "3\" Pocket Barrel"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "3\" Companion .44 Pocket Barrel"
end
att.Icon = Material("entities/att/acwatt_ur_329_barrel_m29.png","smooth mips")
att.Description = "Even shorter barrel, associated with police officers. Being as compact as possible improves draw time, but the barrel cannot handle gas expansion well."
att.Slot = "ur_329_barrel"
att.AutoStats = true
att.SortOrder = 3
att.Mult_AccuracyMOA = 1.3
att.Mult_Range = 0.75
att.Mult_Recoil = 1.3
att.Mult_SightTime = 0.85
att.Mult_Sway = 0.85
att.Mult_HipDispersion = 0.9
att.Mult_PhysBulletMuzzleVelocity = 0.85
att.Add_BarrelLength = -1
att.Mult_DrawTime = 0.75
att.Mult_HolsterTime = 0.75
att.Ignore = true -- Texture is too fucked for this to make it to release

View File

@ -0,0 +1,52 @@
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

View File

@ -0,0 +1,66 @@
att.PrintName = "Model 329PD .44 Snakeshot Chambering"
att.AbbrevName = ".44 Snakeshot"
att.Icon = Material("entities/att/uc_bullets/44special.png","smooth mips")
att.Description = "Rounds containing small lead shots. Due to bullet diameter and barrel length, this round has an extremely low effective range.\nAs its name implies, it's mostly useful for shooting snakes and rodents only."
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Enforcement .44 Snakeshot Chambering"
end
-- Todo: alt shoot sound
att.AutoStats = true
att.Desc_Pros = {
"ur.329.snakeshot.1"
}
att.Desc_Cons = {
"ur.329.snakeshot.2",
"ur.329.snakeshot.3"
}
att.Slot = "ur_329_caliber"
att.SortOrder = -1
att.Override_Num = 4
att.Override_AccuracyMOA = 65
att.Override_AccuracyMOA_Priority = 0
att.Override_HullSize = 0.1
att.Override_BodyDamageMults = ArcCW.UC.BodyDamageMults_Shotgun
att.Override_Penetration = 1
att.Mult_Damage = 70 / 60
att.Mult_Range = 0.4
att.Mult_RangeMin = 2
att.Mult_PhysBulletMuzzleVelocity = 0.6
-- att.Override_IsShotgun = true
-- att.Override_Ammo = "buckshot"
-- att.Override_ShellModel = "models/weapons/arccw/uc_shells/410bore.mdl"
-- att.Override_ShellScale = 0.8
-- att.Override_ShellSounds = ArcCW.ShotgunShellSoundsTable
att.Override_Trivia_Calibre = att.AbbrevName -- E F F I C I E N C Y
local slotinfo = {
[6] = {"\"SS\" Snakeshot", "\"SS\" Snakeshot", Material("entities/att/arccw_uc_ammo_shotgun_generic.png", "mips smooth")},
}
att.Hook_GetDefaultAttName = function(wep, slot)
if slotinfo[slot] then
return GetConVar("arccw_truenames"):GetBool() and slotinfo[slot][2] or slotinfo[slot][1]
end
end
-- att.Hook_GetDefaultAttIcon = function(wep, slot)
-- if slotinfo[slot] then
-- return slotinfo[slot][3]
-- end
-- end
att.Hook_GetShootSound = function(wep, sound)
if wep:GetBuff_Override("Silencer") then
return "weapons/arccw_ur/deagle/fire_supp_10.ogg" -- Placeholder
else
return {"weapons/arccw_ur/deagle/fire-410-01.ogg", "weapons/arccw_ur/deagle/fire-410-02.ogg", "weapons/arccw_ur/deagle/fire-410-03.ogg", "weapons/arccw_ur/deagle/fire-410-04.ogg", "weapons/arccw_ur/deagle/fire-410-05.ogg", "weapons/arccw_ur/deagle/fire-410-06.ogg"} -- Not Placeholder
end
end
att.GivesFlags = {"329_ss"}

View File

@ -0,0 +1,18 @@
att.PrintName = "Model 329PD Polymer Grip"
att.AbbrevName = "Polymer Grip"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Enforcement .44 Polymer Grip"
end
att.Icon = Material("entities/att/acwatt_ur_deagle_grip_plastic.png","mips smooth")
att.Description = "Polymer grip which improves handling at the cost of increased recoil."
att.Slot = "ur_329_grip"
att.Ignore = true
att.AutoStats = true
att.SortOrder = 6
att.Mult_Recoil = 1.2
att.Mult_RecoilSide = 1.1
att.Mult_SightTime = 0.85
att.Mult_DrawTime = 0.9
att.Mult_HolsterTime = 0.9

View File

@ -0,0 +1,42 @@
att.PrintName = "AK-105 12\" Carbine Barrel"
att.AbbrevName = "12\" Carbine Barrel"
att.Icon = Material("entities/att/ur_ak/barrel/105.png", "mips smooth")
att.Description = "Reduced length barrel that serves as a middle ground between full-size and SMG-length barrels. Reduces weight and profile while keeping the weapon accurate and controllable."
att.Slot = {"ur_ak_barrel"}
att.AutoStats = true
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "KF-104 12\" Carbine Barrel"
end
att.SortOrder = 12
att.Mult_Sway = .85
att.Mult_SightTime = .8
att.Add_BarrelLength = -3
att.Mult_SightedSpeedMult = 1.05
att.Mult_Recoil = 1.3
att.Mult_AccuracyMOA = 1.5
att.Mult_Range = .75
att.Mult_RPM = 625/600
att.Mult_ShootPitch = 105/100
-- att.ToggleLockDefault = true
-- att.ToggleStats = {
-- {
-- PrintName = "Black",
-- ActivateElements = {"barrel_105"},
-- },
-- {
-- PrintName = "Plum",
-- ActivateElements = {"barrel_105_red"},
-- },
-- {
-- PrintName = "Olive Drab",
-- ActivateElements = {"barrel_105_green"},
-- },
-- }
att.ActivateElements = {"barrel_105"}
att.GivesFlags = {"ak_barrelchange","nodong"}

View File

@ -0,0 +1,34 @@
att.PrintName = "AKS-74U 8\" Compact Barrel"
att.AbbrevName = "8\" Compact Barrel"
att.Icon = Material("entities/att/ur_ak/barrel/aksu.png", "mips smooth")
att.Description = "Special carbine length handguard and barrel. Its reduced length leads to less unwieldiness, and the shortened gas system increases cyclic rate respectably.\nThese traits combined, however, result in a difficult weapon to control."
att.Slot = {"ur_ak_barrel"}
att.AutoStats = true
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "KFSU-76 8\" Compact Barrel"
end
att.SortOrder = 8
att.Mult_ShootPitch = 115 / 100
att.Add_BarrelLength = -6
att.Mult_RPM = 1.131
att.Mult_SightTime = 0.8
att.Mult_HipDispersion = 0.8
att.Mult_SightedSpeedMult = 1.1
att.Mult_SpeedMult = 1.02
att.Mult_Sway = 0.75
att.Mult_Recoil = 1.5
att.Mult_AccuracyMOA = 2
att.Mult_Range = .5
att.ActivateElements = {"barrel_krinkov"}
att.GivesFlags = {"ak_barrelchange", "barrel_carbine", "ak_barrelkrinkov"}
att.LHIK = true
att.ModelOffset = Vector(-24, -3.1, 3.6)
att.OffsetAng = Angle(10, 0, 0)
att.Model = "models/weapons/arccw/ak_lhik_u.mdl"

View File

@ -0,0 +1,31 @@
att.PrintName = "RPK 23\" SAW Barrel"
att.AbbrevName = "23\" SAW Barrel"
att.Icon = Material("entities/att/ur_ak/barrel/rpk.png", "mips smooth")
att.Description = "Light machine gun barrel as used on the RPK. In addition to improved precision from the elongated barrel, it features an integrated bipod which can be deployed for even greater accuracy and control.\nVery front-heavy due to the long, more massive barrel."
att.Slot = {"ur_ak_barrel"}
att.AutoStats = true
att.SortOrder = 23
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "PKF-67 23\" SAW Barrel"
end
att.Add_BarrelLength = 5
att.Mult_SightTime = 1.2
att.Mult_SpeedMult = .95
att.Mult_SightedSpeedMult = 0.8
att.Mult_Sway = 1.5
att.Mult_Recoil = .8
att.Mult_AccuracyMOA = .7
att.Mult_Range = 1.5
att.Mult_MalfunctionMean = 2
att.Mult_HipDispersion = 1.5
att.Bipod = true
att.Mult_BipodRecoil = .25
att.Mult_BipodDispersion = .2
att.ActivateElements = {"barrel_rpk"}
att.GivesFlags = {"ak_barrelchange", "uc_noubgl"}

View File

@ -0,0 +1,43 @@
att.PrintName = "Type 56 16\" Bayonet Barrel"
att.AbbrevName = "16\" Bayonet Barrel"
att.Icon = Material("entities/att/ur_ak/barrel/type.png", "mips smooth")
att.Description = "Chinese derivative barrel with a fully hooded front sight and a folding spike bayonet. When unfolded, the bayonet increases melee damage substantially, but adds some forward weight."
att.Slot = {"ur_ak_barrel"}
att.AutoStats = true
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Yucha 7 16\" Bayonet Barrel" -- Chinese for harpoon
end
att.SortOrder = 16
att.Mult_SightedSpeedMult = .95
--att.ToggleLockDefault = true
att.ToggleStats = {
{
PrintName = "Extended",
ActivateElements = {"barrel_t56_ext"},
AutoStats = true,
Add_MeleeRange = 16,
Mult_MeleeDamage = 3,
Mult_MeleeWaitTime = 2,
Add_BarrelLength = 10,
Mult_Sway = 1.2,
-- Override_BashPreparePos = Vector(4, -5, -1.8),
-- Override_BashPrepareAng = Angle(-15, -5, -5),
-- Override_BashPos = Vector(-1, 12, 4.5), -- i'm too impatient to not make this bat you in the face with the stock
-- Override_BashAng = Angle(-7, 3, 25),
Hook_SelectBashAnim = function(wep,anim)
return "bash_bayonet"
end
},
{
PrintName = "Folded",
AutoStats = true,
ActivateElements = {"barrel_t56"},
},
}
att.GivesFlags = {"ak_bayonet1"}
att.ExcludeFlags = {"ak_bayonet2"}

View File

@ -0,0 +1,26 @@
att.PrintName = "Vepr 20\" Marksman Barrel"
att.AbbrevName = "20\" Marksman Barrel"
att.Icon = Material("entities/att/ur_ak/barrel/vepr.png", "mips smooth")
att.Description = "Long civilian hunting barrel. Improved performance at range, but fires much slower."
att.Slot = {"ur_ak_barrel"}
att.AutoStats = true
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Amur 20\" Marksman Barrel"
end
att.SortOrder = 20
att.Add_BarrelLength = 4
att.Mult_SightTime = 1.15
att.Mult_SpeedMult = .97
att.Mult_SightedSpeedMult = 0.85
att.Mult_Recoil = 0.85
att.Mult_AccuracyMOA = 0.5
att.Mult_Range = 1.5
att.Mult_HipDispersion = 1.25
att.Mult_ShootPitch = 0.9
att.Mult_RPM = 0.8
att.ActivateElements = {"barrel_vepr"}
att.GivesFlags = {"ak_barrelchange"}

View File

@ -0,0 +1,34 @@
att.PrintName = "PP-19 9\" SMG Barrel"
att.AbbrevName = "9\" SMG Barrel"
att.Icon = Material("entities/att/ur_ak/barrel/smg.png", "mips smooth")
att.Description = "Submachine gun barrel with a rail interface for additional modularity. More lightweight than the compact barrel, but confers more recoil."
att.Slot = {"ur_ak_barrel"}
att.AutoStats = true
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Bogatyr SMG 9\" SMG Barrel"
end
att.SortOrder = 9
att.Add_BarrelLength = -5
att.Mult_ShootPitch = 115 / 100
att.Mult_RPM = 1.131
att.Mult_SightTime = 0.7
att.Mult_HipDispersion = 0.7
att.Mult_SightedSpeedMult = 1.12
att.Mult_SpeedMult = 1.03
att.Mult_Sway = 0.85
att.Mult_Recoil = 1.4
att.Mult_AccuracyMOA = 1.5
att.Mult_Range = 0.65
att.ActivateElements = {"barrel_vityaz"}
att.GivesFlags = {"ak_barrelchange", "barrel_carbine", "ak_railedguard"}
att.LHIK = true
att.ModelOffset = Vector(-24, -3.4, 3.3)
att.OffsetAng = Angle(10, 0, 0)
att.Model = "models/weapons/arccw/ak_lhik_u.mdl"

View File

@ -0,0 +1,75 @@
att.PrintName = "VPO-209 .366 TKM Receiver"
att.AbbrevName = ".366 TKM Receiver"
--att.Icon = Material("entities/att/uc_bullets/366tkm.png", "mips smooth")
att.Icon = Material("entities/att/uc_bullets/762x39.png", "mips smooth")
att.Description = "Hunting round based on 7.62x39mm, with more powerful ranged ballistics than the parent cartridge. Weapons chambered for it are exclusively produced for the Russian civilian market, and are therefore semi-automatic only."
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "KFN-209 .366 TKM Receiver"
end
att.Desc_Pros = {
}
att.Desc_Cons = {
"uc.semionly"
}
att.Desc_Neutrals = {
}
att.Slot = "ur_ak_cal"
att.AutoStats = true
att.Mult_Damage = 1.2
att.Mult_DamageMin = 1.2
att.Mult_Range = 1.25
att.Mult_PrecisionMOA = .75
att.Mult_Penetration = 1.5
--att.Mult_ReloadTime = .9
att.Mult_RPM = 0.8
att.Mult_Recoil = 1.5
-- att.Override_ClipSize = 10
att.Mult_ShootVol = 130 / 125
-- att.Hook_SelectReloadAnimation = function(wep, anim)
-- return anim .. "_10rnd"
-- end
att.Override_Firemodes = {
{
Mode = 1,
},
{
Mode = 0
}
}
att.Override_ShellModel = "models/weapons/arccw/uc_shells/366tkm.mdl"
att.Override_ShellScale = .666
--att.Override_Trivia_Class = "Shotgun" -- The VPO-209 is considered a shotgun because of its smoothbore barrel
att.Override_Trivia_Calibre = ".366 TKM"
att.Override_Trivia_Manufacturer = "Molot-Oruzhiye"
-- att.ActivateElements = {"mag_366"}
att.GivesFlags = {"cal_366"}
local path = ")weapons/arccw_ur/ak/"
att.Hook_GetShootSound = function(wep, fsound)
if fsound == wep.ShootSound or fsound == wep.FirstShootSound then return {path .. "fire_366_1.ogg", path .. "fire_366_2.ogg", path .. "fire_366_3.ogg"} end
if fsound == wep.ShootSoundSilenced then return path .. "fire_sup_1.ogg" end -- Temporary?
end
-- local slotinfo = {
-- [5] = {"10-Round Mag", "10-Round Mag", Material("entities/att/ur_ak/magazines/366_10.png", "smooth mips")},
-- }
-- att.Hook_GetDefaultAttName = function(wep, slot)
-- if slotinfo[slot] then
-- return GetConVar("arccw_truenames"):GetBool() and slotinfo[slot][2] or slotinfo[slot][1]
-- end
-- end
-- att.Hook_GetDefaultAttIcon = function(wep, slot)
-- if slotinfo[slot] then
-- return slotinfo[slot][3]
-- end
-- end

View File

@ -0,0 +1,71 @@
att.PrintName = "AK-74 5.45x39mm Receiver"
att.AbbrevName = "5.45x39mm Receiver"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "KF-76 5.45x39mm Receiver"
end
att.Icon = Material("entities/att/uc_bullets/545x39.png", "mips smooth")
att.Description = "Lighter, more accurate cartridge that maintains wounding potential up close, but lacks penetration."
att.Slot = {"ur_ak_cal"}
att.AutoStats = true
att.SortOrder = 10
att.Override_Ammo = "smg1"
att.Override_Trivia_Calibre = "5.45x39mm Soviet"
att.Mult_Range = 1.2
att.Mult_RPM = 1.083 -- 650 rpm
att.Mult_SightedSpeedMult = 1.05
att.Mult_ReloadTime = .95
att.Mult_Recoil = .85
att.Mult_AccuracyMOA = .85
att.Mult_HipDispersion = .75
att.Mult_Penetration = .65
att.Mult_DamageMin = .8
att.Mult_Damage = .8
att.ShootPitchVariation = 1
att.Override_ShellModel = "models/weapons/arccw/uc_shells/545x39.mdl"
att.Override_ShellScale = 0.666
att.GivesFlags = {"cal_545"}
att.ActivateElements = {"mag_545_30"}
local path = ")weapons/arccw_ur/ak/545_39/"
local path1 = ")weapons/arccw_ur/ak/"
local tail = ")/arccw_uc/common/556x45/"
local fire545dist = {tail .. "fire-dist-556x45-rif-ext-01.ogg",tail .. "fire-dist-556x45-rif-ext-02.ogg",tail .. "fire-dist-556x45-rif-ext-03.ogg",tail .. "fire-dist-556x45-rif-ext-04.ogg",tail .. "fire-dist-556x45-rif-ext-05.ogg",tail .. "fire-dist-556x45-rif-ext-06.ogg"}
local fire545 = {path .. "fire-01.ogg", path .. "fire-02.ogg", path .. "fire-03.ogg", path .. "fire-04.ogg", path .. "fire-05.ogg", path .. "fire-06.ogg"}
local fire545supp = {path .. "fire-sup-01.ogg", path .. "fire-sup-02.ogg", path .. "fire-sup-03.ogg", path .. "fire-sup-04.ogg", path .. "fire-sup-05.ogg", path .. "fire-sup-06.ogg"}
att.Hook_GetShootSound = function(wep, fsound)
if wep:GetBuff_Override("Silencer") then
return fire545supp
else
return fire545
end
end
att.Hook_GetDistantShootSoundOutdoors = function(wep, distancesound)
if wep:GetBuff_Override("Silencer") then
-- fallback to script
else
return fire545dist
end
end
local slotinfo = {
[6] = {"30-Round Mag", "30-Round Mag", Material("entities/att/ur_ak/magazines/545_30.png", "mips smooth")},
}
att.Hook_GetDefaultAttName = function(wep, slot)
if slotinfo[slot] then
return GetConVar("arccw_truenames"):GetBool() and slotinfo[slot][2] or slotinfo[slot][1]
end
end
att.Hook_GetDefaultAttIcon = function(wep, slot)
if slotinfo[slot] then
return slotinfo[slot][3]
end
end

View File

@ -0,0 +1,77 @@
att.PrintName = "AK-101 5.56x45mm NATO Receiver"
att.AbbrevName = "5.56x45mm Receiver"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "KF-45 5.56x45mm NATO Receiver"
end
att.Icon = Material("entities/att/uc_bullets/556x45.png", "mips smooth")
att.Description = "Designed for the export market, this receiever uses the NATO standard 5.56x45mm cartridge.\nThe smaller round yields a higher muzzle velocity and accuracy at range with similiar wounding potential to 5.45x39mm, but with a slower cyclic rate."
att.Slot = {"ur_ak_cal"}
att.AutoStats = true
att.SortOrder = 10
att.Override_Ammo = "smg1"
att.Override_Trivia_Calibre = "5.56x45mm NATO"
att.Mult_Range = 1.5
att.Mult_SightedSpeedMult = 1.05
att.Mult_ReloadTime = 0.95
att.Mult_Recoil = 0.65
att.Mult_AccuracyMOA = 0.6
att.Mult_HipDispersion = .75
att.Mult_Penetration = 12 / 16
att.Mult_DamageMin = 20 / 25
att.Mult_Damage = 34 / 50
att.Override_Trivia_Country = "Russia"
att.ShootPitchVariation = 1
att.Override_ShellModel = "models/weapons/arccw/uc_shells/556x45.mdl"
att.Override_ShellScale = .666
att.GivesFlags = {"cal_556"}
att.ActivateElements = {"mag_556_30"}
local path = ")weapons/arccw_ur/ak/556/"
local path1 = ")weapons/arccw_ur/ak/"
att.Hook_GetShootSound = function(wep, fsound)
--[[if fsound == wep.FirstShootSound or fsound == wep.FirstShootSound then return {
path .. "stalol/fire_545_1.wav",
} end]]
if fsound == wep.ShootSound or fsound == wep.FirstShootSound then 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"} end
if fsound == wep.ShootSoundSilenced then return {path .. "fire-sup-01.ogg", path .. "fire-sup-02.ogg", path .. "fire-sup-03.ogg", path .. "fire-sup-04.ogg", path .. "fire-sup-05.ogg", path .. "fire-sup-06.ogg"} end
end
local tail = ")/arccw_uc/common/556x45/"
att.Hook_GetDistantShootSoundOutdoors = function(wep, distancesound)
if wep:GetBuff_Override("Silencer") then
-- fallback to script
else
return {
tail .. "fire-dist-556x45-rif-ext-01.ogg",
tail .. "fire-dist-556x45-rif-ext-02.ogg",
tail .. "fire-dist-556x45-rif-ext-03.ogg",
tail .. "fire-dist-556x45-rif-ext-04.ogg",
tail .. "fire-dist-556x45-rif-ext-05.ogg",
tail .. "fire-dist-556x45-rif-ext-06.ogg"
}
end
end
local slotinfo = {
[6] = {"30-Round Mag", "30-Round Mag", Material("entities/att/ur_ak/magazines/556_30.png", "mips smooth")},
}
att.Hook_GetDefaultAttName = function(wep, slot)
if slotinfo[slot] then
return GetConVar("arccw_truenames"):GetBool() and slotinfo[slot][2] or slotinfo[slot][1]
end
end
att.Hook_GetDefaultAttIcon = function(wep, slot)
if slotinfo[slot] then
return slotinfo[slot][3]
end
end

View File

@ -0,0 +1,96 @@
att.PrintName = "PP-19 Vityaz 9x19mm Parabellum Receiver"
att.AbbrevName = "9x19mm Receiver"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Bogatyr SMG 9x19mm Parabellum Receiver"
end
att.Icon = Material("entities/att/uc_bullets/9x19.png", "mips smooth")
att.Description = "Converts the weapon to a submachine gun. The smaller caliber drastically reduces recoil, but has much less range and is less accurate."
att.Slot = {"ur_ak_cal"}
att.AutoStats = true
att.SortOrder = 9
att.Override_Ammo = "pistol"
att.Override_Trivia_Calibre = att.AbbrevName
att.Override_Trivia_Class = "Submachine Gun"
att.Mult_Range = 0.6
att.Mult_RPM = 1.178 -- 800 rpm with the carbine barrels
att.Mult_ReloadTime = .95
att.Mult_Recoil = .35
att.Mult_AccuracyMOA = .85
att.Mult_HipDispersion = .75
att.Mult_ShootPitch = 90 / 100
att.Mult_Penetration = 0.125
att.Mult_DamageMin = 0.85
att.Mult_Damage = 0.64
att.Override_Ammo = "pistol"
att.Override_Trivia_Calibre = "9x19mm Parabellum"
att.Override_Trivia_Class = "Submachine Gun"
att.Override_ShellModel = "models/weapons/arccw/uc_shells/9x19.mdl"
att.Override_ShellScale = 1
att.Override_ShellSounds = ArcCW.PistolShellSoundsTable
att.Hook_SelectReloadAnimation = function(wep, anim)
return anim .. "_9mm"
end
att.GivesFlags = {"cal_9mm"}
att.ActivateElements = {"mag_9mm"}
local path = ")weapons/arccw_ur/ak/9mm/"
local soundpath = ")weapons/arccw_ur/1911/fire-9-"
att.Hook_GetShootSound = function(wep, fsound)
if fsound == wep.ShootSound or fsound == wep.FirstShootSoundSilenced then return {
soundpath .. "01.ogg",
soundpath .. "02.ogg",
soundpath .. "03.ogg",
soundpath .. "04.ogg",
soundpath .. "05.ogg",
soundpath .. "06.ogg",
} end
if fsound == wep.ShootSoundSilenced then return {
path .. "fire-sup-01.ogg",
path .. "fire-sup-02.ogg",
path .. "fire-sup-03.ogg",
path .. "fire-sup-04.ogg",
path .. "fire-sup-05.ogg",
path .. "fire-sup-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
local slotinfo = {
[6] = {"30-Round Mag", "30-Round Mag", Material("entities/att/ur_ak/magazines/9_30.png", "mips smooth")},
}
att.Hook_GetDefaultAttName = function(wep, slot)
if slotinfo[slot] then
return GetConVar("arccw_truenames"):GetBool() and slotinfo[slot][2] or slotinfo[slot][1]
end
end
att.Hook_GetDefaultAttIcon = function(wep, slot)
if slotinfo[slot] then
return slotinfo[slot][3]
end
end

View File

@ -0,0 +1,27 @@
att.PrintName = "Tactical Laser Position"
att.Icon = Material("entities/att/aksidemount.png", "smooth mips")
att.Description = "Give your AN/PEQ a reason to be thin."
att.Desc_Pros = {}
att.Desc_Cons = {}
att.Desc_Neutrals = {
"ur.ak.tl.1",
"ur.ak.tl.2"
}
att.Slot = "ur_ak_charm"
att.ActivateElements = {"optic_raillaser"}
att.AdditionalSights = {
{
Pos = Vector(0, 20, -6),
Ang = Angle(0, 0, -25),
GlobalPos = false,
GlobalAng = true,
Magnification = 1,
ScrollFunc = ArcCW.SCROLL_NONE
}
}
att.SortOrder = 998
-- att.TacLaserPos = true
att.RequireFlags = {"tac"}
att.GivesFlags = {"ak_norail"}

View File

@ -0,0 +1,15 @@
att.PrintName = "Alpha AK Dust Cover"
att.AbbrevName = "Alpha Dust Cover"
att.Icon = Material("entities/att/ur_ak/dustcover_alpha.png", "mips smooth")
att.Description = "Alternative US-made dust cover with an upper picattiny rail."
att.Slot = {"ur_ak_cover"}
att.AutoStats = true
att.Desc_Neutrals = {
"uc.cosmetic",
"ur.ak.alpha"
}
att.ActivateElements = {"cover_alpha"}
att.GivesFlags = {"cover_rail"}
att.ExcludeFlags = {"ak_barrelkrinkov", "ak_norail"}

View File

@ -0,0 +1,8 @@
att.PrintName = "Smooth Dust Cover"
att.Icon = Material("entities/att/ur_ak/dustcover_ribbed.png", "mips smooth")
att.Description = "Early dust cover with a smooth profile. Realistically down to preference."
att.Slot = {"ur_ak_cover"}
att.Desc_Neutrals = {"uc.cosmetic"}
att.ActivateElements = {"cover_ribbed"}

View File

@ -0,0 +1,15 @@
att.PrintName = "Trunnion Sight Mount"
att.Icon = Material("entities/att/ur_ak/dustcover_mount.png", "mips smooth")
att.Description = "Picatinny rail mounted on trunnion sights"
att.Slot = {"ur_ak_cover"}
att.Desc_Neutrals = {"uc.cosmetic"}
att.Desc_Cons = {"Obstructs ironsights, install any scope"
-- , "Only small scopes can be installed" ?
}
att.ActivateElements = {"cover_trail"}
att.GivesFlags = {"cover_rail"}
att.ExcludeFlags = {"ak_barrelkrinkov","ak_norail"}
-- att.Ignore = true

View File

@ -0,0 +1,11 @@
att.PrintName = "Helix Polymer Grip"
att.AbbrevName = "Polymer Grip"
att.Icon = Material("entities/att/ur_ak/grip_helix.png", "mips smooth")
att.Description = "Rough US-made polymer grip, prodiving a bit more sighted mobility."
att.AutoStats = true
att.Slot = {"ur_ak_grip"}
att.Mult_Recoil = 1.05
att.Mult_SightedSpeedMult = 1.05
att.ActivateElements = {"grip_alpha"}

View File

@ -0,0 +1,11 @@
att.PrintName = "Vintage Grip"
att.Icon = Material("entities/att/ur_ak/grip_3.png", "mips smooth")
att.Description = "Original pistol grip with a rougher, heavier shape."
att.AutoStats = true
att.Slot = {"ur_ak_grip"}
att.Mult_Recoil = 0.95
att.Mult_SightTime = 1.05
att.ActivateElements = {"grip_akm"}

View File

@ -0,0 +1,27 @@
att.PrintName = "Polymer Handguard"
att.Icon = Material("entities/att/ur_ak/handguards/poly.png", "mips smooth")
att.Description = "Light polymer handguard with superior agility, but higher recoil from the reduced counterweight."
att.Slot = {"ur_ak_hg"}
att.AutoStats = true
att.SortOrder = 16
att.Mult_Sway = 0.9
att.Mult_SightTime = 0.9
att.Mult_Recoil = 1.1
att.ToggleLockDefault = true
att.ToggleStats = {
{
PrintName = "Black",
ActivateElements = {"barrel_74m"},
},
{
PrintName = "Plum",
ActivateElements = {"barrel_74m_red"},
},
{
PrintName = "Olive Drab",
ActivateElements = {"barrel_74m_green"},
},
}

View File

@ -0,0 +1,26 @@
att.PrintName = "AK Zenitco Aluminum Handguard"
att.AbbrevName = "Aluminum Handguard"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "KF Aluminum Handguard"
end
att.Icon = Material("entities/att/ur_ak/handguards/alpha.png", "mips smooth")
att.Description = "Fancy Russian-made handguard featuring a rail interface for additional modularity. Especially lightweight, though less comfortable to grip."
att.Slot = {"ur_ak_hg"}
att.AutoStats = true
--att.Desc_Neutrals = {"uc.cosmetic"} nvm
att.SortOrder = 15.9
att.Mult_Sway = 1.15
att.Mult_SightedSpeedMult = 1.15
-- att.Mult_SpeedMult = 1.05
att.Mult_Recoil = 1.08
att.GivesFlags = {"ak_railedguard","nodong"}
att.ActivateElements = {"barrel_alpha"}
att.LHIK = true
att.ModelOffset = Vector(-22, -3.4, 3.3)
att.OffsetAng = Angle(5, 0, 0)
att.Model = "models/weapons/arccw/ak_lhik_u.mdl"

View File

@ -0,0 +1,23 @@
att.PrintName = "\"Romanian Dong\" Integral Foregrip"
att.AbbrevName = "Dong Foregrip"
att.Icon = Material("entities/att/ur_ak/dong.png", "mips smooth")
att.Description = "Romanian lower handguard design, shaped into an integrated foregrip."
att.Slot = {"ur_ak_hg"}
att.Desc_Cons = {"uc.noubs"}
att.AutoStats = true
att.SortOrder = 16
att.Mult_Recoil = .82
att.Mult_SightTime = 1.12
att.Mult_MoveDispersion = 1.25
att.ActivateElements = {"barrel_dong"}
att.GivesFlags = {"ak_noubs"}
att.LHIK = true
att.ModelOffset = Vector(-23, -2.6, 3.8)
att.Model = "models/weapons/arccw/ak_lhik_dong.mdl"
att.Override_HoldtypeActive = "smg"

View File

@ -0,0 +1,13 @@
att.PrintName = "Polymer SAW Handguard"
att.Icon = Material("entities/att/ur_ak/handguards/rpk.png", "mips smooth")
att.Description = "Light polymer handguard used on the RPK-74M. Its additional grooves makes it a bit steadier to hold."
att.Slot = {"ur_ak_hg"}
att.AutoStats = true
att.SortOrder = 16
att.Mult_Sway = .8
att.Mult_SightTime = 1.1
att.Mult_Recoil = 0.9
att.ActivateElements = {"barrel_rpk74m"}

View File

@ -0,0 +1,16 @@
att.PrintName = "Type 3 Vintage Handguard"
att.AbbrevName = "Vintage Handguard"
att.Icon = Material("entities/att/ur_ak/handguards/vintage.png", "mips smooth") -- todo
att.Description = "Lacks grip protrusions, reducing grip surface but enhancing agility."
att.Slot = {"ur_ak_hg"}
att.AutoStats = true
--att.Desc_Neutrals = {"uc.cosmetic"} nvm
att.SortOrder = 16
att.Mult_Recoil = 1.05
att.Mult_SightedSpeedMult = 1.08
att.ActivateElements = {"barrel_akm"}
--att.Ignore = true

View File

@ -0,0 +1,16 @@
att.PrintName = "Heavy Handguard"
att.Icon = Material("entities/att/ur_ak/handguards/vepr.png", "mips smooth")
att.Description = "Bottom-heavy marksman handguard. Hard to handle, but steady and accurate. Does not have a bottom rail, and thus cannot accept underbarrel attachments."
att.Slot = {"ur_ak_hg"}
att.Desc_Cons = {"uc.noubs"}
att.AutoStats = true
att.Mult_SightedSpeedMult = 0.75
att.Mult_HipDispersion = 1.25
att.Mult_Sway = 0.7
att.Mult_Recoil = 0.75
att.ActivateElements = {"hg_vepr"}
att.GivesFlags = {"ak_noubs"}
att.ExcludeFlags = {"ur_ak_barrel_rpk"}

View File

@ -0,0 +1,30 @@
att.PrintName = "45-Round Extended Mag"
att.Icon = Material("entities/att/ur_ak/magazines/545_45.png", "mips smooth")
att.Description = "Extended magazine for the AK-74. While intended for squad gunners, the extra ammo is useful for any loadout, though the longer mag is noticeably heavier."
att.Slot = {"ur_ak_mag"}
att.AutoStats = true
att.Desc_Cons = {
"uc.jam"
}
att.SortOrder = 45
att.HideIfBlocked = true
att.Override_ClipSize = 45
att.Mult_SightTime = 1.25
att.Mult_ReloadTime = 1.15
att.Mult_Sway = 1.5
att.Mult_RecoilSide = 1.2
att.Mult_SpeedMult = 0.95
att.Mult_ShootSpeedMult = 0.9
att.Override_Malfunction = true
att.Mult_MalfunctionMean = 0.85
att.Mult_MalfunctionVariance = 1.5
att.Mult_HipDispersion = 1.25
att.ActivateElements = {"mag_545_45"}
att.RequireFlags = {"cal_545"}

View File

@ -0,0 +1,16 @@
att.PrintName = "30-Round Black Bakelite Mag"
att.AbbrevName = "30-Round Mag (Black)"
att.Icon = Material("entities/att/ur_ak/magazines/545_30_b.png", "mips smooth")
att.Description = "Identical to the stock magazine, spray-painted black. Might suit your taste better."
att.Slot = {"ur_ak_mag"}
att.AutoStats = true
att.Desc_Neutrals = {
"uc.cosmetic",
}
att.SortOrder = 99
att.HideIfBlocked = true
att.ActivateElements = {"mag_545_black"}
att.RequireFlags = {"cal_545"}

View File

@ -0,0 +1,37 @@
att.PrintName = "AK-47 10-Round Compact Mag"
att.AbbrevName = "10-Round Compact Mag"
att.Icon = Material("entities/att/ur_ak/magazines/366_10.png", "mips smooth")
att.Description = "Sporting purpose magazine with a very low capacity. The lighter load reduces the weapon's weight significantly."
att.Slot = {"ur_ak_mag"}
att.AutoStats = true
att.SortOrder = 10
att.GivesFlags = {"mag_366"}
att.HideIfBlocked = true
att.Override_ClipSize = 10
att.Mult_SightTime = 0.8
att.Mult_ReloadTime = 0.85
att.Mult_Sway = 0.5
att.Mult_SpeedMult = 1.025
att.Mult_ShootSpeedMult = 1.05
att.Mult_HipDispersion = 0.75
att.Mult_MalfunctionMean = 1.6
att.Hook_SelectReloadAnimation = function(wep, anim)
return anim .. "_10rnd"
end
-- att.Hook_TranslateAnimation = function(wep, anim)
-- if (anim == "fix") then
-- return anim .. "_75"
-- end
-- end
att.ActivateElements = {"mag_762_75"}
att.ExcludeFlags = {"cal_545","cal_9mm","cal_12g","cal_308","cal_556"} -- Includes .366

View File

@ -0,0 +1,43 @@
att.PrintName = "AK-47 75-Round Drum Mag"
att.AbbrevName = "75-Round Drum Mag"
att.Icon = Material("entities/att/ur_ak/magazines/762_75.png", "mips smooth")
att.Description = "Cylindrical drum magazine with capacity for a very large number of rounds, ideal for machine gunners. It is heavy enough to shift the weapon's center of mass, disorienting recoil control in addition to the existing drawbacks of extreme weight. Prone to feeding failures."
att.Slot = {"ur_ak_mag"}
att.Desc_Cons = {"uc.jam"}
att.AutoStats = true
att.SortOrder = 75
att.GivesFlags = {"mag_drum"}
att.HideIfBlocked = true
att.Override_ClipSize = 75
att.Mult_SightTime = 1.3
att.Mult_ReloadTime = 1.25
att.Mult_Sway = 2.5
att.Mult_SpeedMult = 0.9
att.Mult_ShootSpeedMult = 0.8
att.Mult_DrawTime = 1.2
att.Mult_RecoilSide = 1.5
att.Mult_HolsterTime = 1.2
att.Mult_RecoilSide = 1.1
att.Override_Malfunction = true
att.Mult_MalfunctionMean = 0.7
att.Mult_MalfunctionVariance = 1.5
att.Mult_HipDispersion = 1.5
att.Hook_SelectReloadAnimation = function(wep, anim)
return anim .. "_75"
end
att.Hook_TranslateAnimation = function(wep, anim)
if (anim == "fix") then
return anim .. "_75"
end
end
att.ActivateElements = {"mag_762_75"}
att.ExcludeFlags = ArcCW.UR.AKCalFlags

View File

@ -0,0 +1,16 @@
att.PrintName = "30-Round Bakelite Mag"
att.AbbrevName = "30-Round Mag (Bakelite)"
att.Icon = Material("entities/att/ur_ak/magazines/762_b.png", "mips smooth")
att.Description = "Plastic variant of the standard issue magazine. Might suit your taste better."
att.Slot = {"ur_ak_mag"}
att.AutoStats = true
att.Desc_Neutrals = {
"uc.cosmetic",
}
att.SortOrder = 30
att.HideIfBlocked = true
att.ActivateElements = {"mag_762_bakelite"}
att.ExcludeFlags = {"cal_545","cal_9mm","cal_12g","cal_308","cal_556"} -- Includes .366

View File

@ -0,0 +1,16 @@
att.PrintName = "PMAG 30 AK/AKM MOE"
att.AbbrevName = "30-Round PMAG"
att.Icon = Material("entities/att/ur_ak/magazines/762_p.png", "mips smooth")
att.Description = "American aftermarket magazine. The grooves give it a slightly better grip surface, but the difference in practice is negligible."
att.Slot = {"ur_ak_mag"}
att.AutoStats = true
att.Desc_Neutrals = {
"uc.cosmetic",
}
att.SortOrder = 30
att.HideIfBlocked = true
att.ActivateElements = {"mag_762_pmag"}
att.ExcludeFlags = {"cal_545","cal_9mm","cal_12g","cal_308","cal_556"} -- Includes .366

View File

@ -0,0 +1,26 @@
att.PrintName = "100 Series Compensator"
att.Icon = Material("entities/att/ur_ak/muzzle_74m.png", "mips smooth")
att.Description = "Modernized compensator produced for AKs of multiple calibers."
att.AutoStats = true
att.Slot = {"ur_ak_muzzle"}
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Modern Compensator"
att.Description = string.Replace(att.Description,"AKs","KFs") -- so we don't have to change the desc twice
end
att.Mult_Recoil = .95
att.Mult_RecoilSide = .65
att.Add_BarrelLength = 2.5
att.Mult_SightTime = 1.05
att.Mult_Sway = 1.25
att.SortOrder = 999
att.AttachSound = "arccw_uc/common/gunsmith/suppressor_thread.ogg"
att.ActivateElements = {"muzzle_ak74"}
att.ExcludeFlags = {"ak_barrelchange","cal_545","cal_556"}
att.HideIfBlocked = false

View File

@ -0,0 +1,26 @@
att.PrintName = "Slant Muzzle Brake"
att.Icon = Material("entities/att/ur_ak/muzzle_m.png", "mips smooth")
att.Description = "External muzzle brake unique to the AKM and some derivatives. The slant-cut design counters muzzle rise without adding as much weight as a universal compensator."
att.AutoStats = true
att.Slot = {"ur_ak_muzzle"}
if !GetConVar("arccw_truenames"):GetBool() then
att.Description = string.Replace(att.Description,"AKM","AVR-59") -- so we don't have to change the desc twice
end
att.Mult_Recoil = .9
att.Mult_RecoilSide = .95
att.Add_BarrelLength = 1
att.Mult_SightTime = 1.025
att.Mult_Sway = 1.05
att.Mult_ShootVol = 1.1
att.SortOrder = 998
att.AttachSound = "arccw_uc/common/gunsmith/suppressor_thread.ogg"
att.ActivateElements = {"muzzle_akm"}
att.ExcludeFlags = {"ak_barrelchange"}
att.RequireFlags = {"cal_default"}
att.Ignore = true

View File

@ -0,0 +1,29 @@
att.PrintName = "Type 2 Bayonet"
att.Icon = Material("entities/att/ur_ak/acwatt_ur_ak_muzzle_bayonet.png", "mips smooth")
att.Description = "External bayonet unique to early AK-pattern rifles. Wide and sharp, it's a bit bulky but allows for a devastating melee attack."
att.AutoStats = true
att.Slot = {"ur_ak_muzzle"}
att.SortOrder = 997
att.Add_MeleeRange = 16
att.Mult_MeleeDamage = 3.5
att.Mult_MeleeWaitTime = 2
att.Add_BarrelLength = 10
att.Mult_Sway = 1.4
att.Mult_SightTime = 1.1
att.Mult_MeleeTime = 1.1
att.Override_BashPreparePos = Vector(4, -5, -1.8)
att.Override_BashPrepareAng = Angle(-15, -5, -5)
att.Override_BashPos = Vector(-1, 12, 4.5) -- i'm too impatient to not make this bat you in the face with the stock
att.Override_BashAng = Angle(-7, 3, 25)
att.Hook_SelectBashAnim = function(wep,anim)
return "bash_bayonet"
end
att.AttachSound = "arccw_uc/common/gunsmith/suppressor_thread.ogg"
att.ActivateElements = {"muzzle_bayonet"}
att.GivesFlags = {"ak_bayonet2"}
att.ExcludeFlags = {"ak_barrelchange","ak_bayonet1"}

View File

@ -0,0 +1,42 @@
att.PrintName = "AK Polymer Stock"
att.AbbrevName = "Polymer Stock"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "KF Polymer Stock"
end
att.Icon = Material("entities/att/ur_ak/stock/n.png", "mips smooth")
att.Description = [[Full side-folding stock. While extended, it functions similarly to a standard wood stock, albeit with less stability.
Folding the stock boosts mobility and recoil, though not as significantly as skeletal folding stocks.
Toggling this stock modifies performance accordingly.]]
att.AutoStats = true
att.Slot = {"ur_ak_stock"}
att.SortOrder = 1
att.ToggleLockDefault = true
att.ToggleSound = "arccw_uc/common/stockslide.ogg"
att.ExcludeFlags = {"mag_drum"}
att.ToggleStats = {
{
PrintName = "Extended",
Mult_SightTime = 0.95,
Mult_Sway = 1.2,
ActivateElements = {"stock_ak74m"},
AutoStats = true,
},
{
PrintName = "Folded",
Mult_SightTime = 0.85,
Mult_DrawTime = 0.9,
Mult_HolsterTime = 0.9,
Mult_Recoil = 1.25,
Mult_RecoilSide = 1.75,
Mult_SightedSpeedMult = 1.05,
Mult_ShootSpeedMult = 1.05,
Add_BarrelLength = -9,
Mult_Sway = 2.5,
ActivateElements = {"stock_ak74m_folded"},
AutoStats = true,
}
}

View File

@ -0,0 +1,42 @@
att.PrintName = "AK Sidefolding Stock"
att.AbbrevName = "Sidefolding Stock"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "KF Sidefolding Stock"
end
att.Icon = Material("entities/att/ur_ak/stock/fold.png", "mips smooth")
att.Description = [[Side-folding stock found since the 74 series' debut. The triangular structure reduces its compromise on stability, but it is still less effective than a fixed stock. Folding the stock provides massively boosted maneuverability at the cost of severe recoil.
Toggling this stock modifies performance accordingly.]]
att.AutoStats = true
att.Slot = {"ur_ak_stock"}
att.SortOrder = 1
att.ToggleLockDefault = true
att.ToggleSound = "arccw_uc/common/stockslide.ogg"
att.ExcludeFlags = {"mag_drum"}
att.ToggleStats = {
{
PrintName = "Extended",
Mult_SightTime = .8,
Mult_RecoilSide = 1.25,
Mult_Sway = 1.2,
Mult_SightedSpeedMult = 1.05,
ActivateElements = {"stock_aks"},
AutoStats = true,
},
{
PrintName = "Folded",
Mult_SightTime = 0.6,
Mult_DrawTime = 0.85,
Mult_HolsterTime = 0.85,
Mult_Recoil = 1.5,
Mult_RecoilSide = 2,
Mult_SightedSpeedMult = 1.2,
Mult_ShootSpeedMult = 1.15,
Add_BarrelLength = -9,
Mult_Sway = 3,
ActivateElements = {"stock_aks_folded"},
AutoStats = true,
}
}

View File

@ -0,0 +1,19 @@
att.PrintName = "AK SOPMOD Stock"
att.AbbrevName = "Carbine Stock"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "KF SOPMOD Stock"
end
att.Icon = Material("entities/att/ur_ak/stock/helix.png", "mips smooth")
att.Description = "US-made lightweight stock that mounts on an AR buffer tube. More maneuverable than the solid wood stock."
att.Slot = {"ur_ak_stock"}
att.AutoStats = true
att.SortOrder = 2
att.Mult_ShootSpeedMult = 1.1
att.Mult_SightedSpeedMult = 1.15
att.Mult_RecoilSide = 1.5
att.Mult_Sway = 1.25
att.Add_BarrelLength = -2
att.ActivateElements = {"stock_alpha"}

View File

@ -0,0 +1,22 @@
att.PrintName = "No Stock"
att.Icon = Material("arccw/hud/atts/default.png", "mips smooth")
att.Description = "You see Ivan, when take buttstock off rifle, you stronger than recoil for fear of hitting face."
-- att.Description = "Buttstock? What are you, Western capitalist WEAKLING? Real comrades channel strength of Siberian bear and shoot Kalashnikov without stock; withstand kick harder than 20 bottles of vodka."
att.Slot = {"ur_ak_stock"}
att.AutoStats = true
att.Free = true
att.SortOrder = -1
att.Mult_SightTime = 0.5
att.Mult_DrawTime = 0.6
att.Mult_HolsterTime = 0.6
att.Mult_Recoil = 1.65
att.Mult_RecoilSide = 1.95
att.Mult_SightedSpeedMult = 1.25
att.Mult_SpeedMult = 1.1
att.Mult_ShootSpeedMult = 1.15
att.Add_BarrelLength = -9
att.Mult_Sway = 3
att.ActivateElements = {"stock_none"}

View File

@ -0,0 +1,18 @@
att.PrintName = "AK Clubfoot Stock"
att.AbbrevName = "Clubfoot Stock"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "KF Clubfoot Stock"
end
att.Icon = Material("entities/att/ur_ak/stock/rpk.png", "mips smooth")
att.Description = "Heavy-duty machine gun stock, designed with prone shooting in mind. It has more mass than the factory stock, but is generally more comfortable to aim and shoot with."
att.Slot = {"ur_ak_stock"}
att.AutoStats = true
att.SortOrder = 3
att.Mult_Recoil = .85
att.Mult_Sway = .75
att.Mult_SightTime = 1.1
att.Mult_SpeedMult = .9
att.ActivateElements = {"stock_rpk"}

View File

@ -0,0 +1,21 @@
att.PrintName = "Skeletal Stock"
att.Icon = Material("entities/att/ur_ak/stock/saiga.png", "mips smooth")
att.Description = [[Lightens the weapon by reducing mass in the stock. Unlike other skeletal stocks for this platform, this stock cannot be folded.]]
att.AutoStats = true
att.Slot = {"ur_ak_stock"}
att.SortOrder = 2
att.Mult_SightTime = .8
att.Mult_SightedSpeedMult = 1.1
att.Mult_SpeedMult = 1.05
att.Mult_Sway = 1.1
att.Mult_Recoil = 1.35
att.Mult_RecoilSide = 1.15
att.ActivateElements = {"stock_skeletal"}
att.Ignore = true
att.Icon = Material("entities/att/obsolete.png", "mips smooth")
att.Description = "stop looking at deprecated shit you suka"

View File

@ -0,0 +1,15 @@
att.PrintName = "Type 3 Slanted Stock"
att.AbbrevName = "Slanted Stock"
att.Icon = Material("entities/att/ur_ak/stock/3.png", "mips smooth")
att.Description = "A solid, slanted stock that eases handling. The slant design has a lowered cheek rest, which can impede accuracy."
att.Slot = {"ur_ak_stock"}
att.AutoStats = true
att.SortOrder = 4
att.Mult_Recoil = .9
att.Mult_SightTime = .95
att.Mult_Sway = 1.25
att.Mult_HipDispersion = 1.05
att.ActivateElements = {"stock_akn"}

View File

@ -0,0 +1,43 @@
att.PrintName = "AK Underfolding Stock"
att.AbbrevName = "Underfolding Stock"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "KF Underfolding Stock"
end
att.Icon = Material("entities/att/ur_ak/stock/under.png", "mips smooth")
att.Description = [[Folding stock of the AKS-47. While not as stable as a full wood stock, it is much lighter. Folding the stock provides massively boosted maneuverability at the cost of severe recoil.
Toggling this stock modifies performance accordingly.]]
att.AutoStats = true
att.Slot = {"ur_ak_stock"}
att.SortOrder = 1
att.ToggleLockDefault = true
att.ToggleSound = "arccw_uc/common/stockslide.ogg"
att.ToggleStats = {
{
PrintName = "Extended",
Mult_SightTime = .8,
Mult_RecoilSide = 1.35,
Mult_Sway = 1.25,
Mult_SightedSpeedMult = 1.1,
Mult_SpeedMult = 1.025,
ActivateElements = {"stock_underfolder"},
AutoStats = true,
},
{
PrintName = "Folded",
Mult_SightTime = 0.6,
Mult_DrawTime = 0.85,
Mult_HolsterTime = 0.85,
Mult_Recoil = 1.5,
Mult_RecoilSide = 2,
Mult_SightedSpeedMult = 1.2,
Mult_ShootSpeedMult = 1.15,
Add_BarrelLength = -9,
Mult_Sway = 3,
ActivateElements = {"stock_underfolder_folded"},
AutoStats = true,
}
}

View File

@ -0,0 +1,23 @@
att.PrintName = "AK Thumbhole Stock"
att.AbbrevName = "Thumbhole Stock"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "KF Thumbhole Stock"
end
att.Icon = Material("entities/att/ur_ak/stock/vepr.png", "mips smooth")
att.Description = "Marksman stock with integrated grip. The thumbhole design provides unparalleled stability."
att.Slot = {"ur_ak_stock"}
att.AutoStats = true
att.Desc_Cons = {
"uc.nogrip"
}
att.SortOrder = 3
att.Mult_Recoil = 0.85
att.Mult_Sway = 0.5
att.Mult_SightTime = 1.15
att.Mult_SpeedMult = 0.95
att.Mult_SightedSpeedMult = 0.8
att.ActivateElements = {"stock_vepr"}
att.GivesFlags = {"stock_vepr"}

View File

@ -0,0 +1,29 @@
att.PrintName = "AW 27\" Magnum Barrel"
att.AbbrevName = "27\" Magnum Barrel"
att.Icon = Material("entities/att/ur_aw/bar_long.png", "mips smooth")
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "AP 27\" Magnum Barrel"
end
--att.Icon = Material("entities/att/acwatt_ud_mini14_barrel_long.png", "smooth mips")
att.SortOrder = 27
att.Description = "Lengthened fluted-steel barrel used with high-caliber setups for enhanced muzzle velocity and recoil reduction."
att.Desc_Pros = {
}
att.Desc_Cons = {
}
att.Desc_Neutrals = {
}
att.Slot = "ur_aw_barrel"
att.Mult_Range = 1.1
att.Mult_Recoil = .8
att.Mult_SightTime = 1.15
att.Mult_Sway = 1.25
att.Add_BarrelLength = 3
att.AutoStats = true
att.ActivateElements = {"barrel_long"}

View File

@ -0,0 +1,33 @@
att.PrintName = "AWS 28\" Suppressed Barrel"
att.AbbrevName = "28\" SD Barrel"
att.Icon = Material("entities/att/ur_aw/bar_sup.png", "mips smooth")
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "APS 28\" SD Barrel"
end
--att.Icon = Material("entities/att/acwatt_ud_mini14_barrel_long.png", "smooth mips")
att.SortOrder = 28
att.Description = "Integrally suppressed barrel for the Arctic Warfare, designed for use with subsonic ammunition. Very effective for noise reduction, but reduces effective range.\nIncompatible with magnum ammunition."
att.Desc_Pros = {
}
att.Desc_Cons = {
"uc.nomuzzle"
}
att.Desc_Neutrals = {
}
att.Slot = "ur_aw_barrel"
att.Silencer = true
att.Override_MuzzleEffect = "muzzleflash_suppressed"
att.Mult_ShootPitch = 1.1
att.Mult_ShootVol = 0.6
att.Mult_Range = .85
att.Add_BarrelLength = 3
att.Mult_SightedSpeedMult = 0.85
att.AutoStats = true
att.ExcludeFlags = {"mag_338","mag_300"}
att.ActivateElements = {"barrel_sd"}
att.GivesFlags = {"barrel_sd"}

View File

@ -0,0 +1,31 @@
att.PrintName = "AT 20\" Shortened Barrel"
att.AbbrevName = "20\" Shortened Barrel"
att.Icon = Material("entities/att/ur_aw/bar_short.png", "mips smooth")
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "AP 20\" Shortened Barrel"
end
--att.Icon = Material("entities/att/acwatt_ud_mini14_barrel_long.png", "smooth mips")
att.SortOrder = 20
att.Description = "Custom-tooled \"close-quarters\" barrel that compromises long-range performance, but reduces forward weight significantly."
att.Desc_Pros = {
}
att.Desc_Cons = {
}
att.Desc_Neutrals = {
}
att.Slot = "ur_aw_barrel"
att.Mult_SightTime = 0.75
att.Mult_Sway = 0.5
att.Mult_HipDispersion = 0.5
att.Mult_SpeedMult = 1.05
att.Add_BarrelLength = -4
att.Mult_Range = 0.3
att.Mult_AccuracyMOA = 4
att.Mult_Recoil = 1.25
att.AutoStats = true
att.ActivateElements = {"barrel_short"}

View File

@ -0,0 +1,80 @@
att.PrintName = "AWM .300 Winchester Magnum Receiver"
att.AbbrevName = ".300 Winchester Magnum"
att.Icon = Material("entities/att/uc_bullets/300winchester.png", "mips smooth")
att.Description = "Versatile magnum cartridge identical in diameter to 7.62x51mm rounds but with significantly higher muzzle energy. Liable to overpenetration at close range."
att.Slot = "ur_aw_cal"
att.Desc_Pros = {
--"ur.aw.velocity"
}
att.AutoStats = true
att.Mult_Damage = 50 / 80
att.Mult_DamageMin = 90 / 50
--att.Mult_Range = 2
att.Override_Range = 50
att.Override_RangeMin = 10
att.Mult_PhysBulletMuzzleVelocity = 1000 / 850
-- att.Override_PhysBulletMuzzleVelocity = 1000
att.Mult_Penetration = 1.25
att.Mult_Recoil = 1.5
att.Mult_ReloadTime = 5.55 / 5.15
att.Mult_ShootSpeedMult = 0.9
local path = ")weapons/arccw_ur/aw_placeholders/338/"
local path1 = ")weapons/arccw_ur/aw_placeholders/"
local fire300 = {path .. "fire-300-01.ogg",path .. "fire-300-02.ogg",path .. "fire-300-03.ogg",path .. "fire-300-04.ogg",path .. "fire-300-05.ogg",path .. "fire-300-06.ogg"}
local fire300sup = {path1 .. "fire-sup-01.ogg",path1 .. "fire-sup-02.ogg",path1 .. "fire-sup-03.ogg",path1 .. "fire-sup-04.ogg",path1 .. "fire-sup-05.ogg",path1 .. "fire-sup-06.ogg"}
att.Hook_GetShootSound = function(wep, sound)
if wep:GetBuff_Override("Silencer") then
return fire300sup
else
return fire300
end
end
local tail = ")/arccw_uc/common/338lm/"
local fire338dist = {tail .. "fire-dist-338lm-rif-ext-01.ogg", tail .. "fire-dist-338lm-rif-ext-02.ogg", tail .. "fire-dist-338lm-rif-ext-03.ogg", tail .. "fire-dist-338lm-rif-ext-04.ogg", tail .. "fire-dist-338lm-rif-ext-05.ogg", tail .. "fire-dist-338lm-rif-ext-06.ogg"}
local fire338distint = {tail .. "fire-dist-338lm-rif-int-01.ogg", tail .. "fire-dist-338lm-rif-int-02.ogg", tail .. "fire-dist-338lm-rif-int-03.ogg", tail .. "fire-dist-338lm-rif-int-04.ogg", tail .. "fire-dist-338lm-rif-int-05.ogg", tail .. "fire-dist-338lm-rif-int-06.ogg"}
att.Hook_GetDistantShootSoundOutdoors = function(wep, distancesound)
if wep:GetBuff_Override("Silencer") then
-- fallback to script
else
return fire338dist
end
end
att.Hook_GetDistantShootSoundIndoors = function(wep, distancesound)
if wep:GetBuff_Override("Silencer") then
-- fallback to script
else
return fire338distint
end
end
att.Hook_SelectReloadAnimation = function(wep, anim)
return anim .. "_338"
end
-- local slotinfo = {
-- [5] = {"5-Round Mag", "5-Round Mag", Material("entities/att/ur_aw/mag338_5.png", "mips smooth")},
-- }
-- att.Hook_GetDefaultAttIcon = function(wep, slot)
-- if slotinfo[slot] then
-- return slotinfo[slot][3]
-- end
-- end
att.Override_Trivia_Calibre = ".300 Winchester Magnum"
att.Override_ShellModel = "models/weapons/arccw/ud_shells/338.mdl"
att.Override_Ammo = "SniperPenetratedRound"
att.GivesFlags = {"mag_300"}
--att.ActivateElements = {"mag_338"}

View File

@ -0,0 +1,82 @@
att.PrintName = "AWM .338 Lapua Magnum Receiver"
att.AbbrevName = ".338 Lapua Magnum"
att.Icon = Material("entities/att/uc_bullets/338lapua.png", "mips smooth")
att.Description = "Powerful sniper cartridge that exerts substantially more muzzle energy, practically guaranteed to be fatal on a successful hit beyond point blank. The recoil is tremendous, and the lengthened bolt required to accommodate the cartridge is harder to cycle."
att.Slot = "ur_aw_cal"
att.AutoStats = true
att.Desc_Pros = {
--"ur.aw.velocity"
}
att.Desc_Cons = {
"Disables Magazine attachments"
}
--att.Mult_Damage = 85 / 80
att.Mult_DamageMin = 160 / 50
--att.Mult_Range = 2
att.Override_Range = 100
att.Override_RangeMin = 20
att.Mult_PhysBulletMuzzleVelocity = 950 / 850
att.Mult_Penetration = 2
att.Mult_Recoil = 2
att.Mult_CycleTime = 1.24
att.Mult_ReloadTime = 5.55 / 5.15
att.Mult_ShootSpeedMult = 0.8
local path = ")weapons/arccw_ur/aw_placeholders/338/"
local path1 = ")weapons/arccw_ur/aw_placeholders/"
local fire338 = {path .. "fire-01.ogg",path .. "fire-02.ogg",path .. "fire-03.ogg",path .. "fire-04.ogg",path .. "fire-05.ogg",path .. "fire-06.ogg"}
local fire338sup = {path1 .. "fire-sup-01.ogg",path1 .. "fire-sup-02.ogg",path1 .. "fire-sup-03.ogg",path1 .. "fire-sup-04.ogg",path1 .. "fire-sup-05.ogg",path1 .. "fire-sup-06.ogg"}
att.Hook_GetShootSound = function(wep, sound)
if wep:GetBuff_Override("Silencer") then
return fire338sup
else
return fire338
end
end
local tail = ")/arccw_uc/common/338lm/"
local fire338dist = {tail .. "fire-dist-338lm-rif-ext-01.ogg", tail .. "fire-dist-338lm-rif-ext-02.ogg", tail .. "fire-dist-338lm-rif-ext-03.ogg", tail .. "fire-dist-338lm-rif-ext-04.ogg", tail .. "fire-dist-338lm-rif-ext-05.ogg", tail .. "fire-dist-338lm-rif-ext-06.ogg"}
local fire338distint = {tail .. "fire-dist-338lm-rif-int-01.ogg", tail .. "fire-dist-338lm-rif-int-02.ogg", tail .. "fire-dist-338lm-rif-int-03.ogg", tail .. "fire-dist-338lm-rif-int-04.ogg", tail .. "fire-dist-338lm-rif-int-05.ogg", tail .. "fire-dist-338lm-rif-int-06.ogg"}
att.Hook_GetDistantShootSoundOutdoors = function(wep, distancesound)
if wep:GetBuff_Override("Silencer") then
-- fallback to script
else
return fire338dist
end
end
att.Hook_GetDistantShootSoundIndoors = function(wep, distancesound)
if wep:GetBuff_Override("Silencer") then
-- fallback to script
else
return fire338distint
end
end
att.Hook_SelectReloadAnimation = function(wep, anim)
return anim .. "_338"
end
local slotinfo = {
[5] = {"5-Round Mag", "5-Round Mag", Material("entities/att/ur_aw/mag338_5.png", "mips smooth")},
}
att.Hook_GetDefaultAttIcon = function(wep, slot)
if slotinfo[slot] then
return slotinfo[slot][3]
end
end
att.Override_Trivia_Calibre = ".338 Lapua Magnum"
att.Override_ShellModel = "models/weapons/arccw/ud_shells/338.mdl"
att.Override_Ammo = "SniperPenetratedRound"
att.GivesFlags = {"mag_338"}
att.ActivateElements = {"mag_338"}

View File

@ -0,0 +1,39 @@
att.PrintName = "AW 10-Round Extended Mag"
att.AbbrevName = "10-Round Extended Mag"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "AP 10-Round Extended Mag"
end
att.SortOrder = 10
att.Icon = Material("entities/att/ur_aw/mag308_10.png", "mips smooth")
att.Description = "Extended magazine for the Arctic Warfare. The extra rounds add weight to the magazine, but allow for twice as many shots to be taken between reloads."
att.Desc_Pros = {}
att.Desc_Neutrals = {}
att.Slot = "ur_aw_mag"
att.AutoStats = true
att.HideIfBlocked = true
att.Override_ClipSize = 10
att.Desc_Cons = {
--"+ Reload time"
}
att.Mult_SightTime = 1.25
att.Mult_ReloadTime = 5.675 / 5.15 -- compensation for longer anim length
att.Mult_Sway = 1.25
att.Mult_SpeedMult = 0.975
att.Mult_ShootSpeedMult = 0.95
att.Mult_HipDispersion = 1.25
att.ActivateElements = {"mag_ext"}
att.Hook_SelectReloadAnimation = function(wep, anim)
return anim .. "_10"
end
att.ExcludeFlags = {"mag_338","mag_300"}

View File

@ -0,0 +1,38 @@
att.PrintName = "AWM .300 10-Round Extended Mag"
att.AbbrevName = "10-Round Extended Mag"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "AP 10-Round Extended Mag"
end
att.SortOrder = 10
att.Icon = Material("entities/att/ur_aw/mag338_10.png", "mips smooth")
att.Description = "Extended magazine for the Arctic Warfare. The extra rounds add weight to the magazine, but allow for twice as many shots to be taken between reloads."
att.Desc_Pros = {}
att.Desc_Cons = {}
att.Desc_Neutrals = {}
att.Slot = "ur_aw_mag"
att.AutoStats = true
att.HideIfBlocked = true
att.Override_ClipSize = 10
att.Mult_SightTime = 1.25
att.Mult_ReloadTime = 6 / 5.55
att.Mult_Sway = 1.25
att.Mult_SpeedMult = 0.975
att.Mult_ShootSpeedMult = 0.95
att.Mult_HipDispersion = 1.25
att.ActivateElements = {"mag_ext_338"}
att.Hook_SelectReloadAnimation = function(wep, anim)
return anim .. "_10_338"
end
att.RequireFlags = {"mag_300"}
att.ExcludeFlags = {"mag_308"}

View File

@ -0,0 +1,19 @@
att.PrintName = "AI Muzzle Brake"
att.Icon = Material("entities/att/ur_aw/muzzle.png", "mips smooth")
att.Description = "Light muzzle brake unique to the AW platform."
att.AutoStats = true
att.Slot = {"ur_aw_muzzle"}
att.Mult_Recoil = .9
att.Mult_RecoilSide = .9
att.Add_BarrelLength = 2
att.Mult_SightTime = 1.05
att.Mult_Sway = 1.05
att.SortOrder = 999
att.AttachSound = "arccw_uc/common/gunsmith/suppressor_thread.ogg"
att.Model = "models/weapons/arccw/ur_aw_muzzle.mdl"
att.ModelScale = Vector(2/3,2/3,2/3)
att.ModelOffset = Vector(0,0,-.075)

View File

@ -0,0 +1,21 @@
att.PrintName = "AI Ironsight Brake"
att.Icon = Material("entities/att/ur_aw/muzzle_sights.png", "mips smooth")
att.Description = "Light muzzle brake unique to the AW platform.\n\nEquips alternative \"compact\" iron sights."
att.AutoStats = true
att.Slot = {"ur_aw_muzzle"}
att.Mult_Recoil = .9
att.Mult_RecoilSide = .9
att.Add_BarrelLength = 2
att.Mult_SightTime = 1.05
att.Mult_Sway = 1.05
att.SortOrder = 998
att.AttachSound = "arccw_uc/common/gunsmith/suppressor_thread.ogg"
att.Model = "models/weapons/arccw/ur_aw_muzzlesight.mdl"
att.ModelScale = Vector(2/3,2/3,2/3)
att.ModelOffset = Vector(0,0,-.075)
att.GivesFlags = {"sights_compact"}

View File

@ -0,0 +1,12 @@
att.PrintName = "Black Finish"
att.Icon = Material("entities/att/ur_aw/skin_black.png", "mips smooth")
--att.Icon = Material("entities/att/acwatt_ur_deagle_finish_chrome.png","mips smooth")
att.Description = "As used by law enforcement, or those lacking a father figure."
att.Slot = "ur_aw_skin"
att.Desc_Neutrals = {
"uc.cosmetic"
}
att.SortOrder = 2
att.IgnorePickX = true
att.ActivateElements = {"skin_black"}

View File

@ -0,0 +1,13 @@
att.PrintName = "Custom Finish"
att.AbbrevName = "Custom"
att.Icon = Material("entities/att/ur_aw/skin_rainbow.png", "mips smooth")
att.Description = "A customizable finish. Let your imagination run wild."
att.Slot = "ur_aw_skin"
att.Desc_Neutrals = {
"uc.cosmetic",
"uc.custcolor",
}
att.SortOrder = 1
att.IgnorePickX = true
att.ActivateElements = {"skin_cust"}

View File

@ -0,0 +1,12 @@
att.PrintName = "Flat Dark Earth Finish"
att.AbbrevName = "Flat Dark Earth"
att.Icon = Material("entities/att/ur_aw/skin_tan.png", "mips smooth")
att.Description = "The fury of the sandstorm, realized."
att.Slot = "ur_aw_skin"
att.Desc_Neutrals = {
"uc.cosmetic"
}
att.SortOrder = 1
att.IgnorePickX = true
att.ActivateElements = {"skin_tan"}

View File

@ -0,0 +1,14 @@
att.PrintName = "Tactical Stock"
att.Description = "Variant folding stock with a pistol grip design. Lighter and perhaps more comfortable, but not as sturdy."
att.Icon = Material("entities/att/ur_aw/stock_at.png", "mips smooth")
att.Slot = {"ur_aw_stock"}
att.AutoStats = true
att.SortOrder = 3
att.Mult_SightTime = .85
att.Mult_Sway = 1.25
att.Mult_Recoil = 1.1
att.ActivateElements = {"stock_at"}
att.GivesFlags = {"pistolgrip"}

View File

@ -0,0 +1,12 @@
att.PrintName = "Fixed Stock"
att.Description = "Variant, one-piece stock without a hinge for folding. More rigid than side-folding stocks, but the lack of folding makes it harder to conceal."
att.Icon = Material("entities/att/ur_aw/stock_nonfold.png", "mips smooth")
att.Slot = {"ur_aw_stock"}
att.AutoStats = true
att.SortOrder = 3
att.Mult_Sway = .85
att.Mult_DrawTime = 1.2
att.ActivateElements = {"stock_fixed"}

View File

@ -0,0 +1,22 @@
att.PrintName = "No Stock"
att.Description = "Your wrists may never function again."
att.Icon = Material("entities/att/ur_aw/stock_removed.png", "mips smooth")
att.Slot = {"ur_aw_stock"}
att.AutoStats = true
att.Free = true
att.SortOrder = -1
att.Mult_SightTime = 0.75
att.Mult_DrawTime = 0.6
att.Mult_HolsterTime = 0.6
att.Mult_Recoil = 2.5
att.Mult_RecoilSide = 1.55
att.Mult_SightedSpeedMult = 1.25
att.Mult_SpeedMult = 1.1
att.Mult_ShootSpeedMult = 1.15
att.Add_BarrelLength = -9
att.Mult_Sway = 3.5
att.ActivateElements = {"stock_none"}
att.GivesFlags = {"pistolgrip"}

View File

@ -0,0 +1,23 @@
att.PrintName = "RU556 Fixed-Adjustable Stock"
att.AbbrevName = "Fixed-Adjustable Stock"
att.Icon = Material("entities/att/ur_aw/stock_ru.png", "mips smooth")
if GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Magpul UBR GEN2 Stock"
end
att.Description = "Polymer stock designed for assault rifles. Unstable, but provides much-needed mobility."
att.Slot = {"ur_aw_stock"}
att.AutoStats = true
att.SortOrder = 2.1
att.Mult_SpeedMult = 1.08
att.Mult_MoveDispersion = .6
att.Mult_SightTime = .9
att.Mult_Sway = 1.5
att.Mult_RecoilSide = 1.5
att.ActivateElements = {"stock_ru"}
att.GivesFlags = {"pistolgrip"}

View File

@ -0,0 +1,21 @@
att.PrintName = "RU556 Fixed-Adjustable Stock (Rubberized)"
att.AbbrevName = "Rubberized Carbine Stock"
att.Icon = Material("entities/att/ur_aw/stock_rurubber.png", "mips smooth")
if GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Magpul UBR GEN2 Stock (Rubberized)"
end
att.Description = "Polymer stock designed for assault rifles. Rubber accents reduce the impact on aim sway, but weigh the stock down."
att.Slot = {"ur_aw_stock"}
att.AutoStats = true
att.SortOrder = 2
att.Mult_MoveDispersion = .6
att.Mult_Sway = 1.25
att.Mult_RecoilSide = 1.2
att.ActivateElements = {"stock_ru_rubber"}
att.GivesFlags = {"pistolgrip"}

View File

@ -0,0 +1,24 @@
att.PrintName = "IZh-58 18\" Coach Gun Barrel"
att.AbbrevName = "18\" Coach Gun Barrel"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Volga SuperShotgun 18\" Coach Gun Barrel"
end
att.Icon = Material("entities/att/ur_dbs/bcomp.png","smooth mips")
att.Description = "Named for use by private guards aboard stagecoaches in the Wild West, its short length is ideal for small rooms, though not quite as ideal at any longer distances."
att.Slot = {"ur_db_barrel"}
att.AutoStats = true
att.Mult_Sway = .75
att.Add_BarrelLength = -9
att.Mult_SightTime = .9
att.Mult_HipDispersion = 0.8
att.Mult_Recoil = 1.2
att.Mult_AccuracyMOA = 1.25
att.Mult_Range = .85
att.ActivateElements = {"barrel_compact"}
att.SortOrder = 18

View File

@ -0,0 +1,25 @@
att.PrintName = "IZh-58 22\" Trimmed Barrel"
att.AbbrevName = "22\" Trimmed Barrel"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Volga SuperShotgun 22\" Trimmed Barrel"
end
att.Icon = Material("entities/att/ur_dbs/bmid.png","smooth mips")
att.Description = "Take off just a bit of the barrel for an edge in close-quarters while maintaining as much performance as possible."
att.Slot = {"ur_db_barrel"}
att.AutoStats = true
att.SortOrder = 22
att.Mult_Sway = .85
att.Add_BarrelLength = -4
att.Mult_SightTime = 0.95
att.Mult_HipDispersion = 0.9
att.Mult_Recoil = 1.1
att.Mult_AccuracyMOA = 1.1
att.Mult_Range = 0.9
att.ActivateElements = {"barrel_mid"}

View File

@ -0,0 +1,29 @@
att.PrintName = "IZh-58 12\" Sawed-off Barrel"
att.AbbrevName = "12\" Sawed-off Barrel"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Volga SuperShotgun 12\" Sawed-off Barrel"
end
att.Icon = Material("entities/att/ur_dbs/bsw.png","smooth mips")
att.Description = "Sawed-off barrel, often associated with outlaws. Enhances portability and looks the part for hunting unholy creatures."
att.Slot = {"ur_db_barrel"}
att.AutoStats = true
att.SortOrder = 12
att.Add_BarrelLength = -16
att.Mult_Sway = .6
att.Mult_SightTime = .85
att.Mult_DrawTime = .85
att.Mult_HolsterTime = .85
att.Mult_SpeedMult = 1.03
att.Mult_HipDispersion = 0.75
att.Mult_Recoil = 1.4
att.Mult_AccuracyMOA = 2
att.Mult_Range = .65
att.ActivateElements = {"barrel_sw"}
att.GivesFlags = {"sawnoff"}

View File

@ -0,0 +1,34 @@
att.PrintName = "IZh-58 10\" Jury-rigged Barrel"
att.AbbrevName = "10\" Jury-rigged Barrel"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Volga SuperShotgun 10\" Jury-rigged Barrel"
end
att.Icon = Material("entities/att/ur_dbs/bswp.png","smooth mips")
att.Description = "So cut down that you need a custom handguard to go with it. Reduces the weapon to a pistol-like profile, ruining accuracy."
att.Slot = {"ur_db_barrel"}
att.AutoStats = true
att.ModelOffset = Vector(-21, -2.2, 8.3)
att.Model = "models/weapons/arccw/ur_g3_lhik_slim.mdl"
att.LHIK = true
att.SortOrder = 10
att.Add_BarrelLength = -20
att.Mult_Sway = .5
att.Mult_SightTime = .75
att.Mult_DrawTime = .75
att.Mult_HolsterTime = .75
att.Mult_SpeedMult = 1.05
att.Mult_HipDispersion = 0.5
att.Mult_Recoil = 1.5
att.Mult_AccuracyMOA = 2.5
att.Mult_Range = .5
att.ActivateElements = {"barrel_swplus"}
att.GivesFlags = {"sawnoff"}

View File

@ -0,0 +1,23 @@
att.PrintName = "Custom Extractor"
att.Icon = nil--Material("entities/att/acwatt_ur_dbs_tp_doom.png", "smooth mips")
att.Description = "Install a heavy aftermarket extractor to speeden reloads."
att.Desc_Pros = {
"Speeds up reloads"
}
att.Desc_Cons = {
}
att.Desc_Neutrals = {
}
att.Slot = "uc_db_fg"
att.AutoStats = true
att.SortOrder = 999
att.Mult_SightTime = 1.14
att.Mult_MoveSpeed = 0.92
att.Hook_SelectReloadAnimation = function(wep, anim)
return anim .. "_extractor"
end
att.AttachSound = "arccw_uc/common/gunsmith/internal_modification.ogg"

View File

@ -0,0 +1,30 @@
att.PrintName = "IZh-58 Sawed-off Stock"
att.AbbrevName = "Sawed-off Stock"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Volga SuperShotgun Sawed-off Stock"
end
att.Icon = Material("entities/att/ur_dbs/ssw.png","smooth mips")
att.Description = "You can keep it under your trenchcoat now."
att.Slot = {"ur_db_stock"}
att.AutoStats = true
att.Free = true
att.SortOrder = -1
att.Mult_SpeedMult = 1.05
att.Mult_SightTime = 0.75
att.Mult_DrawTime = 0.75
att.Mult_HolsterTime = 0.75
att.Mult_Recoil = 1.4
att.Mult_RecoilSide = 1.25
att.Mult_SightedSpeedMult = 1.2
att.Mult_ShootSpeedMult = 1.15
att.Add_BarrelLength = -12
att.Mult_Sway = 3
att.ActivateElements = {"stock_sw"}

View File

@ -0,0 +1,28 @@
att.PrintName = "The Slayer"
att.Icon = Material("entities/att/acwatt_ur_dbs_tp_doom.png", "smooth mips")
att.Description = "They are rage, brutal, without mercy. But you. You will be worse."
att.Desc_Pros = {
}
att.Desc_Cons = {
}
att.Desc_Neutrals = {
"uc.cosmetic"
}
att.Slot = "uc_db_tp"
att.AutoStats = true
att.SortOrder = 999
att.LHIK = true
att.LHIKHide = false
att.Override_ActivePos = Vector(-1.5, 0, 1.2)
att.Override_ActivePos_Priority = 10
att.Override_ActiveAng = Angle(0, -0.5, 3)
att.Override_ActiveAng_Priority = 10
att.Free = true
att.IgnorePickX = true
att.RequireFlags = {"sawnoff", "ur_dbs_stock_sawedoff", "uc_tp_gong"}
att.HideIfBlocked = true

View File

@ -0,0 +1,27 @@
att.PrintName = "6.75\" Desert Eagle Annihilator Barrel"
att.AbbrevName = "6.75\" Annihilator Barrel"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "6.75\" Predator Annihilator Barrel"
end
att.Icon = Material("entities/att/acwatt_ur_deagle_barrel_annihilator.png","smooth mips")
att.Description = "Heavily modified barrel with gilded parts and an oversized integral muzzle brake. Effects are exacerbated, and the sheer volume of vented gas can get disorienting."
att.Slot = "ur_deagle_barrel"
att.AutoStats = true
att.Desc_Cons = {
"+150% Visual recoil",
--"uc.nomuzzle"
}
att.SortOrder = 6
att.Mult_Recoil = 0.8
att.Mult_RecoilSide = 0.6
att.Mult_VisualRecoilMult = 2.5
att.Mult_ShootVol = 1.2
att.Mult_Range = 0.8
att.Mult_ShootPitch = 0.95
att.Mult_SightedSpeedMult = 1.05
att.Mult_AccuracyMOA = 1.15
att.Mult_RPM = .8
--att.ActivateElements = {"ur_deagle_barrel_annihilator"}
att.GivesFlags = {"barrel_annihilator"}

View File

@ -0,0 +1,22 @@
att.PrintName = "5.5\" Desert Eagle Compact Barrel"
att.AbbrevName = "5.5\" Compact Barrel"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "5.5\" Predator Compact Barrel"
end
att.Icon = Material("entities/att/acwatt_ur_deagle_barrel_compact.png","smooth mips")
att.Description = "Aftermarket reduced barrel that enhances concealability and ergonomics at the cost of ranged performance."
att.Slot = "ur_deagle_barrel"
att.AutoStats = true
att.SortOrder = 5.5
att.Mult_AccuracyMOA = 1.25
att.Mult_Range = 0.9
att.Mult_SightTime = 0.9
att.Mult_Sway = 0.8
att.Add_BarrelLength = -2
att.Mult_HipDispersion = 0.95
att.Mult_DrawTime = 0.9
att.Mult_HolsterTime = 0.9
att.ActivateElements = {"ur_deagle_barrel_compact"}

View File

@ -0,0 +1,25 @@
att.PrintName = "6\" Desert Eagle Compensated Barrel"
att.AbbrevName = "6\" Compensated Barrel"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "6\" Predator Compensated Barrel"
end
att.Icon = Material("entities/att/acwatt_ur_deagle_barrel_compensated.png","smooth mips")
att.Description = "Barrel with an integral muzzle brake. Redirects propellant gases to stabilize the weapon's heavy recoil, but the reduced volume of gas directed to the bolt mechanism results in a lower cyclic rate."
att.Slot = "ur_deagle_barrel"
att.AutoStats = true
att.Desc_Cons = {
--"uc.nomuzzle"
}
att.SortOrder = 6
att.Mult_Recoil = 0.85
att.Mult_RecoilSide = 0.75
--att.Mult_VisualRecoilMult = 1.5
att.Mult_ShootVol = 1.1
att.Mult_Range = 0.95
att.Mult_ShootPitch = 0.95
--att.Mult_SightedSpeedMult = .9
att.Mult_RPM = .9
--att.ActivateElements = {"ur_deagle_barrel_compen", "tac_rail"}
att.GivesFlags = {"barrel_annihilator"}

View File

@ -0,0 +1,24 @@
att.PrintName = "7\" Desert Eagle Extended Barrel"
att.AbbrevName = "7\" Extended Barrel"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "7\" Predator Extended Barrel"
end
att.Icon = Material("entities/att/acwatt_ur_deagle_barrel_long.png","smooth mips")
att.Description = "Slightly extended barrel that provides extra counterweight in addition to marginal ballistic enhancements."
att.Slot = "ur_deagle_barrel"
att.AutoStats = true
att.SortOrder = 7
att.Mult_AccuracyMOA = 0.8
att.Mult_Range = 1.25
att.Mult_Recoil = 0.9
att.Mult_SightTime = 1.1
att.Mult_Sway = 1.15
att.Mult_HipDispersion = 1.1
att.Add_BarrelLength = 4
att.Mult_DrawTime = 1.25
att.Mult_HolsterTime = 1.25
att.ActivateElements = {"ur_deagle_barrel_ext"}

View File

@ -0,0 +1,25 @@
att.PrintName = "10\" Desert Eagle Marksman Barrel"
att.AbbrevName = "10\" Marksman Barrel"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "10\" Predator Marksman Barrel"
end
att.Icon = Material("entities/att/acwatt_ur_deagle_barrel_police.png","smooth mips")
att.Description = "Elongated barrel for niche mid-range roles. Especially front-heavy."
att.Slot = "ur_deagle_barrel"
att.AutoStats = true
att.SortOrder = 10
att.Mult_AccuracyMOA = 0.5
att.Mult_Range = 2
att.Mult_Recoil = 0.75
att.Mult_SightTime = 1.25
att.Mult_Sway = 1.25
att.Mult_ShootPitch = 0.9
att.Mult_HipDispersion = 1.2
att.Add_BarrelLength = 10
att.Mult_DrawTime = 1.5
att.Mult_HolsterTime = 1.5
att.ActivateElements = {"ur_deagle_barrel_marksman"}

View File

@ -0,0 +1,12 @@
att.PrintName = "6\" Desert Eagle Mark XIX Barrel"
att.AbbrevName = "6\" Modern Barrel"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "6\" Predator Modern Barrel"
end
att.Icon = Material("entities/att/acwatt_ur_deagle_barrel_modern.png","smooth mips")
att.Description = "Variation of the factory barrel with a built-in Weaver attachment mount."
att.Slot = "ur_deagle_barrel"
att.Desc_Neutrals = {"uc.cosmetic"}
att.SortOrder = 5.5
--att.ActivateElements = {"ur_deagle_barrel_modern", "tac_rail"}

View File

@ -0,0 +1,47 @@
att.PrintName = "Desert Eagle .357 Magnum Conversion"
att.AbbrevName = ".357 Magnum"
att.Icon = Material("entities/att/uc_bullets/357magnum.png","smooth mips")
att.Description = "A more practical caliber with higher capacity magazines and actually manageable recoil, but not as much raw power."
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Predator .357 Magnum Conversion"
end
local path = ")^weapons/arccw_ur/sw586/"
local fire357 = {path .. "fire-01.ogg", path .. "fire-02.ogg", path .. "fire-03.ogg", path .. "fire-04.ogg", path .. "fire-05.ogg", path .. "fire-06.ogg"}
att.Hook_GetShootSound = function(wep, sound)
if wep:GetBuff_Override("Silencer") then
return fire357sup
else
return fire357
end
end
local tail = ")/arccw_uc/common/357mag/"
local fire357dist = {tail .. "fire-dist-357mag-pistol-ext-01.ogg", tail .. "fire-dist-357mag-pistol-ext-02.ogg", tail .. "fire-dist-357mag-pistol-ext-03.ogg", tail .. "fire-dist-357mag-pistol-ext-04.ogg", tail .. "fire-dist-357mag-pistol-ext-05.ogg", tail .. "fire-dist-357mag-pistol-ext-06.ogg"}
local common = ")/arccw_uc/common/"
att.Hook_GetDistantShootSoundOutdoors = function(wep, distancesound)
if wep:GetBuff_Override("Silencer") then
-- fallback to script
else
return fire357dist
end
end
att.AutoStats = true
att.Slot = "ur_deagle_caliber"
att.Mult_ClipSize = 1.3
att.Mult_Recoil = 0.7
att.Mult_Damage = 60 / 80
att.Mult_DamageMin = 20 / 12
att.Mult_ShootSpeedMult = 1.2
att.Mult_RPM = 1 + (1/3)
att.Override_Trivia_Calibre = att.AbbrevName -- E F F I C I E N C Y
att.Override_ShellModel = "models/weapons/arccw/uc_shells/357sig.mdl"
att.Override_ShellScale = 1

View File

@ -0,0 +1,83 @@
att.PrintName = "Desert Eagle .410 Bore Conversion"
att.AbbrevName = ".410 Bore"
att.Icon = Material("entities/att/uc_bullets/20g.png","smooth mips")
att.Description = "Hobbyist conversion that allows the weapon to accept .410 bore shotgun shells. Because the weapon was never meant to fire these, performance beyond point blank is poor."
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Predator .410 Bore Conversion"
end
-- Todo: alt shoot sound
att.AutoStats = true
att.Desc_Pros = {
"ur.deagle.410.1"
}
att.Desc_Cons = {
"ur.deagle.410.2"
}
att.Slot = "ur_deagle_caliber"
att.SortOrder = -1
att.Override_Num = 4
att.Mult_Range = 0.5
att.Override_AccuracyMOA = 35
att.Override_AccuracyMOA_Priority = 0
att.Mult_ClipSize = 1.15
att.Mult_Recoil = 0.75
att.Mult_Damage = 72 / 70
att.Mult_DamageMin = 20 / 17
att.Override_HullSize = 0.1
att.Override_BodyDamageMults = ArcCW.UC.BodyDamageMults_Shotgun
att.Override_Penetration = 1
--att.Override_Malfunction = true
--att.Mult_MalfunctionVariance = 1.5
att.Override_IsShotgun = true
att.Override_Ammo = "buckshot"
att.Override_ShellModel = "models/weapons/arccw/uc_shells/410bore.mdl"
att.Override_ShellScale = 1
att.Override_ShellSounds = ArcCW.ShotgunShellSoundsTable
att.Override_Trivia_Class = "Shot Pistol"
att.Override_Trivia_Calibre = att.AbbrevName -- E F F I C I E N C Y
local slotinfo = {
[6] = {"8-Round Mag", "8-Round Mag", Material("entities/att/acwatt_ur_deagle_mag_7.png", "mips smooth")},
[9] = {"\"BUCK\" #000 Buckshot", "\"BUCK\" #000 Buckshot", Material("entities/att/arccw_uc_ammo_shotgun_generic.png", "mips smooth")},
}
att.Hook_GetDefaultAttName = function(wep, slot)
if slotinfo[slot] then
return GetConVar("arccw_truenames"):GetBool() and slotinfo[slot][2] or slotinfo[slot][1]
end
end
att.Hook_GetDefaultAttIcon = function(wep, slot)
if slotinfo[slot] then
return slotinfo[slot][3]
end
end
att.Hook_GetShootSound = function(wep, sound)
if wep:GetBuff_Override("Silencer") then
return "weapons/arccw_ur/deagle/fire_supp_10.ogg" -- Placeholder
else
return {"weapons/arccw_ur/deagle/fire-410-01.ogg", "weapons/arccw_ur/deagle/fire-410-02.ogg", "weapons/arccw_ur/deagle/fire-410-03.ogg", "weapons/arccw_ur/deagle/fire-410-04.ogg", "weapons/arccw_ur/deagle/fire-410-05.ogg", "weapons/arccw_ur/deagle/fire-410-06.ogg"} -- Not Placeholder
end
end
local tail = ")/arccw_uc/common/357mag/"
att.Hook_GetDistantShootSoundOutdoors = function(wep, distancesound)
if wep:GetBuff_Override("Silencer") then
-- fallback to script
else
return {
tail .. "fire-dist-357mag-pistol-ext-01.ogg",
tail .. "fire-dist-357mag-pistol-ext-02.ogg",
tail .. "fire-dist-357mag-pistol-ext-03.ogg",
tail .. "fire-dist-357mag-pistol-ext-04.ogg",
tail .. "fire-dist-357mag-pistol-ext-05.ogg",
tail .. "fire-dist-357mag-pistol-ext-06.ogg"
}
end
end

View File

@ -0,0 +1,47 @@
att.PrintName = "Desert Eagle .44 Magnum Conversion"
att.AbbrevName = ".44 Magnum"
att.Icon = Material("entities/att/uc_bullets/44magnum.png","smooth mips")
att.Description = "Smaller (comparatively speaking) caliber that retains most of .50 AE's iconic punch, but is small enough to fit an extra round in the magazine."
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Predator .44 Magnum Conversion"
end
-- Todo: alt shoot sound
att.AutoStats = true
att.Slot = "ur_deagle_caliber"
att.Mult_ClipSize = 1.15
att.Mult_Recoil = 0.85
att.Mult_Damage = 75 / 80
att.Mult_DamageMin = 16 / 12
att.Mult_ShootSpeedMult = 1.1
att.Mult_RPM = 1 + (1/6)
att.Override_Trivia_Calibre = att.AbbrevName -- E F F I C I E N C Y
att.Override_ShellModel = "models/weapons/arccw/uc_shells/9x19.mdl"
att.Override_ShellScale = 1
local path = ")^weapons/arccw_ur/sw329/"
local fire44 = {path .. "fire-01.ogg", path .. "fire-02.ogg", path .. "fire-03.ogg", path .. "fire-04.ogg", path .. "fire-05.ogg", path .. "fire-06.ogg"}
att.Hook_GetShootSound = function(wep, sound)
if wep:GetBuff_Override("Silencer") then
return fire44sup
else
return fire44
end
end
local tail = ")/arccw_uc/common/44mag/"
local fire44dist = {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"}
local common = ")/arccw_uc/common/"
att.Hook_GetDistantShootSoundOutdoors = function(wep, distancesound)
if wep:GetBuff_Override("Silencer") then
-- fallback to script
else
return fire44dist
end
end

View File

@ -0,0 +1,15 @@
att.PrintName = "Desert Eagle Rubberized Grip"
att.AbbrevName = "Rubberized Grip"
att.Icon = Material("entities/att/acwatt_ur_deagle_grip_rubber.png","mips smooth")
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Predator Rubberized Grip"
end
att.Description = "Creates higher friction against the shooter's hands, dampening recoil slightly."
att.Slot = "ur_deagle_grip"
att.AutoStats = true
att.Mult_Recoil = 0.95
att.Mult_RecoilSide = 0.9
att.Mult_SightedSpeedMult = 0.95
att.ActivateElements = {"ur_deagle_grip_rubber"}

View File

@ -0,0 +1,15 @@
att.PrintName = "Desert Eagle Wooden Grip"
att.AbbrevName = "Wooden Grip"
att.Icon = Material("entities/att/acwatt_ur_deagle_grip_plastic.png","smooth mips")
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Predator Wooden Grip"
end
att.Description = "Premium and hand-carved. Classy and smooth, but more difficult to grip."
att.Slot = "ur_deagle_grip"
att.AutoStats = true
att.Mult_Recoil = 1.05
att.Mult_RecoilSide = 1.1
att.Mult_SightTime = 0.95
att.ActivateElements = {"ur_deagle_grip_wooden"}

View File

@ -0,0 +1,26 @@
att.PrintName = "Desert Eagle 10-Round Extended Magazine"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Predator 10-Round Extended Magazine"
end
att.AbbrevName = "10-Round Extended Mag"
att.Icon = Material("entities/att/acwatt_ur_deagle_mag_10.png","mips smooth")
att.Description = "A higher capacity magazine increases the time you can spend without reloading. However, the extra rounds add even more weight to an already unwieldy weapon."
att.Slot = "ur_deagle_mag"
att.AutoStats = true
att.Override_ClipSize = 10
att.Mult_SightTime = 1.1
att.Mult_ReloadTime = 1.15
att.Mult_Sway = 1.5
att.Mult_SpeedMult = 0.98
att.Mult_ShootSpeedMult = 0.95
att.Mult_HipDispersion = 1.25
att.Hook_SelectReloadAnimation = function(wep, anim)
return anim .. "_10"
end
-- 10-round anims don't exist yet
-- now exist
att.ActivateElements = {"ur_deagle_mag_ext"}

View File

@ -0,0 +1,15 @@
att.PrintName = "Desert Eagle Matte Black Finish"
att.AbbrevName = "Matte Black"
if !GetConVar("arccw_truenames"):GetBool() then
att.PrintName = "Predator Matte Black Finish"
end
att.Icon = Material("entities/att/acwatt_ur_deagle_finish_black.png","mips smooth")
att.Description = "The finish of choice for assassins and agents everywhere.\n\n\"We're willing to wipe the slate clean, give you a fresh start. All that we're asking in return is your cooperation in bringing a known terrorist to justice.\""
att.Slot = "ur_deagle_skin"
att.Desc_Neutrals = {
"uc.cosmetic"
}
att.SortOrder = 2
att.IgnorePickX = true
att.ActivateElements = {"ur_deagle_skin_black"}

Some files were not shown because too many files have changed in this diff Show More