From 85dfb7089e24a797869f8a9e74420f6cf1209b92 Mon Sep 17 00:00:00 2001 From: Fesiug Date: Thu, 29 Feb 2024 22:26:31 -0500 Subject: [PATCH] Push all --- .../shared/attachments/ua_m82_charm_tlp.lua | 26 + lua/arccw/shared/attachments/ua_m82_mag_5.lua | 29 + lua/arccw/shared/languages/ua_en.lua | 4 + lua/weapons/arccw_ua_m249.lua | 612 ++++++++++++++++++ lua/weapons/arccw_ua_m60.lua | 574 ++++++++++++++++ lua/weapons/arccw_ua_m82.lua | 506 +++++++++++++++ lua/weapons/arccw_ua_minigun.lua | 585 +++++++++++++++++ .../models/weapons/arccw/ua_m82/M82_B.vtf | 3 + .../weapons/arccw/ua_m82/M82_Bullet_B.vtf | 3 + .../weapons/arccw/ua_m82/M82_Bullet_E.vtf | 3 + .../weapons/arccw/ua_m82/M82_Bullet_N.vtf | 3 + .../models/weapons/arccw/ua_m82/M82_E.vtf | 3 + .../models/weapons/arccw/ua_m82/M82_N.vtf | 3 + .../weapons/arccw/ua_m82/MI_1P_Ammunition.vmt | 29 + .../models/weapons/arccw/ua_m82/MI_1P_M82.vmt | 29 + models/weapons/arccw/c_ua_m82.dx90.vtx | 3 + models/weapons/arccw/c_ua_m82.mdl | 3 + models/weapons/arccw/c_ua_m82.phy | 3 + models/weapons/arccw/c_ua_m82.vvd | 3 + sound/weapons/arccw_ue/m249/belt1.ogg | 3 + sound/weapons/arccw_ue/m249/belt2.ogg | 3 + sound/weapons/arccw_ue/m249/beltadjust.ogg | 3 + sound/weapons/arccw_ue/m249/boxinsert.ogg | 3 + sound/weapons/arccw_ue/m249/boxremove.ogg | 3 + sound/weapons/arccw_ue/m249/boxstruggle.ogg | 3 + sound/weapons/arccw_ue/m249/chback.ogg | 3 + sound/weapons/arccw_ue/m249/chforward.ogg | 3 + sound/weapons/arccw_ue/m249/dryfire.ogg | 3 + sound/weapons/arccw_ue/m249/fire-01.ogg | 3 + sound/weapons/arccw_ue/m249/fire-02.ogg | 3 + sound/weapons/arccw_ue/m249/fire-03.ogg | 3 + sound/weapons/arccw_ue/m249/fire-04.ogg | 3 + sound/weapons/arccw_ue/m249/fire-05.ogg | 3 + sound/weapons/arccw_ue/m249/fire-06.ogg | 3 + sound/weapons/arccw_ue/m249/grab.ogg | 3 + sound/weapons/arccw_ue/m249/lidclose.ogg | 3 + sound/weapons/arccw_ue/m249/lidopen.ogg | 3 + sound/weapons/arccw_ue/m249/mech-01.ogg | 3 + sound/weapons/arccw_ue/m249/mech-02.ogg | 3 + sound/weapons/arccw_ue/m249/mech-03.ogg | 3 + sound/weapons/arccw_ue/m249/mech-04.ogg | 3 + sound/weapons/arccw_ue/m249/mech-05.ogg | 3 + sound/weapons/arccw_ue/m249/mech-06.ogg | 3 + sound/weapons/arccw_ue/m249/prefire.ogg | 3 + sound/weapons/arccw_ue/m60/belt1.ogg | 3 + sound/weapons/arccw_ue/m60/belt2.ogg | 3 + sound/weapons/arccw_ue/m60/bolt_forward.ogg | 3 + sound/weapons/arccw_ue/m60/boxinsert.ogg | 3 + sound/weapons/arccw_ue/m60/boxremove.ogg | 3 + sound/weapons/arccw_ue/m60/chback.ogg | 3 + sound/weapons/arccw_ue/m60/chforward.ogg | 3 + sound/weapons/arccw_ue/m60/fire-01.ogg | 3 + sound/weapons/arccw_ue/m60/fire-02.ogg | 3 + sound/weapons/arccw_ue/m60/fire-03.ogg | 3 + sound/weapons/arccw_ue/m60/fire-04.ogg | 3 + sound/weapons/arccw_ue/m60/fire-05.ogg | 3 + sound/weapons/arccw_ue/m60/fire-06.ogg | 3 + sound/weapons/arccw_ue/m60/grab.ogg | 3 + sound/weapons/arccw_ue/m60/lidclose.ogg | 3 + sound/weapons/arccw_ue/m60/lidopen.ogg | 3 + sound/weapons/arccw_ue/m60/mech-01.ogg | 3 + sound/weapons/arccw_ue/m60/mech-02.ogg | 3 + sound/weapons/arccw_ue/m60/mech-03.ogg | 3 + sound/weapons/arccw_ue/m60/mech-04.ogg | 3 + sound/weapons/arccw_ue/m60/mech-05.ogg | 3 + sound/weapons/arccw_ue/m60/mech-06.ogg | 3 + sound/weapons/arccw_ue/m60/mech.ogg | 3 + sound/weapons/arccw_ue/m60/prefire.ogg | 3 + sound/weapons/arccw_ue/m60/ref.ogg | 3 + sound/weapons/arccw_ue/m82/chamber.ogg | 3 + sound/weapons/arccw_ue/m82/chback.ogg | 3 + sound/weapons/arccw_ue/m82/chstart.ogg | 3 + sound/weapons/arccw_ue/m82/fire-01.ogg | 3 + sound/weapons/arccw_ue/m82/fire-02.ogg | 3 + sound/weapons/arccw_ue/m82/fire-03.ogg | 3 + sound/weapons/arccw_ue/m82/fire-04.ogg | 3 + sound/weapons/arccw_ue/m82/fire-05.ogg | 3 + sound/weapons/arccw_ue/m82/fire-06.ogg | 3 + sound/weapons/arccw_ue/m82/grab.ogg | 3 + sound/weapons/arccw_ue/m82/magin.ogg | 3 + sound/weapons/arccw_ue/m82/magout.ogg | 3 + sound/weapons/arccw_ue/m82/magrel.ogg | 3 + sound/weapons/arccw_ue/m82/magtap.ogg | 3 + sound/weapons/arccw_ue/m82/magtouch.ogg | 3 + sound/weapons/arccw_ue/m82/mech-01.ogg | 3 + sound/weapons/arccw_ue/m82/mech-02.ogg | 3 + sound/weapons/arccw_ue/m82/mech-03.ogg | 3 + sound/weapons/arccw_ue/m82/mech-04.ogg | 3 + sound/weapons/arccw_ue/m82/mech-05.ogg | 3 + sound/weapons/arccw_ue/m82/mech-06.ogg | 3 + sound/weapons/arccw_ue/m82/struggle.ogg | 3 + 91 files changed, 2640 insertions(+) create mode 100644 lua/arccw/shared/attachments/ua_m82_charm_tlp.lua create mode 100644 lua/arccw/shared/attachments/ua_m82_mag_5.lua create mode 100644 lua/arccw/shared/languages/ua_en.lua create mode 100644 lua/weapons/arccw_ua_m249.lua create mode 100644 lua/weapons/arccw_ua_m60.lua create mode 100644 lua/weapons/arccw_ua_m82.lua create mode 100644 lua/weapons/arccw_ua_minigun.lua create mode 100644 materials/models/weapons/arccw/ua_m82/M82_B.vtf create mode 100644 materials/models/weapons/arccw/ua_m82/M82_Bullet_B.vtf create mode 100644 materials/models/weapons/arccw/ua_m82/M82_Bullet_E.vtf create mode 100644 materials/models/weapons/arccw/ua_m82/M82_Bullet_N.vtf create mode 100644 materials/models/weapons/arccw/ua_m82/M82_E.vtf create mode 100644 materials/models/weapons/arccw/ua_m82/M82_N.vtf create mode 100644 materials/models/weapons/arccw/ua_m82/MI_1P_Ammunition.vmt create mode 100644 materials/models/weapons/arccw/ua_m82/MI_1P_M82.vmt create mode 100644 models/weapons/arccw/c_ua_m82.dx90.vtx create mode 100644 models/weapons/arccw/c_ua_m82.mdl create mode 100644 models/weapons/arccw/c_ua_m82.phy create mode 100644 models/weapons/arccw/c_ua_m82.vvd create mode 100644 sound/weapons/arccw_ue/m249/belt1.ogg create mode 100644 sound/weapons/arccw_ue/m249/belt2.ogg create mode 100644 sound/weapons/arccw_ue/m249/beltadjust.ogg create mode 100644 sound/weapons/arccw_ue/m249/boxinsert.ogg create mode 100644 sound/weapons/arccw_ue/m249/boxremove.ogg create mode 100644 sound/weapons/arccw_ue/m249/boxstruggle.ogg create mode 100644 sound/weapons/arccw_ue/m249/chback.ogg create mode 100644 sound/weapons/arccw_ue/m249/chforward.ogg create mode 100644 sound/weapons/arccw_ue/m249/dryfire.ogg create mode 100644 sound/weapons/arccw_ue/m249/fire-01.ogg create mode 100644 sound/weapons/arccw_ue/m249/fire-02.ogg create mode 100644 sound/weapons/arccw_ue/m249/fire-03.ogg create mode 100644 sound/weapons/arccw_ue/m249/fire-04.ogg create mode 100644 sound/weapons/arccw_ue/m249/fire-05.ogg create mode 100644 sound/weapons/arccw_ue/m249/fire-06.ogg create mode 100644 sound/weapons/arccw_ue/m249/grab.ogg create mode 100644 sound/weapons/arccw_ue/m249/lidclose.ogg create mode 100644 sound/weapons/arccw_ue/m249/lidopen.ogg create mode 100644 sound/weapons/arccw_ue/m249/mech-01.ogg create mode 100644 sound/weapons/arccw_ue/m249/mech-02.ogg create mode 100644 sound/weapons/arccw_ue/m249/mech-03.ogg create mode 100644 sound/weapons/arccw_ue/m249/mech-04.ogg create mode 100644 sound/weapons/arccw_ue/m249/mech-05.ogg create mode 100644 sound/weapons/arccw_ue/m249/mech-06.ogg create mode 100644 sound/weapons/arccw_ue/m249/prefire.ogg create mode 100644 sound/weapons/arccw_ue/m60/belt1.ogg create mode 100644 sound/weapons/arccw_ue/m60/belt2.ogg create mode 100644 sound/weapons/arccw_ue/m60/bolt_forward.ogg create mode 100644 sound/weapons/arccw_ue/m60/boxinsert.ogg create mode 100644 sound/weapons/arccw_ue/m60/boxremove.ogg create mode 100644 sound/weapons/arccw_ue/m60/chback.ogg create mode 100644 sound/weapons/arccw_ue/m60/chforward.ogg create mode 100644 sound/weapons/arccw_ue/m60/fire-01.ogg create mode 100644 sound/weapons/arccw_ue/m60/fire-02.ogg create mode 100644 sound/weapons/arccw_ue/m60/fire-03.ogg create mode 100644 sound/weapons/arccw_ue/m60/fire-04.ogg create mode 100644 sound/weapons/arccw_ue/m60/fire-05.ogg create mode 100644 sound/weapons/arccw_ue/m60/fire-06.ogg create mode 100644 sound/weapons/arccw_ue/m60/grab.ogg create mode 100644 sound/weapons/arccw_ue/m60/lidclose.ogg create mode 100644 sound/weapons/arccw_ue/m60/lidopen.ogg create mode 100644 sound/weapons/arccw_ue/m60/mech-01.ogg create mode 100644 sound/weapons/arccw_ue/m60/mech-02.ogg create mode 100644 sound/weapons/arccw_ue/m60/mech-03.ogg create mode 100644 sound/weapons/arccw_ue/m60/mech-04.ogg create mode 100644 sound/weapons/arccw_ue/m60/mech-05.ogg create mode 100644 sound/weapons/arccw_ue/m60/mech-06.ogg create mode 100644 sound/weapons/arccw_ue/m60/mech.ogg create mode 100644 sound/weapons/arccw_ue/m60/prefire.ogg create mode 100644 sound/weapons/arccw_ue/m60/ref.ogg create mode 100644 sound/weapons/arccw_ue/m82/chamber.ogg create mode 100644 sound/weapons/arccw_ue/m82/chback.ogg create mode 100644 sound/weapons/arccw_ue/m82/chstart.ogg create mode 100644 sound/weapons/arccw_ue/m82/fire-01.ogg create mode 100644 sound/weapons/arccw_ue/m82/fire-02.ogg create mode 100644 sound/weapons/arccw_ue/m82/fire-03.ogg create mode 100644 sound/weapons/arccw_ue/m82/fire-04.ogg create mode 100644 sound/weapons/arccw_ue/m82/fire-05.ogg create mode 100644 sound/weapons/arccw_ue/m82/fire-06.ogg create mode 100644 sound/weapons/arccw_ue/m82/grab.ogg create mode 100644 sound/weapons/arccw_ue/m82/magin.ogg create mode 100644 sound/weapons/arccw_ue/m82/magout.ogg create mode 100644 sound/weapons/arccw_ue/m82/magrel.ogg create mode 100644 sound/weapons/arccw_ue/m82/magtap.ogg create mode 100644 sound/weapons/arccw_ue/m82/magtouch.ogg create mode 100644 sound/weapons/arccw_ue/m82/mech-01.ogg create mode 100644 sound/weapons/arccw_ue/m82/mech-02.ogg create mode 100644 sound/weapons/arccw_ue/m82/mech-03.ogg create mode 100644 sound/weapons/arccw_ue/m82/mech-04.ogg create mode 100644 sound/weapons/arccw_ue/m82/mech-05.ogg create mode 100644 sound/weapons/arccw_ue/m82/mech-06.ogg create mode 100644 sound/weapons/arccw_ue/m82/struggle.ogg diff --git a/lua/arccw/shared/attachments/ua_m82_charm_tlp.lua b/lua/arccw/shared/attachments/ua_m82_charm_tlp.lua new file mode 100644 index 0000000..22cb5d0 --- /dev/null +++ b/lua/arccw/shared/attachments/ua_m82_charm_tlp.lua @@ -0,0 +1,26 @@ +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 = { + "ua.m82.tl.1", + "ua.m82.tl.2" +} +att.Slot = "ua_m82_charm" + +-- 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"} \ No newline at end of file diff --git a/lua/arccw/shared/attachments/ua_m82_mag_5.lua b/lua/arccw/shared/attachments/ua_m82_mag_5.lua new file mode 100644 index 0000000..316fb57 --- /dev/null +++ b/lua/arccw/shared/attachments/ua_m82_mag_5.lua @@ -0,0 +1,29 @@ +att.PrintName = "M82 5-Round Flush Mag" +att.AbbrevName = "5-Round Flush Mag" + +if !GetConVar("arccw_truenames"):GetBool() then + att.PrintName = "NEED FAKE NAME!!!!!!! 5-Round Flush Mag" +end + +att.SortOrder = 5 +-- att.Icon = Material("entities/att/ur_mp5/mag20.png", "smooth mips") +att.Description = "Low-capacity magazine. The lighter load helps alleviate the weapon's notorious weight." +att.Desc_Pros = { +} +att.Desc_Cons = { +} +att.Desc_Neutrals = { +} +att.Slot = "ua_m82_mag" + +att.AutoStats = true + +att.Mult_SightTime = 0.9 +att.Mult_ReloadTime = 0.85 +att.Override_ClipSize = 5 +att.Mult_Sway = 0.75 +att.Mult_SpeedMult = 1.075 + +att.Hook_SelectReloadAnimation = function(wep, anim) + return anim .. "_5" +end \ No newline at end of file diff --git a/lua/arccw/shared/languages/ua_en.lua b/lua/arccw/shared/languages/ua_en.lua new file mode 100644 index 0000000..bb966c9 --- /dev/null +++ b/lua/arccw/shared/languages/ua_en.lua @@ -0,0 +1,4 @@ +L = {} + +L["ua.m82.tl.1"] = "Mount tactical lasers on top of the weapon instead of the barrel or lower rail." +L["ua.m82.tl.2"] = "The sight is changed to a point shooting stance." \ No newline at end of file diff --git a/lua/weapons/arccw_ua_m249.lua b/lua/weapons/arccw_ua_m249.lua new file mode 100644 index 0000000..aee243d --- /dev/null +++ b/lua/weapons/arccw_ua_m249.lua @@ -0,0 +1,612 @@ +SWEP.Base = "arccw_base" +SWEP.Spawnable = true +SWEP.Category = "ArcCW - Urban Coalition" +SWEP.UC_CategoryPack = "4Urban Anarchy" +SWEP.AdminOnly = false +SWEP.UseHands = true + +-- Muzzle and shell effects -- + +SWEP.MuzzleEffect = "muzzleflash_1" +SWEP.ShellModel = "models/weapons/arccw/uc_shells/556x45.mdl" +SWEP.ShellScale = 1 +SWEP.ShellPitch = 100 + +SWEP.MuzzleEffectAttachment = 1 +SWEP.CaseEffectAttachment = 2 +SWEP.TracerNum = 0 +SWEP.TracerCol = Color(25, 255, 25) +SWEP.TracerWidth = 2 + +-- Fake name -- + +SWEP.PrintName = "XM422" + +-- True name -- + +SWEP.TrueName = "M249 SAW" + +-- Trivia -- + +SWEP.Trivia_Class = "Machine Gun" +SWEP.Trivia_Desc = "Compact, fast-firing light machine gun, adopted by the US Army in search of a more soldier-friendly alternative to the M60. Its huge ammo box can carry an unprecedented quantity of rounds, which are dispensed downrange at a rate that will force the enemy's heads to stay down. In emergencies, it can also accept STANAG magazines." +SWEP.Trivia_Manufacturer = "Not FN Herstal" +SWEP.Trivia_Calibre = "5.56x45mm NATO" +SWEP.Trivia_Mechanism = "Gas-Operated Open Bolt" +SWEP.Trivia_Country = "Belgium" +SWEP.Trivia_Year = 1977 + +if GetConVar("arccw_truenames"):GetBool() then + SWEP.PrintName = SWEP.TrueName +end + +-- Weapon slot -- + +SWEP.Slot = 2 + +-- Weapon's manufacturer real name -- + +if GetConVar("arccw_truenames"):GetBool() then + SWEP.PrintName = SWEP.TrueName + SWEP.Trivia_Manufacturer = "FN Herstal" +end + +-- Viewmodel / Worldmodel / FOV -- + +SWEP.ViewModel = "models/weapons/arccw/c_lowpolym249.mdl" +SWEP.WorldModel = "models/weapons/w_rif_m4a1.mdl" +SWEP.ViewModelFOV = 85 +SWEP.AnimShoot = ACT_HL2MP_GESTURE_RANGE_ATTACK_AR2 + +-- Damage parameters -- + +SWEP.Damage = ArcCW.UC.StdDmg["556"].max +SWEP.DamageMin = ArcCW.UC.StdDmg["556"].min +SWEP.Range = 150 +SWEP.Penetration = ArcCW.UC.StdDmg["556"].pen +SWEP.DamageType = DMG_BULLET +SWEP.ShootEntity = nil +SWEP.PhysBulletMuzzleVelocity = 915 + +-- Mag size -- + +SWEP.ChamberSize = 0 +SWEP.Primary.ClipSize = 100 + +-- Recoil -- + +SWEP.Recoil = 0.1 +SWEP.RecoilSide = 0.14 + +SWEP.RecoilRise = 0.3 +SWEP.VisualRecoilMult = 0.4 +SWEP.MaxRecoilBlowback = 0.4 +SWEP.MaxRecoilPunch = 1 + +-- Firerate / Firemodes -- + +SWEP.TriggerDelay = true + +SWEP.Delay = 60 / 800 +SWEP.Num = 1 +SWEP.Firemodes = { + { + Mode = 2, + }, + { + Mode = 0 + } +} + +SWEP.ShootPitch = 100 +SWEP.ShootVol = 114 + +SWEP.ProceduralRegularFire = false +SWEP.ProceduralIronFire = false + +SWEP.ReloadInSights = true + +-- NPC -- + +SWEP.NPCWeaponType = "weapon_ar2" +SWEP.NPCWeight = 60 + +-- Accuracy -- + +SWEP.AccuracyMOA = 5.6 +SWEP.HipDispersion = 600 +SWEP.MoveDispersion = 800 + +SWEP.Primary.Ammo = "smg1" + +-- Speed multipliers -- + +SWEP.SpeedMult = 0.7 +SWEP.SightedSpeedMult = 0.72 +SWEP.SightTime = 0.6 + +-- Length -- + +SWEP.BarrelLength = 42 +SWEP.ExtraSightDist = 7 + +-- Ironsights / Customization / Poses -- + +SWEP.HolsterPos = Vector(4.623, -2.211, 1.004) +SWEP.HolsterAng = Angle(-8.443, 28.843, 0) + +SWEP.HoldtypeHolstered = "passive" +SWEP.HoldtypeActive = "ar2" +SWEP.HoldtypeSights = "rpg" + +SWEP.IronSightStruct = { + Pos = Vector(-3.445, 0, 2), + Ang = Angle(0.1, 0, -2), + Magnification = 1, + SwitchToSound = "", +} + +SWEP.ActivePos = Vector(0, 0, 0) +SWEP.ActiveAng = Angle(0, 0, 0) + +SWEP.CustomizePos = Vector(0, 0, 0) +SWEP.CustomizeAng = Angle(0, 0, 0) + +SWEP.CrouchPos = Vector(-2, -2, 0) +SWEP.CrouchAng = Angle(0, 0, -8) + +SWEP.MirrorVMWM = true +SWEP.WorldModelOffset = { + pos = Vector(-12, 4.5, -5.5), + ang = Angle(-6, 0, 180), + bone = "ValveBiped.Bip01_R_Hand", +} + +-- Weapon sounds -- + +local path = ")^weapons/arccw_ue/m249/" +local common = ")^/arccw_uc/common/" + +SWEP.ShootSound = { + path .. "fire-01.ogg", + path .. "fire-02.ogg", + path .. "fire-03.ogg", + path .. "fire-04.ogg", + path .. "fire-05.ogg", + path .. "fire-06.ogg" +} +SWEP.ShootSoundSilenced = path .. "fire_supp.ogg" +SWEP.DistantShootSound = nil +SWEP.DistantShootSoundSilenced = common .. "sup_tail.ogg" +SWEP.ShootDrySound = path .. "dryfire.ogg" + +local tail = ")^/arccw_uc/common/556x45/" + +SWEP.DistantShootSoundOutdoors = { + tail .. "fire-dist-556x45-mg-ext-01.ogg", + tail .. "fire-dist-556x45-mg-ext-02.ogg", + tail .. "fire-dist-556x45-mg-ext-03.ogg", + tail .. "fire-dist-556x45-mg-ext-04.ogg", + tail .. "fire-dist-556x45-mg-ext-05.ogg", + tail .. "fire-dist-556x45-mg-ext-06.ogg" +} +SWEP.DistantShootSoundIndoors = { + tail .. "fire-dist-556x45-rif-int-01.ogg", + tail .. "fire-dist-556x45-rif-int-02.ogg", + tail .. "fire-dist-556x45-rif-int-03.ogg", + tail .. "fire-dist-556x45-rif-int-04.ogg", + tail .. "fire-dist-556x45-rif-int-05.ogg", + tail .. "fire-dist-556x45-rif-int-06.ogg" +} +SWEP.DistantShootSoundOutdoorsSilenced = { + common .. "sup-tail-01.ogg", + common .. "sup-tail-02.ogg", + common .. "sup-tail-03.ogg", + common .. "sup-tail-04.ogg", + common .. "sup-tail-05.ogg", + common .. "sup-tail-06.ogg", + common .. "sup-tail-07.ogg", + common .. "sup-tail-08.ogg", + common .. "sup-tail-09.ogg", + common .. "sup-tail-10.ogg" +} +SWEP.DistantShootSoundIndoorsSilenced = { + common .. "fire-dist-int-pistol-light-01.ogg", + common .. "fire-dist-int-pistol-light-02.ogg", + common .. "fire-dist-int-pistol-light-03.ogg", + common .. "fire-dist-int-pistol-light-04.ogg", + common .. "fire-dist-int-pistol-light-05.ogg", + common .. "fire-dist-int-pistol-light-06.ogg" +} +SWEP.DistantShootSoundOutdoorsVolume = 1 +SWEP.DistantShootSoundIndoorsVolume = 1 +SWEP.Hook_AddShootSound = ArcCW.UC.InnyOuty + +-- Bodygroups -- + +SWEP.BulletBones = { + [1] = "Bullet1", [2] = "Bullet2", [3] = "Bullet3", [4] = "Bullet4", [5] = "Bullet5", [6] = "Bullet6", + [7] = "Bullet7", [8] = "Bullet8", [9] = "Bullet9", [10] = "Bullet10", [11] = "Bullet11", [12] = "Bullet12" +} + +SWEP.DefaultBodygroups = "000000000" + +SWEP.AttachmentElements = { + + ["nofh"] = { + VMBodygroups = {{ind = 1, bg = 4}}, + }, + + ["go_stock"] = { + VMBodygroups = { + {ind = 2, bg = 1} + }, + VMElements = { + { + Model = "models/weapons/arccw/atts/buffer_lpstock.mdl", + Bone = "Body", + Offset = { + pos = Vector(0, -2, -12.1), + ang = Angle(90, 0, -90), + }, + Scale = Vector(0.9,0.9,0.9), + } + }, + }, + + ["lpglobal_stock"] = { + VMBodygroups = { + {ind = 2, bg = 1} + }, + VMElements = { + { + Model = "models/weapons/arccw/atts/buffer_lpstock.mdl", + Bone = "Body", + Offset = { + pos = Vector(0, -2, -12.1), + ang = Angle(90, 0, -90), + }, + Scale = Vector(0.9,0.9,0.9), + } + }, + }, + + ["lphm_stock"] = { + VMBodygroups = {{ind = 2, bg = 1}}, + }, + + -- Skins -- + + ["skin_wireframe"] = { + VMSkin = 1, + }, +} + +-- Animations -- + +SWEP.Animations = { + ["idle"] = { + Source = "idle", + Framerate = 60, + Time = 330 / 60, + }, + ["idle_empty"] = { + Source = "idle_empty", + Framerate = 60, + Time = 330 / 60, + }, + ["ready"] = { + Source = "idle", + Framerate = 60, + Time = 68 / 60, + LHIK = true, + LHIKIn = 0, + LHIKEaseOut = 0.3, + LHIKOut = 0.6, + SoundTable = { + --{ s = path .. "lowpolyfal_readydraw.ogg", t = 1 / 30, c = ca }, + }, + }, + ["draw"] = { + Source = "draw", + Framerate = 60, + }, + ["trigger"] = { + Source = "idle", + Time = 0.075, + SoundTable = { + {s = path .. "prefire.ogg", t = 0, c = CHAN_WEAPON, v = 0.5}, + }, + }, + ["trigger_iron"] = { + Source = "idle", + Time = 0.075, + SoundTable = { + {s = path .. "prefire.ogg", t = 0, c = CHAN_WEAPON}, + }, + }, + ["fire"] = { + Source = "fire", + Framerate = 60, + Time = 43 / 60, + ShellEjectAt = 0.01, + SoundTable = {{ s = {path .. "mech-01.ogg", path .. "mech-02.ogg", path .. "mech-03.ogg", path .. "mech-04.ogg", path .. "mech-05.ogg", path .. "mech-06.ogg"}, t = 0, v = 0.25 }}, + }, + ["fire_iron"] = { + Source = "fire", + Framerate = 60, + Time = 43 / 60, + ShellEjectAt = 0.01, + SoundTable = { + {s = common .. "common_mech_light.ogg", t = 0, v = 0.2}, + { s = {path .. "mech-01.ogg", path .. "mech-02.ogg", path .. "mech-03.ogg", path .. "mech-04.ogg", path .. "mech-05.ogg", path .. "mech-06.ogg"}, t = 0 } + }, + }, + ["fire_empty"] = { + Source = "fire_empty", + Framerate = 60, + Time = 43 / 60, + ShellEjectAt = 0.01, + SoundTable = {{ s = {path .. "mech-01.ogg", path .. "mech-02.ogg", path .. "mech-03.ogg", path .. "mech-04.ogg", path .. "mech-05.ogg", path .. "mech-06.ogg"}, t = 0, v = 0.25 }}, + }, + ["fire_iron_empty"] = { + Source = "fire_empty", + Framerate = 60, + Time = 43 / 60, + ShellEjectAt = 0.01, + SoundTable = { + {s = common .. "common_mech_light.ogg", t = 0}, + { s = {path .. "mech-01.ogg", path .. "mech-02.ogg", path .. "mech-03.ogg", path .. "mech-04.ogg", path .. "mech-05.ogg", path .. "mech-06.ogg"}, t = 0 } + }, + }, + + -- 100-R Reloads -- + + ["reload"] = { + Source = "reload", + TPAnim = ACT_HL2MP_GESTURE_RELOAD_AR2, + MinProgress = 1, + Time = 298 / 60, + Framerate = 60, + LastClip1OutTime = 2.4, + LHIK = true, + LHIKIn = 0.2, + LHIKEaseIn = 0.2, + LHIKEaseOut = 0.2, + LHIKOut = 0.62, + SoundTable = { + { s = common .. "cloth_4.ogg", t = 4 / 30, c = ca }, + { s = path .. "lidopen.ogg", t = 15 / 30, c = ca }, + { s = path .. "belt1.ogg", t = 25 / 30, c = ca }, + { s = common .. "cloth_2.ogg", t = 30 / 30, c = ca }, + { s = path .. "boxremove.ogg", t = 45 / 30, c = ca }, + { s = common .. "cloth_3.ogg", t = 50 / 30, c = ca }, + { s = path .. "boxstruggle.ogg", t = 70 / 30, c = ca }, + { s = path .. "boxinsert.ogg", t = 76 / 30, c = ca }, + { s = common .. "cloth_1.ogg", t = 85 / 30, c = ca }, + { s = path .. "belt2.ogg", t = 90 / 30, c = ca }, + { s = path .. "beltadjust.ogg", t = 91 / 30, c = ca }, + { s = path .. "lidclose.ogg", t = 105 / 30, c = ca }, + { s = common .. "cloth_2.ogg", t = 110 / 30, c = ca }, + { s = path .. "grab.ogg", t = 130 / 30, c = ca, v = 0.25 }, + { s = common .. "shoulder.ogg", t = 135 / 30, c = ca }, + }, + }, + ["reload_empty"] = { + Source = "reload_empty", + TPAnim = ACT_HL2MP_GESTURE_RELOAD_AR2, + Framerate = 60, + Time = 344 / 60, + LastClip1OutTime = 3, + LHIK = true, + LHIKIn = 2.2, + LHIKEaseIn = 0.1, + LHIKEaseOut = 0.15, + LHIKOut = 0.7, + SoundTable = { + { s = common .. "cloth_4.ogg", t = 4 / 30, c = ca }, + { s = path .. "chback.ogg", t = 15 / 30, c = ca }, + { s = path .. "chforward.ogg", t = 20 / 30, c = ca }, + { s = common .. "cloth_1.ogg", t = 25 / 30, c = ca }, + { s = path .. "lidopen.ogg", t = 40 / 30, c = ca }, + { s = common .. "cloth_2.ogg", t = 40 / 30, c = ca }, + { s = path .. "boxremove.ogg", t = 65 / 30, c = ca }, + { s = common .. "cloth_3.ogg", t = 80 / 30, c = ca }, + { s = path .. "boxstruggle.ogg", t = 94 / 30, c = ca }, + { s = path .. "boxinsert.ogg", t = 100 / 30, c = ca }, + { s = path .. "belt2.ogg", t = 110 / 30, c = ca }, + { s = path .. "beltadjust.ogg", t = 111 / 30, c = ca }, + { s = common .. "cloth_2.ogg", t = 125 / 30, c = ca }, + { s = path .. "lidclose.ogg", t = 125 / 30, c = ca, v = 1 }, + { s = path .. "grab.ogg", t = 150 / 30, c = ca, v = 0.25 }, + { s = common .. "shoulder.ogg", t = 155 / 30, c = ca }, + }, + }, + + -- Inspecc -- + + ["enter_inspect"] = { + Source = "enter_inspect", + time = 70 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0.3, + LHIKOut = 0, + SoundTable = { + { s = path .. "lowpolyfal_cloth2.ogg", t = 0 / 30, c = ca }, + }, + }, + ["idle_inspect"] = { + Source = "idle_inspect", + time = 120 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0, + LHIKOut = 0, + }, + ["exit_inspect"] = { + Source = "exit_inspect", + time = 143 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0, + LHIKEaseOut = 0.3, + LHIKOut = 0.84, + SoundTable = { + { s = path .. "lowpolyfal_cloth1.ogg", t = 2 / 30, c = ca }, + }, + }, + + ["enter_inspect_empty"] = { + Source = "enter_inspect_empty", + time = 70 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0.1, + LHIKOut = 0, + SoundTable = { + { s = path .. "lowpolyfal_cloth2.ogg", t = 0 / 30, c = ca }, + }, + }, + ["idle_inspect_empty"] = { + Source = "idle_inspect_empty", + time = 120 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0, + LHIKOut = 0, + }, + ["exit_inspect_empty"] = { + Source = "exit_inspect_empty", + time = 143 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0, + LHIKEaseOut = 0.3, + LHIKOut = 0.84, + SoundTable = { + { s = path .. "lowpolyfal_cloth1.ogg", t = 2 / 30, c = ca }, + }, + }, +} + +-- ADS animation blending, thanks fesiug -- + +SWEP.Hook_Think = function(wep) + local vm = wep:GetOwner():GetViewModel() + vm:SetPoseParameter( "sights", Lerp(wep:GetSightDelta(), 1, 0) ) +end + +-- Attachments -- + +SWEP.CamAttachment = 3 + +SWEP.RejectAttachments = { + ["lpak_polymer"] = true, +} + +SWEP.Attachments = { + { + PrintName = "Optic", + Slot = {"optic_lp", "optic", "sniper_optic"}, + DefaultAttName = "Iron Sights", + Bone = "topcover", + Offset = { + vpos = Vector(-0.24, -0.6, -5), + vang = Angle(90, 0, -90), + }, + ExtraSightDist = 10, + InstalledEles = {"nors"}, + CorrectivePos = Vector(0.13, 0, 0.33), + }, + { + PrintName = "Handguard", + Slot = {"lpm249_hand"}, + DefaultAttIcon = Material("entities/att/acwatt_lpfal_defhand.png"), + DefaultAttName = "21' Standard Issue Barrel", + Bone = "Body", + Offset = { + vpos = Vector(3.07, -3.8, -27), + vang = Angle(90, 0, -90), + }, + }, + { + PrintName = "Muzzle", + DefaultAttName = "Standard Muzzle", + Slot = {"muzzle"}, + Bone = "Barrel", + Offset = { + vpos = Vector(0, 0, -4), + vang = Angle(90, 0, -90), + }, + InstalledEles = {"nofh"}, + }, + { + PrintName = "Underbarrel", + Slot = {"foregrip","bipod","ubgl"}, + Bone = "Body", + Offset = { + vpos = Vector(-0.05, 0.5, 1), + vang = Angle(90, 0, -90), + }, + ExcludeFlags = {"fnchand"}, + }, + { + PrintName = "Tactical", + Slot = {"tac"}, + Bone = "Body", + Offset = { + vpos = Vector(-0.8, -1, 1), + vang = Angle(90, 0, 180), + }, + }, + { + PrintName = "Mag Type", + Slot = {"lpm249_mag"}, + DefaultAttIcon = Material("entities/att/acwatt_lpfal_defmag.png"), + DefaultAttName = "100-Round Standard Box", + }, + { + PrintName = "Stock", + Slot = {"lpglobal_stock","go_stock","lphm_stock"}, + DefaultAttIcon = Material("entities/att/acwatt_lpfal_defstock.png"), + DefaultAttName = "Standard Polymer Stock", + VMScale = Vector(0.9,0.9,0.9), + Bone = "Body", + Offset = { + vpos = Vector(0, -2, -12.1), + vang = Angle(90, 0, -90), + }, + }, + { + PrintName = "Ammo Type", + DefaultAttName = "\"FMJ\" Full Metal Jacket", + DefaultAttIcon = Material("entities/att/arccw_uc_ammo_generic.png", "mips smooth"), + Slot = "uc_ammo", + }, + { + PrintName = "Powder Load", + Slot = "uc_powder", + DefaultAttName = "Standard Load" + }, + { + PrintName = "Training Package", + Slot = "uc_tp", + DefaultAttName = "Basic Training" + }, + { + PrintName = "Internals", + Slot = "uc_fg", -- Fire group + DefaultAttName = "Standard Internals" + }, + { + PrintName = "Charm", + Slot = {"charm","fml_charm"}, + FreeSlot = true, + Bone = "Body", + Offset = { + vpos = Vector(0.5, -0.1, -14), + vang = Angle(90, 0, -90), + }, + }, +} \ No newline at end of file diff --git a/lua/weapons/arccw_ua_m60.lua b/lua/weapons/arccw_ua_m60.lua new file mode 100644 index 0000000..b73a609 --- /dev/null +++ b/lua/weapons/arccw_ua_m60.lua @@ -0,0 +1,574 @@ +SWEP.Base = "arccw_base" +SWEP.Spawnable = true -- this obviously has to be set to true +SWEP.Category = "ArcCW - Urban Coalition" -- edit this if you like +SWEP.UC_CategoryPack = "4Urban Anarchy" +SWEP.AdminOnly = false + +SWEP.PrintName = "M60" +SWEP.Trivia_Class = "Machine Gun" +SWEP.Trivia_Desc = [[Classic machine gun with a beefy profile and a beefy cartridge. Despite glaring reliability issues, it is remembered fondly as an icon of the Vietnam War. Troops have affectionately nicknamed it "the Pig" for its bulkiness and demanding ammo consumption. + +As one of the heaviest infantry weapons available, it handles the round's recoil quite well, especially when mounted.]] +SWEP.Trivia_Manufacturer = "U.S. Ordnance" +SWEP.Trivia_Calibre = "7.62x51mm NATO" +SWEP.Trivia_Mechanism = "Gas-Operated Open Bolt" +SWEP.Trivia_Country = "United States" +SWEP.Trivia_Year = 1957 + +SWEP.Slot = 2 + +SWEP.UseHands = true + +SWEP.ViewModel = "models/weapons/arccw/c_lowpolym249.mdl" +SWEP.WorldModel = "models/weapons/w_rif_m4a1.mdl" +SWEP.ViewModelFOV = 85 +SWEP.AnimShoot = ACT_HL2MP_GESTURE_RANGE_ATTACK_AR2 + +SWEP.DefaultBodygroups = "0000000000" + +SWEP.Damage = ArcCW.UC.StdDmg["762_51"].max +SWEP.DamageMin = ArcCW.UC.StdDmg["762_51"].min -- damage done at maximum range +SWEP.Range = 100 -- in METRES +SWEP.Penetration = ArcCW.UC.StdDmg["762_51"].pen +SWEP.DamageType = DMG_BULLET +SWEP.ShootEntity = nil -- entity to fire, if any +SWEP.ChamberSize = 0 -- how many rounds can be chambered. +SWEP.Primary.ClipSize = 100 -- DefaultClip is automatically set. + +SWEP.PhysBulletMuzzleVelocity = 853 + +SWEP.Recoil = 0.245 +SWEP.RecoilSide = 0.245 +SWEP.RecoilRise = 0.1 +SWEP.RecoilPunch = 5 + +SWEP.ShootPitchVariation = 0 + +SWEP.TriggerDelay = true + +SWEP.Delay = 60 / 550 +SWEP.Num = 1 +SWEP.Firemodes = { + { + Mode = 2, + Mult_TriggerDelayTime = 1, + }, + { + Mode = 0, + }, +} + +SWEP.NPCWeaponType = "weapon_ar2" +SWEP.NPCWeight = 20 + +SWEP.AccuracyMOA = 7 -- accuracy in Minutes of Angle. There are 60 MOA in a degree. +SWEP.HipDispersion = 450 -- inaccuracy added by hip firing. +SWEP.MoveDispersion = 250 + +SWEP.Primary.Ammo = "ar2" -- what ammo type the gun uses +SWEP.MagID = "m60" -- the magazine pool this gun draws from + +SWEP.ShootVol = 110 -- volume of shoot sound +SWEP.ShootPitch = 100 -- pitch of shoot sound + +local path = ")^/weapons/arccw_ue/m60/" +local common = ")^/arccw_uc/common/" + +SWEP.ShootSound = { + path .. "fire-01.ogg", + path .. "fire-02.ogg", + path .. "fire-03.ogg", + path .. "fire-04.ogg", + path .. "fire-05.ogg", + path .. "fire-06.ogg" +} +SWEP.ShootSoundSilenced = path .. "fire_supp.ogg" +SWEP.DistantShootSound = nil +SWEP.DistantShootSoundSilenced = common .. "sup_tail.ogg" +SWEP.ShootDrySound = path .. "dryfire.ogg" + +local tail = ")^/arccw_uc/common/308/" + +SWEP.DistantShootSoundOutdoors = { + tail .. "fire-dist-308-mg-ext-01.ogg", + tail .. "fire-dist-308-mg-ext-02.ogg", + tail .. "fire-dist-308-mg-ext-03.ogg", + tail .. "fire-dist-308-mg-ext-04.ogg", + tail .. "fire-dist-308-mg-ext-05.ogg", + tail .. "fire-dist-308-mg-ext-06.ogg" +} +SWEP.DistantShootSoundIndoors = { + tail .. "fire-dist-308-rif-int-01.ogg", + tail .. "fire-dist-308-rif-int-02.ogg", + tail .. "fire-dist-308-rif-int-03.ogg", + tail .. "fire-dist-308-rif-int-04.ogg", + tail .. "fire-dist-308-rif-int-05.ogg", + tail .. "fire-dist-308-rif-int-06.ogg" +} +SWEP.DistantShootSoundOutdoorsSilenced = { + common .. "sup-tail-01.ogg", + common .. "sup-tail-02.ogg", + common .. "sup-tail-03.ogg", + common .. "sup-tail-04.ogg", + common .. "sup-tail-05.ogg", + common .. "sup-tail-06.ogg", + common .. "sup-tail-07.ogg", + common .. "sup-tail-08.ogg", + common .. "sup-tail-09.ogg", + common .. "sup-tail-10.ogg" +} +SWEP.DistantShootSoundIndoorsSilenced = { + common .. "fire-dist-int-pistol-light-01.ogg", + common .. "fire-dist-int-pistol-light-02.ogg", + common .. "fire-dist-int-pistol-light-03.ogg", + common .. "fire-dist-int-pistol-light-04.ogg", + common .. "fire-dist-int-pistol-light-05.ogg", + common .. "fire-dist-int-pistol-light-06.ogg" +} +SWEP.DistantShootSoundOutdoorsVolume = 1 +SWEP.DistantShootSoundIndoorsVolume = 1 +SWEP.Hook_AddShootSound = ArcCW.UC.InnyOuty + +SWEP.MuzzleEffect = "muzzleflash_minimi" +SWEP.ShellModel = "models/weapons/arccw/uc_shells/556x45.mdl" +SWEP.ShellScale = 1.145 +SWEP.ShellPitch = 90 +SWEP.ShellRotateAngle = Angle(0, 180, 0) + +SWEP.MuzzleEffectAttachment = 1 -- which attachment to put the muzzle on +SWEP.CaseEffectAttachment = 2 -- which attachment to put the case effect on + +SWEP.SpeedMult = 0.85 +SWEP.SightedSpeedMult = 0.5 +SWEP.SightTime = 0.425 +SWEP.ShootSpeedMult = 0.5 + +SWEP.IronSightStruct = { + Pos = Vector(-3.445, 0, 2), + Ang = Angle(0.1, 0, -2), + Magnification = 1, + SwitchToSound = "", +} + +SWEP.HoldtypeHolstered = "passive" +SWEP.HoldtypeActive = "ar2" +SWEP.HoldtypeSights = "rpg" + +SWEP.AnimShoot = ACT_HL2MP_GESTURE_RANGE_ATTACK_AR2 + +SWEP.ActivePos = Vector(0, 0, 0) +SWEP.ActiveAng = Angle(0, 0, 0) + +SWEP.CrouchPos = Vector(-4, 0, -1) +SWEP.CrouchAng = Angle(0, 0, -10) + +SWEP.HolsterPos = Vector(3, 3, 0) +SWEP.HolsterAng = Angle(-7.036, 30.016, 0) + +SWEP.BarrelOffsetSighted = Vector(0, 0, -1) +SWEP.BarrelOffsetHip = Vector(2, 0, -2) + +SWEP.CustomizePos = Vector(8, 0, 1) +SWEP.CustomizeAng = Angle(5, 30, 30) + +SWEP.BarrelLength = 24 + +SWEP.AttachmentElements = { + ["rs_none"] = { + VMBodygroups = {{ind = 5, bg = 1}}, + }, + ["foregrip"] = { + VMBodygroups = {{ind = 4, bg = 2}}, + }, + ["tacms"] = { + VMBodygroups = {{ind = 7, bg = 1}}, + }, + ["fh_none"] = { + VMBodygroups = {{ind = 2, bg = 3}}, + }, + ["go_m249_bipod"] = { + VMBodygroups = {{ind = 4, bg = 1}}, + }, + ["go_m249_barrel_short"] = { + VMBodygroups = { + {ind = 1, bg = 1}, + {ind = 2, bg = 1}}, + AttPosMods = { + [5] = {vpos = Vector(0, -4.4, 23.5)}, + } + }, + ["go_m249_barrel_long"] = { + VMBodygroups = { + {ind = 1, bg = 2}, + {ind = 2, bg = 2}}, + AttPosMods = { + [5] = {vpos = Vector(0, -4.4, 34.5)}, + } + }, + ["go_m249_mag_9_200"] = { + NameChange = "SMG-249/9", + VMBodygroups = { + {ind = 0, bg = 1}, + {ind = 3, bg = 1}, + {ind = 6, bg = 2} + }, + }, + ["go_m249_mag_12g_45"] = { + NameChange = "Minimi-12", + VMBodygroups = { + {ind = 0, bg = 2}, + {ind = 3, bg = 2}, + {ind = 6, bg = 3} + }, + }, + ["go_stock_none"] = { + VMBodygroups = { + {ind = 8, bg = 1} + }, + }, + ["go_stock"] = { + VMBodygroups = {{ind = 8, bg = 1}}, + VMElements = { + { + Model = "models/weapons/arccw_go/atts/stock_buftube_lp.mdl", + Bone = "v_weapon.m249_parent", + Offset = { + pos = Vector(0, -4, -3), + ang = Angle(90, 0, -90), + }, + } + }, + }, +} + +SWEP.GuaranteeLaser = true + +SWEP.WorldModelOffset = { + pos = Vector(-19, 8, -5), + ang = Angle(-10, 0, 180) +} + +SWEP.MirrorVMWM = true + +SWEP.Attachments = { + { + PrintName = "Optic", + Slot = "optic", + Bone = "v_weapon.topHinge", + DefaultAttName = "Iron Sights", + Offset = { + vpos = Vector(-0.04, -0.4, -5), + vang = Angle(90, 0, -90), + wpos = Vector(22, 1, -7), + wang = Angle(-9.79, 0, 180) + }, + VMScale = Vector(1.1, 1.1, 1.1), + InstalledEles = {"rs_none"}, + CorrectiveAng = Angle(1, 0, 0) + }, + { + PrintName = "Underbarrel", + Slot = {"foregrip", "m249_bipod"}, + Bone = "v_weapon.m249_Parent", + Offset = { + vpos = Vector(0, -1.15, 15), + vang = Angle(90, 0, -90), + wpos = Vector(22, 1, -7), + wang = Angle(-9.79, 0, 180) + }, + }, + { + PrintName = "Tactical", + Slot = "tac", + Bone = "v_weapon.m249_Parent", + Offset = { + vpos = Vector(1.15, -4.3, 15.75), + vang = Angle(90, 0, 0), + wpos = Vector(22, 1, -7), + wang = Angle(-9.79, 0, 180) + }, + InstalledEles = {"tacms"}, + }, + { + PrintName = "Barrel", + Slot = "go_m249_barrel", + DefaultAttName = "460mm SAW Barrel" + }, + { + PrintName = "Muzzle", + DefaultAttName = "Standard Muzzle", + Slot = "muzzle", + Bone = "v_weapon.m249_Parent", + Offset = { + vpos = Vector(0, -4.4, 30), + vang = Angle(90, 0, -90), + wpos = Vector(22, 1, -7), + wang = Angle(-9.79, 0, 180) + }, + InstalledEles = {"fh_none"}, + }, + { + PrintName = "Magazine", + Slot = "go_m249_mag", + DefaultAttName = "150-Round 5.56mm Belt" + }, + { + PrintName = "Stock", + Slot = {"go_stock_none", "go_stock"}, + DefaultAttName = "Standard Stock", + Bone = "v_weapon.m249_Parent", + Offset = { + vpos = Vector(0, -4, -3), + vang = Angle(90, 0, -90), + }, + VMScale = Vector(1, 1, 1) + }, + { + PrintName = "Ammo Type", + DefaultAttName = "\"FMJ\" Full Metal Jacket", + DefaultAttIcon = Material("entities/att/arccw_uc_ammo_generic.png", "mips smooth"), + Slot = "uc_ammo", + }, + { + PrintName = "Powder Load", + Slot = "uc_powder", + DefaultAttName = "Standard Load" + }, + { + PrintName = "Training Package", + Slot = "uc_tp", + DefaultAttName = "Basic Training" + }, + { + PrintName = "Internals", + Slot = "uc_fg", -- Fire group + DefaultAttName = "Standard Internals" + }, + { + PrintName = "Charm", + Slot = "charm", + FreeSlot = true, + Bone = "v_weapon.m249_Parent", -- relevant bone any attachments will be mostly referring to + Offset = { + vpos = Vector(0.6, -3.25, 4), -- offset that the attachment will be relative to the bone + vang = Angle(90, 0, -90), + wpos = Vector(6.099, 1.1, -3.301), + wang = Angle(171.817, 180-1.17, 0), + }, + }, +} + +SWEP.Hook_Think = function(wep) + local vm = wep:GetOwner():GetViewModel() + vm:SetPoseParameter( "sights", Lerp(wep:GetSightDelta(), 1, 0) ) +end + +-- Attachments -- + +SWEP.CamAttachment = 3 + +SWEP.RejectAttachments = { + ["lpak_polymer"] = true, +} + +SWEP.Animations = { + ["idle"] = { + Source = "idle", + Framerate = 60, + Time = 330 / 60, + }, + ["idle_empty"] = { + Source = "idle_empty", + Framerate = 60, + Time = 330 / 60, + }, + ["ready"] = { + Source = "idle", + Framerate = 60, + Time = 68 / 60, + LHIK = true, + LHIKIn = 0, + LHIKEaseOut = 0.3, + LHIKOut = 0.6, + SoundTable = { + --{ s = path .. "lowpolyfal_readydraw.ogg", t = 1 / 30, c = ca }, + }, + }, + ["draw"] = { + Source = "draw", + Framerate = 60, + }, + ["trigger"] = { + Source = "idle", + Time = 0.075, + SoundTable = { + {s = path .. "prefire.ogg", t = 0, c = CHAN_WEAPON, v = 0.5}, + }, + }, + ["trigger_iron"] = { + Source = "idle", + Time = 0.075, + SoundTable = { + {s = path .. "prefire.ogg", t = 0, c = CHAN_WEAPON}, + }, + }, + ["fire"] = { + Source = "fire", + Framerate = 60, + Time = 43 / 60, + ShellEjectAt = 0.01, + SoundTable = {{ s = {path .. "mech-01.ogg", path .. "mech-02.ogg", path .. "mech-03.ogg", path .. "mech-04.ogg", path .. "mech-05.ogg", path .. "mech-06.ogg"}, t = 0, v = 0.25 }}, + }, + ["fire_iron"] = { + Source = "fire", + Framerate = 60, + Time = 43 / 60, + ShellEjectAt = 0.01, + SoundTable = { + {s = common .. "common_mech_light.ogg", t = 0, v = 0.2 }, + { s = {path .. "mech-01.ogg", path .. "mech-02.ogg", path .. "mech-03.ogg", path .. "mech-04.ogg", path .. "mech-05.ogg", path .. "mech-06.ogg"}, t = 0 } + }, + }, + ["fire_empty"] = { + Source = "fire_empty", + Framerate = 60, + Time = 43 / 60, + ShellEjectAt = 0.01, + SoundTable = {{ s = {path .. "mech-01.ogg", path .. "mech-02.ogg", path .. "mech-03.ogg", path .. "mech-04.ogg", path .. "mech-05.ogg", path .. "mech-06.ogg"}, t = 0, v = 0.25 }}, + }, + ["fire_iron_empty"] = { + Source = "fire_empty", + Framerate = 60, + Time = 43 / 60, + ShellEjectAt = 0.01, + SoundTable = { + {s = common .. "common_mech_light.ogg", t = 0, v = 0.2 }, + { s = {path .. "mech-01.ogg", path .. "mech-02.ogg", path .. "mech-03.ogg", path .. "mech-04.ogg", path .. "mech-05.ogg", path .. "mech-06.ogg"}, t = 0 } + }, + }, + + -- 100-R Reloads -- + + ["reload"] = { + Source = "reload", + TPAnim = ACT_HL2MP_GESTURE_RELOAD_AR2, + MinProgress = 1, + Time = 298 / 60, + Framerate = 60, + LastClip1OutTime = 2.4, + LHIK = true, + LHIKIn = 0.2, + LHIKEaseIn = 0.2, + LHIKEaseOut = 0.2, + LHIKOut = 0.62, + SoundTable = { + { s = common .. "cloth_4.ogg", t = 4 / 30, c = ca }, + { s = path .. "lidopen.ogg", t = 10 / 30, c = ca }, + { s = path .. "belt1.ogg", t = 25 / 30, c = ca }, + { s = common .. "cloth_2.ogg", t = 30 / 30, c = ca }, + { s = path .. "boxremove.ogg", t = 35 / 30, c = ca }, + { s = common .. "cloth_3.ogg", t = 50 / 30, c = ca }, + { s = path .. "boxinsert.ogg", t = 68 / 30, c = ca }, + { s = common .. "cloth_1.ogg", t = 85 / 30, c = ca }, + { s = path .. "belt2.ogg", t = 90 / 30, c = ca }, + { s = common .. "cloth_2.ogg", t = 110 / 30, c = ca }, + { s = path .. "lidclose.ogg", t = 115 / 30, c = ca }, + { s = path .. "grab.ogg", t = 130 / 30, c = ca, v = 0.25 }, + { s = common .. "shoulder.ogg", t = 135 / 30, c = ca }, + }, + }, + ["reload_empty"] = { + Source = "reload_empty", + TPAnim = ACT_HL2MP_GESTURE_RELOAD_AR2, + Framerate = 60, + Time = 344 / 60, + LastClip1OutTime = 3, + LHIK = true, + LHIKIn = 2.2, + LHIKEaseIn = 0.1, + LHIKEaseOut = 0.15, + LHIKOut = 0.7, + SoundTable = { + { s = common .. "cloth_4.ogg", t = 4 / 30, c = ca }, + { s = path .. "chback.ogg", t = 15 / 30, c = ca }, + { s = path .. "chforward.ogg", t = 25 / 30, c = ca }, + { s = common .. "cloth_1.ogg", t = 26 / 30, c = ca }, + { s = path .. "lidopen.ogg", t = 39 / 30, c = ca }, + { s = common .. "cloth_2.ogg", t = 40 / 30, c = ca }, + { s = path .. "boxremove.ogg", t = 55 / 30, c = ca }, + { s = common .. "cloth_3.ogg", t = 80 / 30, c = ca }, + { s = path .. "boxinsert.ogg", t = 90 / 30, c = ca }, + { s = path .. "belt2.ogg", t = 111 / 30, c = ca }, + { s = common .. "cloth_2.ogg", t = 125 / 30, c = ca }, + { s = path .. "lidclose.ogg", t = 140 / 30, c = ca, v = 1 }, + { s = path .. "grab.ogg", t = 150 / 30, c = ca, v = 0.25 }, + { s = common .. "shoulder.ogg", t = 155 / 30, c = ca }, + }, + }, + + -- Inspecc -- + + ["enter_inspect"] = { + Source = "enter_inspect", + time = 70 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0.3, + LHIKOut = 0, + SoundTable = { + { s = path .. "lowpolyfal_cloth2.ogg", t = 0 / 30, c = ca }, + }, + }, + ["idle_inspect"] = { + Source = "idle_inspect", + time = 120 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0, + LHIKOut = 0, + }, + ["exit_inspect"] = { + Source = "exit_inspect", + time = 143 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0, + LHIKEaseOut = 0.3, + LHIKOut = 0.84, + SoundTable = { + { s = path .. "lowpolyfal_cloth1.ogg", t = 2 / 30, c = ca }, + }, + }, + + ["enter_inspect_empty"] = { + Source = "enter_inspect_empty", + time = 70 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0.1, + LHIKOut = 0, + SoundTable = { + { s = path .. "lowpolyfal_cloth2.ogg", t = 0 / 30, c = ca }, + }, + }, + ["idle_inspect_empty"] = { + Source = "idle_inspect_empty", + time = 120 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0, + LHIKOut = 0, + }, + ["exit_inspect_empty"] = { + Source = "exit_inspect_empty", + time = 143 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0, + LHIKEaseOut = 0.3, + LHIKOut = 0.84, + SoundTable = { + { s = path .. "lowpolyfal_cloth1.ogg", t = 2 / 30, c = ca }, + }, + }, +} \ No newline at end of file diff --git a/lua/weapons/arccw_ua_m82.lua b/lua/weapons/arccw_ua_m82.lua new file mode 100644 index 0000000..c65ecdc --- /dev/null +++ b/lua/weapons/arccw_ua_m82.lua @@ -0,0 +1,506 @@ +SWEP.Base = "arccw_base" +SWEP.Spawnable = true -- this obviously has to be set to true +SWEP.Category = "ArcCW - Urban Coalition" -- edit this if you like +SWEP.UC_CategoryPack = "4Urban Anarchy" +SWEP.AdminOnly = false + +SWEP.PrintName = "Fuck-You-In-Particular-inator" +SWEP.TrueName = "M82A1" +SWEP.Trivia_Class = "Anti-materiel Rifle" +SWEP.Trivia_Desc = [[The state firearm of Tennessee. As the first shoulder-fired weapon of its caliber, this massive, barely man-portable weapon popularized the idea of modern anti-materiel rifles as a way to help individual marksmen counter heavy targets. + +Chambered for a mounted machine gun cartridge designed to punch holes through cover and armored vehicles. To shoot a man with it might be overkill (or great fun, depending on your tastes).]] +SWEP.Trivia_Manufacturer = "Barrett Firearms Manufacturing" +SWEP.Trivia_Calibre = ".50 Browning Machine Gun" +SWEP.Trivia_Mechanism = "Recoil-Operated Rotating Bolt" +SWEP.Trivia_Country = "USA" +SWEP.Trivia_Year = 1980 + +if GetConVar("arccw_truenames"):GetBool() then + SWEP.PrintName = SWEP.TrueName +end + +SWEP.Slot = 3 + +SWEP.UseHands = true + +SWEP.ViewModel = "models/weapons/arccw/c_ua_m82.mdl" +SWEP.WorldModel = "models/weapons/arccw/c_ua_m82.mdl" +SWEP.ViewModelFOV = 57 +SWEP.MirrorVMWM = true +SWEP.WorldModelOffset = { + pos = Vector(-6.5, 4, -7), + ang = Angle(-6, 0, 180), + bone = "ValveBiped.Bip01_R_Hand", +} + +SWEP.DefaultBodygroups = "00000000000" + +SWEP.Damage = ArcCW.UC.StdDmg["50bmg"].max +SWEP.DamageMin = ArcCW.UC.StdDmg["50bmg"].min -- damage done at maximum range +SWEP.Range = 1800 -- in METRES +SWEP.Penetration = ArcCW.UC.StdDmg["50bmg"].pen +SWEP.DamageType = DMG_AIRBOAT + DMG_BULLET + DMG_ALWAYSGIB +SWEP.ShootEntity = nil -- entity to fire, if any +SWEP.PhysBulletMuzzleVelocity = 853 -- projectile or phys bullet muzzle velocity +-- IN M/S + +SWEP.TracerNum = 1 -- tracer every X +SWEP.TracerCol = Color(255, 25, 25) +SWEP.TracerWidth = 3 + +SWEP.ChamberSize = 1 -- how many rounds can be chambered. +SWEP.Primary.ClipSize = 10 -- DefaultClip is automatically set. + +SWEP.Recoil = 4 +SWEP.RecoilSide = 2 +SWEP.RecoilRise = 2 +SWEP.SpeedMult = 0.7 +SWEP.SightedSpeedMult = 0.35 +SWEP.SightTime = 0.72 +SWEP.Sway = 1.5 + +SWEP.Delay = 60 / 200 -- 60 / RPM. +SWEP.Num = 1 -- number of shots per trigger pull. +SWEP.Firemodes = { + { + Mode = 1, + }, + { + Mode = 0 + } +} + +SWEP.NPCWeaponType = { + "weapon_crossbow", +} +SWEP.NPCWeight = 75 + +SWEP.AccuracyMOA = 0.2 -- accuracy in Minutes of Angle. There are 60 MOA in a degree. +SWEP.HipDispersion = 1750 -- inaccuracy added by hip firing. +SWEP.MoveDispersion = 250 + +SWEP.Primary.Ammo = "SniperPenetratedRound" -- what ammo type the gun uses +SWEP.MagID = "svd" -- the magazine pool this gun draws from + +SWEP.ShootVol = 500 -- volume of shoot sound +SWEP.ShootPitch = 100 -- pitch of shoot sound + +local path = ")^weapons/arccw_ue/m82/" +local common = ")^/arccw_uc/common/" + +SWEP.ShootSound = { + path .. "fire-01.ogg", + path .. "fire-02.ogg", + path .. "fire-03.ogg", + path .. "fire-04.ogg", + path .. "fire-05.ogg", + path .. "fire-06.ogg" +} +SWEP.ShootSoundSilenced = path .. "fire-sup-06.ogg" +SWEP.DistantShootSound = nil +SWEP.DistantShootSoundSilenced = nil +SWEP.ShootDrySound = path .. "dryfire.ogg" + +local tail = ")^/arccw_uc/common/50bmg/" + +SWEP.DistantShootSoundOutdoors = { + tail .. "fire-dist-50bmg-rif-ext-01.ogg", + tail .. "fire-dist-50bmg-rif-ext-02.ogg", + tail .. "fire-dist-50bmg-rif-ext-03.ogg", + tail .. "fire-dist-50bmg-rif-ext-04.ogg", + tail .. "fire-dist-50bmg-rif-ext-05.ogg", + tail .. "fire-dist-50bmg-rif-ext-06.ogg" +} +SWEP.DistantShootSoundIndoors = { + tail .. "fire-dist-50bmg-rif-int-01.ogg", + tail .. "fire-dist-50bmg-rif-int-02.ogg", + tail .. "fire-dist-50bmg-rif-int-03.ogg", + tail .. "fire-dist-50bmg-rif-int-04.ogg", + tail .. "fire-dist-50bmg-rif-int-05.ogg", + tail .. "fire-dist-50bmg-rif-int-06.ogg" +} +SWEP.DistantShootSoundOutdoorsSilenced = { + common .. "sup-tail-01.ogg", + common .. "sup-tail-02.ogg", + common .. "sup-tail-03.ogg", + common .. "sup-tail-04.ogg", + common .. "sup-tail-05.ogg", + common .. "sup-tail-06.ogg", + common .. "sup-tail-07.ogg", + common .. "sup-tail-08.ogg", + common .. "sup-tail-09.ogg", + common .. "sup-tail-10.ogg" +} +SWEP.DistantShootSoundIndoorsSilenced = { + common .. "fire-dist-int-pistol-light-01.ogg", + common .. "fire-dist-int-pistol-light-02.ogg", + common .. "fire-dist-int-pistol-light-03.ogg", + common .. "fire-dist-int-pistol-light-04.ogg", + common .. "fire-dist-int-pistol-light-05.ogg", + common .. "fire-dist-int-pistol-light-06.ogg" +} +SWEP.DistantShootSoundOutdoorsVolume = 1 +SWEP.DistantShootSoundIndoorsVolume = 1 +SWEP.Hook_AddShootSound = ArcCW.UC.InnyOuty + +SWEP.MuzzleEffect = "muzzleflash_1" +SWEP.ShellEffect = "arccw_uc_shelleffect" +SWEP.ShellModel = "models/weapons/arccw/uc_shells/556x45.mdl" +SWEP.ShellPitch = 65 +SWEP.ShellScale = 1.4 + +SWEP.MuzzleEffectAttachment = 1 -- which attachment to put the muzzle on +SWEP.CaseEffectAttachment = 2 -- which attachment to put the case effect on +SWEP.ProceduralViewBobAttachment = 1 +SWEP.CamAttachment = 4 + +SWEP.BulletBones = { -- the bone that represents bullets in gun/mag + -- [0] = "bulletchamber", + -- [1] = "bullet1" +} + +SWEP.ProceduralRegularFire = false +SWEP.ProceduralIronFire = false + +SWEP.CaseBones = {} + +SWEP.IronSightStruct = { + Pos = Vector(-3.3, 4, 0.55), + Ang = Angle(0, 0, 0), + Magnification = 1.05, +} + +SWEP.HoldtypeHolstered = "passive" +SWEP.HoldtypeActive = "ar2" +SWEP.HoldtypeSights = "rpg" + +SWEP.AnimShoot = ACT_HL2MP_GESTURE_RANGE_ATTACK_RPG + +SWEP.ActivePos = Vector(1, 3, 1) +SWEP.ActiveAng = Angle(1, 1, -2) + +SWEP.SprintPos = Vector(1, 0, 2) +SWEP.SprintAng = Angle(-5, 5, 0) + +SWEP.HolsterPos = Vector(2, 0, 2) +SWEP.HolsterAng = Angle(-15, 30, 0) + +SWEP.BarrelOffsetSighted = Vector(0, 0, -1) +SWEP.BarrelOffsetHip = Vector(2, 0, -2) + +SWEP.CrouchPos = Vector(-1, 1, -1) +SWEP.CrouchAng = Angle(0, 0, -10) + +SWEP.BarrelLength = 60 + +SWEP.ShellRotateAngle = Angle(0, 90, 0) + +SWEP.AttachmentElements = { + ["m82_lowersights"] = { + VMBodygroups = { + {ind = 2, bg = 1} + } + }, + + ["ua_m82_mag_5"] = { + VMBodygroups = { + {ind = 1, bg = 1} + } + }, + ["ua_m82_charm_tlp"] = { + AttPosMods = {[5] = { + vpos = Vector(0, 13, 3.1), + vang = Angle(180, -90, 0), + }}, + Override_IronSightStruct = { + Pos = Vector(-6, 10, -2), + Ang = Angle(0, 0, -30), + GlobalPos = false, + GlobalAng = true, + Magnification = 1, + ScrollFunc = ArcCW.SCROLL_NONE + }, + }, +} + +SWEP.ExtraSightDist = 3 + +SWEP.RejectAttachments = { +} + +SWEP.Attachments = { + { + PrintName = "Optic", -- print name + DefaultAttName = "Iron Sights", + Slot = {"optic", "optic_lp", "optic_sniper", "optic_fas1_m82"}, -- what kind of attachments can fit here, can be string or table + Bone = "b_wpn", -- relevant bone any attachments will be mostly referring to + Offset = { + vpos = Vector(0, -1, 3.3), -- offset that the attachment will be relative to the bone + vang = Angle(90, -90, -90), + wpos = Vector(9, 0.739, -6.801), + wang = Angle(-10, 0, 180) + }, + SlideAmount = { + vmin = Vector(0,0,3.3), + vmax = Vector(0,-2,3.3), + }, + CorrectiveAng = Angle(180, 0, 0), + InstalledEles = {"m82_lowersights"}, + ExtraSightDist = 3, + }, + { + PrintName = "Barrel", + DefaultAttName = "29\" Standard Barrel", + Slot = "mifl_fas2_m82_hg", + Bone = "b_wpn", + Offset = { + vpos = Vector(0.5, 6, -1), + vang = Angle(90, -90, -90), + }, + }, + { + PrintName = "Magazine", + Slot = {"ua_m82_mag"}, + DefaultAttName = "10-Round Mag", + -- DefaultAttIcon = Material("entities/att/ur_ak/magazines/762_30.png", "mips smooth"), + }, + { + PrintName = "Underbarrel", + Slot = {"foregrip", "ubgl"}, + Bone = "b_wpn", + Offset = { + vpos = Vector(0, 10, 0.6), + vang = Angle(90, -90, -90), + }, + }, + { + PrintName = "Tactical", + Slot = "tac", + Bone = "b_wpn", + Offset = { + vpos = Vector(-0.9, 13, 2.2), -- offset that the attachment will be relative to the bone + vang = Angle(180, -90, 60), + }, + ExtraSightDist = 22, + CorrectivePos = Vector(2, -2, 0), + GivesFlags = {"tac"}, + }, + { + PrintName = "Ammo Type", + DefaultAttName = "\"FMJ\" Full Metal Jacket", + DefaultAttIcon = Material("entities/att/arccw_uc_ammo_generic.png", "mips smooth"), + Slot = "uc_ammo", + }, + { + PrintName = "Powder Load", + Slot = "uc_powder", + DefaultAttName = "Standard Load" + }, + { + PrintName = "Training Package", + Slot = "uc_tp", + DefaultAttName = "Basic Training" + }, + { + PrintName = "Internals", + Slot = "uc_fg", -- Fire group + DefaultAttName = "Standard Internals" + }, + { + PrintName = "Charm", + DefaultAttName = "None", + Slot = {"charm","ua_m82_charm"}, + Bone = "b_wpn", + Offset = { + vpos = Vector(0.9, -1.5, 0), + vang = Angle(90, -90, -90), + }, + FreeSlot = true, + }, +} + +SWEP.Hook_ModifyBodygroups = function(wep, data) + local vm = data.vm + local papcamo = wep.Attachments[6].Installed == "ammo_papunch" + + if papcamo then return vm:SetSkin(3) end +end + +local rottle = {common .. "cloth_1.ogg", common .. "cloth_2.ogg", common .. "cloth_3.ogg", common .. "cloth_4.ogg", common .. "cloth_5.ogg", common .. "cloth_6.ogg", common .. "rattle.ogg"} +local mech = {path .. "mech-01.ogg", path .. "mech-02.ogg", path .. "mech-03.ogg", path .. "mech-04.ogg", path .. "mech-05.ogg", path .. "mech-06.ogg"} +local ratel = {common .. "rattle1.ogg", common .. "rattle2.ogg", common .. "rattle3.ogg"} +local rutle = {common .. "movement-sniper-01.ogg", common .. "movement-sniper-02.ogg", common .. "movement-sniper-03.ogg", common .. "movement-sniper-04.ogg"} +local magdrop = {common .. "rifle_magdrop_1.ogg", common .. "rifle_magdrop_2.ogg", common .. "rifle_magdrop_3.ogg", common .. "rifle_magdrop_4.ogg"} + +SWEP.Animations = { + ["draw"] = { + Source = "draw", + LHIK = true, + LHIKIn = 0, + LHIKOut = 0.25, + SoundTable = { + {s = rottle, t = 0}, + {s = rutle, t = 0.05}, + {s = rottle, t = 0.7}, + {s = common .. "shoulder.ogg", t = 1.1, v = 0.5} + }, + }, + ["ready"] = { + Source = "equip", + LHIK = true, + LHIKIn = 0, + LHIKOut = 0.25, + }, + ["idle"] = { + Source = "idle", + }, + ["idle_empty"] = { + Source = "idle_empty", + }, + ["holster"] = { + Source = "holster", + LHIK = true, + LHIKEaseOut = 0.2, + LHIKIn = 0.6, + LHIKOut = 0.3, + SoundTable = { + {s = rottle, t = 0}, + {s = rutle, t = 0.05}, + } + }, + + ["fire"] = { + Source = "fire", + ShellEjectAt = 0, + SoundTable = {{ s = {path .. "mech-01.ogg", path .. "mech-02.ogg", path .. "mech-03.ogg", path .. "mech-04.ogg", path .. "mech-05.ogg", path .. "mech-06.ogg"}, t = 0, v = 0.25 }}, + }, + ["fire_iron"] = { + Source = "fire", + ShellEjectAt = 0, + SoundTable = { + {s = common .. "common_mech_heavy.ogg", t = 0, v = 0.4}, + {s = common .. "common_mech_light.ogg", t = 0}, + { s = mech, t = 0 } + }, + }, + + ["reload"] = { + Source = "reload", + TPAnim = ACT_HL2MP_GESTURE_RELOAD_AR2, + FrameRate = 30, + MinProgress = 3.8, + SoundTable = { + {s = rottle, t = 0}, + {s = rutle, t = 0.1}, + {s = path .. "magrel.ogg", t = 1.1}, + {s = path .. "magtouch.ogg", t = 1.6}, + {s = path .. "magout.ogg", t = 1.7}, + {s = rottle, t = 1.65}, + {s = rutle, t = 1.68}, + {s = common .. "magpouch.ogg", t = 2.7, v = 0.2}, + {s = path .. "struggle.ogg", t = 3.1}, + {s = path .. "magin.ogg", t = 3.55}, + {s = path .. "grab.ogg", t = 3.5}, + {s = rottle, t = 3.7}, + {s = rutle, t = 3.75}, + {s = common .. "shoulder.ogg", t = 4.4, v = 0.6}, + }, + LHIK = true, + LHIKIn = 0.5, + LHIKOut = 0.5, + }, + ["reload_empty"] = { + Source = "reload_empty", + TPAnim = ACT_HL2MP_GESTURE_RELOAD_AR2, + FrameRate = 30, + MinProgress = 4.75, + SoundTable = { + {s = rottle, t = 0}, + {s = rutle, t = 0.1}, + {s = common .. "magpouch.ogg", t = 0.9, v = 0.2}, + {s = path .. "magtouch.ogg", t = 1.5}, + {s = path .. "magrel.ogg", t = 1.66}, + {s = path .. "magout.ogg", t = 1.7}, + {s = rottle, t = 1.65}, + {s = rutle, t = 1.68}, + {s = path .. "struggle.ogg", t = 2.3}, + {s = magdrop, t = 2.45, p = 87.5, v = 0.35}, + {s = path .. "magin.ogg", t = 2.85}, + {s = path .. "grab.ogg", t = 2.8}, + {s = rottle, t = 3.0}, + {s = rutle, t = 3.05}, + {s = path .. "chstart.ogg", t = 3.95}, + {s = path .. "chback.ogg", t = 4.05}, + {s = path .. "chamber.ogg", t = 4.6}, + {s = rottle, t = 5.0}, + {s = rutle, t = 5.05}, + {s = common .. "shoulder.ogg", t = 5.4, v = 0.6}, + }, + LHIK = true, + LHIKIn = 0.5, + LHIKOut = 0.5, + }, + ["reload_5"] = { + Source = "reload_5", + TPAnim = ACT_HL2MP_GESTURE_RELOAD_AR2, + FrameRate = 30, + MinProgress = 3.8, + SoundTable = { + {s = rottle, t = 0}, + {s = rutle, t = 0.1}, + {s = path .. "magrel.ogg", t = 1.1}, + {s = path .. "magtouch.ogg", t = 1.6}, + {s = path .. "magout.ogg", t = 1.7}, + {s = rottle, t = 1.65}, + {s = rutle, t = 1.68}, + {s = common .. "magpouch.ogg", t = 2.7, v = 0.2}, + {s = path .. "struggle.ogg", t = 3.1}, + {s = path .. "magin.ogg", t = 3.55}, + {s = path .. "grab.ogg", t = 3.5}, + {s = rottle, t = 3.7}, + {s = rutle, t = 3.75}, + {s = common .. "shoulder.ogg", t = 4.4, v = 0.6}, + }, + LHIK = true, + LHIKIn = 0.5, + LHIKOut = 0.5, + }, + ["reload_empty_5"] = { + Source = "reload_empty_5", + TPAnim = ACT_HL2MP_GESTURE_RELOAD_AR2, + FrameRate = 30, + MinProgress = 4.75, + SoundTable = { + {s = rottle, t = 0}, + {s = rutle, t = 0.1}, + {s = common .. "magpouch.ogg", t = 0.9, v = 0.2}, + {s = path .. "magtouch.ogg", t = 1.5}, + {s = path .. "magrel.ogg", t = 1.66}, + {s = path .. "magout.ogg", t = 1.7}, + {s = rottle, t = 1.65}, + {s = rutle, t = 1.68}, + {s = path .. "struggle.ogg", t = 2.3}, + {s = magdrop, t = 2.45, p = 95}, + {s = path .. "magin.ogg", t = 2.85}, + {s = path .. "grab.ogg", t = 2.8}, + {s = rottle, t = 3.0}, + {s = rutle, t = 3.05}, + {s = path .. "chstart.ogg", t = 3.95}, + {s = path .. "chback.ogg", t = 4.05}, + {s = path .. "chamber.ogg", t = 4.6}, + {s = rottle, t = 5.0}, + {s = rutle, t = 5.05}, + {s = common .. "shoulder.ogg", t = 5.4, v = 0.6}, + }, + LHIK = true, + LHIKIn = 0.5, + LHIKOut = 0.5, + }, + + ["fix"] = { + Source = "unjam", + LHIKIn = 0.5, + LHIKOut = 0.5, + } +} \ No newline at end of file diff --git a/lua/weapons/arccw_ua_minigun.lua b/lua/weapons/arccw_ua_minigun.lua new file mode 100644 index 0000000..19dbfcb --- /dev/null +++ b/lua/weapons/arccw_ua_minigun.lua @@ -0,0 +1,585 @@ +SWEP.Base = "arccw_base" +SWEP.Spawnable = true -- this obviously has to be set to true +SWEP.Category = "ArcCW - Urban Coalition" -- edit this if you like +SWEP.UC_CategoryPack = "4Urban Anarchy" +SWEP.AdminOnly = true + +SWEP.PrintName = "GAUSS-17/A" +SWEP.TrueName = "M134 Minigun" +SWEP.Trivia_Class = "Machine Gun" +SWEP.Trivia_Desc = [["And the Lord said, 'I will blot out man whom I have created from the face of the land, from man to animals to creeping things and to birds of the sky; for I am sorry that I have made them.'" -Genesis 6:7]] +SWEP.Trivia_Manufacturer = "General Electric" +SWEP.Trivia_Calibre = "7.62x51mm NATO" +SWEP.Trivia_Mechanism = "Electric Rotary Breech" +SWEP.Trivia_Country = "United States" +SWEP.Trivia_Year = 1960 + +if GetConVar("arccw_truenames"):GetBool() then + SWEP.PrintName = SWEP.TrueName -- I now understand the reasoning for this statement +end + +SWEP.Slot = 3 + +SWEP.UseHands = true + +SWEP.ViewModel = "models/weapons/arccw/c_lowpolym249.mdl" +SWEP.WorldModel = "models/weapons/w_rif_m4a1.mdl" +SWEP.ViewModelFOV = 85 +SWEP.AnimShoot = ACT_HL2MP_GESTURE_RANGE_ATTACK_AR2 + +SWEP.DefaultBodygroups = "0000000000" + +SWEP.Damage = ArcCW.UC.StdDmg["762_51"].max +SWEP.DamageMin = ArcCW.UC.StdDmg["762_51"].min -- damage done at maximum range +SWEP.Range = 100 -- in METRES +SWEP.Penetration = ArcCW.UC.StdDmg["762_51"].pen +SWEP.DamageType = DMG_BULLET +SWEP.ShootEntity = nil -- entity to fire, if any +SWEP.ChamberSize = 0 -- how many rounds can be chambered. +SWEP.Primary.ClipSize = 100 -- DefaultClip is automatically set. +SWEP.BottomlessClip = true + +SWEP.PhysBulletMuzzleVelocity = 853 + +SWEP.Recoil = 0.5 +SWEP.RecoilSide = 0.245 +SWEP.RecoilRise = 0.1 +SWEP.RecoilPunch = 5 + +SWEP.ShootPitchVariation = 0 + +SWEP.TriggerDelay = true + +SWEP.Delay = 60 / 2200 +SWEP.Num = 1 +SWEP.Firemodes = { + { + Mode = 2, + Mult_TriggerDelayTime = 1, + }, +} + +SWEP.NPCWeaponType = nil + +SWEP.AccuracyMOA = 32 -- accuracy in Minutes of Angle. There are 60 MOA in a degree. +SWEP.HipDispersion = 450 -- inaccuracy added by hip firing. +SWEP.MoveDispersion = 250 + +SWEP.Primary.Ammo = "ar2" -- what ammo type the gun uses +SWEP.MagID = "m60" -- the magazine pool this gun draws from + +SWEP.ShootVol = 110 -- volume of shoot sound +SWEP.ShootPitch = 100 -- pitch of shoot sound + +local path = ")^/weapons/arccw_ue/m60/" +local common = ")^/arccw_uc/common/" + +SWEP.ShootSound = { + path .. "fire-01.ogg", + path .. "fire-02.ogg", + path .. "fire-03.ogg", + path .. "fire-04.ogg", + path .. "fire-05.ogg", + path .. "fire-06.ogg" +} +SWEP.ShootSoundSilenced = path .. "fire_supp.ogg" +SWEP.DistantShootSound = nil +SWEP.DistantShootSoundSilenced = common .. "sup_tail.ogg" +SWEP.ShootDrySound = path .. "dryfire.ogg" + +local tail = ")^/arccw_uc/common/308/" + +SWEP.DistantShootSoundOutdoors = { + tail .. "fire-dist-308-mg-ext-01.ogg", + tail .. "fire-dist-308-mg-ext-02.ogg", + tail .. "fire-dist-308-mg-ext-03.ogg", + tail .. "fire-dist-308-mg-ext-04.ogg", + tail .. "fire-dist-308-mg-ext-05.ogg", + tail .. "fire-dist-308-mg-ext-06.ogg" +} +SWEP.DistantShootSoundIndoors = { + common .. "fire-dist-int-rifle-01.ogg", + common .. "fire-dist-int-rifle-02.ogg", + common .. "fire-dist-int-rifle-03.ogg", + common .. "fire-dist-int-rifle-04.ogg", + common .. "fire-dist-int-rifle-05.ogg", + common .. "fire-dist-int-rifle-06.ogg" +} +SWEP.DistantShootSoundOutdoorsSilenced = { + common .. "sup-tail-01.ogg", + common .. "sup-tail-02.ogg", + common .. "sup-tail-03.ogg", + common .. "sup-tail-04.ogg", + common .. "sup-tail-05.ogg", + common .. "sup-tail-06.ogg", + common .. "sup-tail-07.ogg", + common .. "sup-tail-08.ogg", + common .. "sup-tail-09.ogg", + common .. "sup-tail-10.ogg" +} +SWEP.DistantShootSoundIndoorsSilenced = { + common .. "fire-dist-int-pistol-light-01.ogg", + common .. "fire-dist-int-pistol-light-02.ogg", + common .. "fire-dist-int-pistol-light-03.ogg", + common .. "fire-dist-int-pistol-light-04.ogg", + common .. "fire-dist-int-pistol-light-05.ogg", + common .. "fire-dist-int-pistol-light-06.ogg" +} +SWEP.DistantShootSoundOutdoorsVolume = 1 +SWEP.DistantShootSoundIndoorsVolume = 1 +SWEP.Hook_AddShootSound = ArcCW.UC.InnyOuty + +SWEP.MuzzleEffect = "muzzleflash_minimi" +SWEP.ShellModel = "models/weapons/arccw/uc_shells/556x45.mdl" +SWEP.ShellScale = 1.145 +SWEP.ShellPitch = 90 +SWEP.ShellRotateAngle = Angle(0, 180, 0) + +SWEP.MuzzleEffectAttachment = 1 -- which attachment to put the muzzle on +SWEP.CaseEffectAttachment = 2 -- which attachment to put the case effect on + +SWEP.SpeedMult = 0.65 +SWEP.SightedSpeedMult = 0.5 +SWEP.SightTime = 0.5 +SWEP.ShootSpeedMult = 1 + +SWEP.IronSightStruct = { + Pos = Vector(-3.445, 0, 2), + Ang = Angle(0.1, 0, -2), + Magnification = 1, + SwitchToSound = "", +} + +SWEP.HoldtypeHolstered = "passive" +SWEP.HoldtypeActive = "ar2" +SWEP.HoldtypeSights = "rpg" + +SWEP.AnimShoot = ACT_HL2MP_GESTURE_RANGE_ATTACK_AR2 + +SWEP.ActivePos = Vector(0, 0, 0) +SWEP.ActiveAng = Angle(0, 0, 0) + +SWEP.CrouchPos = Vector(-4, 0, -1) +SWEP.CrouchAng = Angle(0, 0, -10) + +SWEP.HolsterPos = Vector(3, 3, 0) +SWEP.HolsterAng = Angle(-7.036, 30.016, 0) + +SWEP.BarrelOffsetSighted = Vector(0, 0, -1) +SWEP.BarrelOffsetHip = Vector(2, 0, -2) + +SWEP.CustomizePos = Vector(8, 0, 1) +SWEP.CustomizeAng = Angle(5, 30, 30) + +SWEP.BarrelLength = 24 + +SWEP.AttachmentElements = { + ["rs_none"] = { + VMBodygroups = {{ind = 5, bg = 1}}, + }, + ["foregrip"] = { + VMBodygroups = {{ind = 4, bg = 2}}, + }, + ["tacms"] = { + VMBodygroups = {{ind = 7, bg = 1}}, + }, + ["fh_none"] = { + VMBodygroups = {{ind = 2, bg = 3}}, + }, + ["go_m249_bipod"] = { + VMBodygroups = {{ind = 4, bg = 1}}, + }, + ["go_m249_barrel_short"] = { + VMBodygroups = { + {ind = 1, bg = 1}, + {ind = 2, bg = 1}}, + AttPosMods = { + [5] = {vpos = Vector(0, -4.4, 23.5)}, + } + }, + ["go_m249_barrel_long"] = { + VMBodygroups = { + {ind = 1, bg = 2}, + {ind = 2, bg = 2}}, + AttPosMods = { + [5] = {vpos = Vector(0, -4.4, 34.5)}, + } + }, + ["go_m249_mag_9_200"] = { + NameChange = "SMG-249/9", + VMBodygroups = { + {ind = 0, bg = 1}, + {ind = 3, bg = 1}, + {ind = 6, bg = 2} + }, + }, + ["go_m249_mag_12g_45"] = { + NameChange = "Minimi-12", + VMBodygroups = { + {ind = 0, bg = 2}, + {ind = 3, bg = 2}, + {ind = 6, bg = 3} + }, + }, + ["go_stock_none"] = { + VMBodygroups = { + {ind = 8, bg = 1} + }, + }, + ["go_stock"] = { + VMBodygroups = {{ind = 8, bg = 1}}, + VMElements = { + { + Model = "models/weapons/arccw_go/atts/stock_buftube_lp.mdl", + Bone = "v_weapon.m249_parent", + Offset = { + pos = Vector(0, -4, -3), + ang = Angle(90, 0, -90), + }, + } + }, + }, +} + +SWEP.GuaranteeLaser = true + +SWEP.WorldModelOffset = { + pos = Vector(-19, 8, -5), + ang = Angle(-10, 0, 180) +} + +SWEP.MirrorVMWM = true + +SWEP.Attachments = { + { + PrintName = "Optic", + Slot = "optic", + Bone = "v_weapon.topHinge", + DefaultAttName = "Iron Sights", + Offset = { + vpos = Vector(-0.04, -0.4, -5), + vang = Angle(90, 0, -90), + wpos = Vector(22, 1, -7), + wang = Angle(-9.79, 0, 180) + }, + VMScale = Vector(1.1, 1.1, 1.1), + InstalledEles = {"rs_none"}, + CorrectiveAng = Angle(1, 0, 0) + }, + { + PrintName = "Underbarrel", + Slot = {"foregrip", "m249_bipod"}, + Bone = "v_weapon.m249_Parent", + Offset = { + vpos = Vector(0, -1.15, 15), + vang = Angle(90, 0, -90), + wpos = Vector(22, 1, -7), + wang = Angle(-9.79, 0, 180) + }, + }, + { + PrintName = "Tactical", + Slot = "tac", + Bone = "v_weapon.m249_Parent", + Offset = { + vpos = Vector(1.15, -4.3, 15.75), + vang = Angle(90, 0, 0), + wpos = Vector(22, 1, -7), + wang = Angle(-9.79, 0, 180) + }, + InstalledEles = {"tacms"}, + }, + { + PrintName = "Barrel", + Slot = "go_m249_barrel", + DefaultAttName = "460mm SAW Barrel" + }, + { + PrintName = "Muzzle", + DefaultAttName = "Standard Muzzle", + Slot = "muzzle", + Bone = "v_weapon.m249_Parent", + Offset = { + vpos = Vector(0, -4.4, 30), + vang = Angle(90, 0, -90), + wpos = Vector(22, 1, -7), + wang = Angle(-9.79, 0, 180) + }, + InstalledEles = {"fh_none"}, + }, + { + PrintName = "Magazine", + Slot = "go_m249_mag", + DefaultAttName = "150-Round 5.56mm Belt" + }, + { + PrintName = "Stock", + Slot = {"go_stock_none", "go_stock"}, + DefaultAttName = "Standard Stock", + Bone = "v_weapon.m249_Parent", + Offset = { + vpos = Vector(0, -4, -3), + vang = Angle(90, 0, -90), + }, + VMScale = Vector(1, 1, 1) + }, + { + PrintName = "Ammo Type", + DefaultAttName = "\"FMJ\" Full Metal Jacket", + DefaultAttIcon = Material("entities/att/arccw_uc_ammo_generic.png", "mips smooth"), + Slot = "uc_ammo", + }, + { + PrintName = "Powder Load", + Slot = "uc_powder", + DefaultAttName = "Standard Load" + }, + { + PrintName = "Training Package", + Slot = "uc_tp", + DefaultAttName = "Basic Training" + }, + { + PrintName = "Internals", + Slot = "uc_fg", -- Fire group + DefaultAttName = "Standard Internals" + }, + { + PrintName = "Charm", + Slot = "charm", + FreeSlot = true, + Bone = "v_weapon.m249_Parent", -- relevant bone any attachments will be mostly referring to + Offset = { + vpos = Vector(0.6, -3.25, 4), -- offset that the attachment will be relative to the bone + vang = Angle(90, 0, -90), + wpos = Vector(6.099, 1.1, -3.301), + wang = Angle(171.817, 180-1.17, 0), + }, + }, +} + +SWEP.Hook_Think = function(wep) + local vm = wep:GetOwner():GetViewModel() + vm:SetPoseParameter( "sights", Lerp(wep:GetSightDelta(), 1, 0) ) +end + +SWEP.Hook_PostFireBullets = function(wep) + local owner = wep:GetOwner() + if IsValid(owner) and owner:IsPlayer() then + owner:SetVelocity(owner:GetAimVector() * (owner:IsOnGround() and -25 or -5)) + end +end + +-- Attachments -- + +SWEP.CamAttachment = 3 + +SWEP.RejectAttachments = { + ["lpak_polymer"] = true, +} + +SWEP.Animations = { + ["idle"] = { + Source = "idle", + Framerate = 60, + Time = 330 / 60, + }, + ["idle_empty"] = { + Source = "idle_empty", + Framerate = 60, + Time = 330 / 60, + }, + ["ready"] = { + Source = "idle", + Framerate = 60, + Time = 68 / 60, + LHIK = true, + LHIKIn = 0, + LHIKEaseOut = 0.3, + LHIKOut = 0.6, + SoundTable = { + --{ s = path .. "lowpolyfal_readydraw.ogg", t = 1 / 30, c = ca }, + }, + }, + ["draw"] = { + Source = "draw", + Framerate = 60, + }, + ["trigger"] = { -- Barrel spin-up + Source = "idle", + Time = 0.3, + SoundTable = { + {s = path .. "prefire.ogg", t = 0, c = CHAN_WEAPON, v = 0.5}, + }, + }, + ["trigger_iron"] = { + Source = "idle", + Time = 0.075, + SoundTable = { + {s = path .. "prefire.ogg", t = 0, c = CHAN_WEAPON}, + }, + }, + ["fire"] = { + Source = "fire", + Framerate = 60, + Time = 43 / 60, + ShellEjectAt = 0.01, + SoundTable = { + {s = common .. "common_mech_light.ogg", t = 0 }, + { s = {path .. "mech-01.ogg", path .. "mech-02.ogg", path .. "mech-03.ogg", path .. "mech-04.ogg", path .. "mech-05.ogg", path .. "mech-06.ogg"}, t = 0 } + }, + }, + ["fire_iron"] = { + Source = "fire", + Framerate = 60, + Time = 43 / 60, + ShellEjectAt = 0.01, + SoundTable = { + {s = common .. "common_mech_light.ogg", t = 0 }, + { s = {path .. "mech-01.ogg", path .. "mech-02.ogg", path .. "mech-03.ogg", path .. "mech-04.ogg", path .. "mech-05.ogg", path .. "mech-06.ogg"}, t = 0 } + }, + }, + ["fire_empty"] = { + Source = "fire_empty", + Framerate = 60, + Time = 43 / 60, + ShellEjectAt = 0.01, + SoundTable = {{ s = {path .. "mech-01.ogg", path .. "mech-02.ogg", path .. "mech-03.ogg", path .. "mech-04.ogg", path .. "mech-05.ogg", path .. "mech-06.ogg"}, t = 0, v = 0.25 }}, + }, + ["fire_iron_empty"] = { + Source = "fire_empty", + Framerate = 60, + Time = 43 / 60, + ShellEjectAt = 0.01, + SoundTable = { + {s = common .. "common_mech_heavy.ogg", t = 0, }, + {s = common .. "common_mech_light.ogg", t = 0, v = 0.45 }, + { s = {path .. "mech-01.ogg", path .. "mech-02.ogg", path .. "mech-03.ogg", path .. "mech-04.ogg", path .. "mech-05.ogg", path .. "mech-06.ogg"}, t = 0 } + }, + }, + + -- 100-R Reloads -- + + ["reload"] = { + Source = "reload", + TPAnim = ACT_HL2MP_GESTURE_RELOAD_AR2, + MinProgress = 1, + Time = 298 / 60, + Framerate = 60, + LastClip1OutTime = 2.4, + LHIK = true, + LHIKIn = 0.2, + LHIKEaseIn = 0.2, + LHIKEaseOut = 0.2, + LHIKOut = 0.62, + SoundTable = { + { s = common .. "cloth_4.ogg", t = 4 / 30, c = ca }, + { s = path .. "lidopen.ogg", t = 10 / 30, c = ca }, + { s = path .. "belt1.ogg", t = 25 / 30, c = ca }, + { s = common .. "cloth_2.ogg", t = 30 / 30, c = ca }, + { s = path .. "boxremove.ogg", t = 35 / 30, c = ca }, + { s = common .. "cloth_3.ogg", t = 50 / 30, c = ca }, + { s = path .. "boxinsert.ogg", t = 68 / 30, c = ca }, + { s = common .. "cloth_1.ogg", t = 85 / 30, c = ca }, + { s = path .. "belt2.ogg", t = 90 / 30, c = ca }, + { s = common .. "cloth_2.ogg", t = 110 / 30, c = ca }, + { s = path .. "lidclose.ogg", t = 115 / 30, c = ca }, + { s = path .. "grab.ogg", t = 130 / 30, c = ca, v = 0.25 }, + { s = common .. "shoulder.ogg", t = 135 / 30, c = ca }, + }, + }, + ["reload_empty"] = { + Source = "reload_empty", + TPAnim = ACT_HL2MP_GESTURE_RELOAD_AR2, + Framerate = 60, + Time = 344 / 60, + LastClip1OutTime = 3, + LHIK = true, + LHIKIn = 2.2, + LHIKEaseIn = 0.1, + LHIKEaseOut = 0.15, + LHIKOut = 0.7, + SoundTable = { + { s = common .. "cloth_4.ogg", t = 4 / 30, c = ca }, + { s = path .. "chback.ogg", t = 15 / 30, c = ca }, + { s = path .. "chforward.ogg", t = 25 / 30, c = ca }, + { s = common .. "cloth_1.ogg", t = 26 / 30, c = ca }, + { s = path .. "lidopen.ogg", t = 39 / 30, c = ca }, + { s = common .. "cloth_2.ogg", t = 40 / 30, c = ca }, + { s = path .. "boxremove.ogg", t = 55 / 30, c = ca }, + { s = common .. "cloth_3.ogg", t = 80 / 30, c = ca }, + { s = path .. "boxinsert.ogg", t = 90 / 30, c = ca }, + { s = path .. "belt2.ogg", t = 111 / 30, c = ca }, + { s = common .. "cloth_2.ogg", t = 125 / 30, c = ca }, + { s = path .. "lidclose.ogg", t = 140 / 30, c = ca, v = 1 }, + { s = path .. "grab.ogg", t = 150 / 30, c = ca, v = 0.25 }, + { s = common .. "shoulder.ogg", t = 155 / 30, c = ca }, + }, + }, + + -- Inspecc -- + + ["enter_inspect"] = { + Source = "enter_inspect", + time = 70 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0.3, + LHIKOut = 0, + SoundTable = { + { s = path .. "lowpolyfal_cloth2.ogg", t = 0 / 30, c = ca }, + }, + }, + ["idle_inspect"] = { + Source = "idle_inspect", + time = 120 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0, + LHIKOut = 0, + }, + ["exit_inspect"] = { + Source = "exit_inspect", + time = 143 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0, + LHIKEaseOut = 0.3, + LHIKOut = 0.84, + SoundTable = { + { s = path .. "lowpolyfal_cloth1.ogg", t = 2 / 30, c = ca }, + }, + }, + + ["enter_inspect_empty"] = { + Source = "enter_inspect_empty", + time = 70 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0.1, + LHIKOut = 0, + SoundTable = { + { s = path .. "lowpolyfal_cloth2.ogg", t = 0 / 30, c = ca }, + }, + }, + ["idle_inspect_empty"] = { + Source = "idle_inspect_empty", + time = 120 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0, + LHIKOut = 0, + }, + ["exit_inspect_empty"] = { + Source = "exit_inspect_empty", + time = 143 / 60, + Framerate = 60, + LHIK = true, + LHIKIn = 0, + LHIKEaseOut = 0.3, + LHIKOut = 0.84, + SoundTable = { + { s = path .. "lowpolyfal_cloth1.ogg", t = 2 / 30, c = ca }, + }, + }, +} \ No newline at end of file diff --git a/materials/models/weapons/arccw/ua_m82/M82_B.vtf b/materials/models/weapons/arccw/ua_m82/M82_B.vtf new file mode 100644 index 0000000..4281321 --- /dev/null +++ b/materials/models/weapons/arccw/ua_m82/M82_B.vtf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f73c7ccd8cb3c2c00fe9ed5b6a8ffbfc6f910dbe4aef3d56c5c923a23b5aa50d +size 33554577 diff --git a/materials/models/weapons/arccw/ua_m82/M82_Bullet_B.vtf b/materials/models/weapons/arccw/ua_m82/M82_Bullet_B.vtf new file mode 100644 index 0000000..37ae9ff --- /dev/null +++ b/materials/models/weapons/arccw/ua_m82/M82_Bullet_B.vtf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01432c7024aab2c2d23f2708e3e8ecd3d1609a5276492fa2e7ef5fcd289e5cfb +size 5592568 diff --git a/materials/models/weapons/arccw/ua_m82/M82_Bullet_E.vtf b/materials/models/weapons/arccw/ua_m82/M82_Bullet_E.vtf new file mode 100644 index 0000000..7ba7269 --- /dev/null +++ b/materials/models/weapons/arccw/ua_m82/M82_Bullet_E.vtf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b8ef9684c771ad578d338e41b9f8816ef6c14b3fd486fc699d49e443a2cb18c +size 5592568 diff --git a/materials/models/weapons/arccw/ua_m82/M82_Bullet_N.vtf b/materials/models/weapons/arccw/ua_m82/M82_Bullet_N.vtf new file mode 100644 index 0000000..43c01c1 --- /dev/null +++ b/materials/models/weapons/arccw/ua_m82/M82_Bullet_N.vtf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93d6f1924676a26fc4e5423d273ec77ae23da8c3c651c608d7290fb59360034b +size 5592568 diff --git a/materials/models/weapons/arccw/ua_m82/M82_E.vtf b/materials/models/weapons/arccw/ua_m82/M82_E.vtf new file mode 100644 index 0000000..58a8981 --- /dev/null +++ b/materials/models/weapons/arccw/ua_m82/M82_E.vtf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a4a6835ddde33e16c4c37a719806e6f4c210419855f36b75cdfcb29c3c312f7 +size 33554577 diff --git a/materials/models/weapons/arccw/ua_m82/M82_N.vtf b/materials/models/weapons/arccw/ua_m82/M82_N.vtf new file mode 100644 index 0000000..6760c86 --- /dev/null +++ b/materials/models/weapons/arccw/ua_m82/M82_N.vtf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5284c97483244991bd06e952d8f4f9803393b80f9f73b7cb9ba0d461d94e59de +size 5592568 diff --git a/materials/models/weapons/arccw/ua_m82/MI_1P_Ammunition.vmt b/materials/models/weapons/arccw/ua_m82/MI_1P_Ammunition.vmt new file mode 100644 index 0000000..5b67d7e --- /dev/null +++ b/materials/models/weapons/arccw/ua_m82/MI_1P_Ammunition.vmt @@ -0,0 +1,29 @@ +"VertexLitGeneric" +{ +// maps + "$basetexture" "models\weapons\arccw\ua_m82\M82_Bullet_B" // string -- main texture + "$bumpmap" "models\weapons\arccw\ua_m82\M82_Bullet_N" // string -- normal map texture (bump map for brushes) + "$phongexponenttexture" "models\weapons\arccw\ua_m82\M82_Bullet_E" // string -- phong exponent texture (contains info for other shaders) + +// map interp + "$color2" "[.4 .4 .4]" // vector -- rgb tinting of the basetexture + "$blendTintByBaseAlpha" "1" // bool -- uses base texture's alpha channel to mask color2's effect + +// phong (convar: mat_phong "bool") + "$phong" "1" // bool -- phong enabler, have this on 1 if you have a central neural system + "$phongboost" "1" // float -- phong intensity coefficient on top of normal map's alpha (aka phong mask) + "$phongfresnelranges" "[.05 0.1 1]" // vector -- phong fresnel ranges, default are [0 0.5 1] + "$phongalbedotint" "1" // bool -- enables basetexture tinting of the phong's color but masks it with phongexponent's green channel + "$phongtint" "[0 0 0]" +// rimlight (convar: mat_rimlight "bool") + "$rimlight" "0" // bool -- rimlight enabler, doesn't have to be on, use if needed + "$rimmask" "0" // bool -- rimlight masking through exponent's alpha channel (use alpha vtf format) + "$rimlightboost" "0" // float -- rimlight intensity coefficient + "$rimlightexponent" "0" // float -- rimlight exponent + + "$nocull" "1" + +// envmap (convar: mat_specular "bool") + "$envmap" "env_cubemap" // string -- path to envmap or envmap entity name + "$envmaptint" "[.01 .01 .01]" // vector -- rgb tinting of the envmap: all dimentions should be equal, ideally +} diff --git a/materials/models/weapons/arccw/ua_m82/MI_1P_M82.vmt b/materials/models/weapons/arccw/ua_m82/MI_1P_M82.vmt new file mode 100644 index 0000000..773ea14 --- /dev/null +++ b/materials/models/weapons/arccw/ua_m82/MI_1P_M82.vmt @@ -0,0 +1,29 @@ +"VertexLitGeneric" +{ +// maps + "$basetexture" "models\weapons\arccw\ua_m82\M82_B" // string -- main texture + "$bumpmap" "models\weapons\arccw\ua_m82\M82_N" // string -- normal map texture (bump map for brushes) + "$phongexponenttexture" "models\weapons\arccw\ua_m82\M82_E" // string -- phong exponent texture (contains info for other shaders) + +// map interp + "$color2" "[.85 .85 .85]" // vector -- rgb tinting of the basetexture + "$blendTintByBaseAlpha" "1" // bool -- uses base texture's alpha channel to mask color2's effect + +// phong (convar: mat_phong "bool") + "$phong" "1" // bool -- phong enabler, have this on 1 if you have a central neural system + "$phongboost" "1" // float -- phong intensity coefficient on top of normal map's alpha (aka phong mask) + "$phongfresnelranges" "[0.2 .6 .3]" // vector -- phong fresnel ranges, default are [0 0.5 1] + "$phongalbedotint" "1" // bool -- enables basetexture tinting of the phong's color but masks it with phongexponent's green channel + "$phongtint" "[.17 .17 .17]" +// rimlight (convar: mat_rimlight "bool") + "$rimlight" "0" // bool -- rimlight enabler, doesn't have to be on, use if needed + "$rimmask" "1" // bool -- rimlight masking through exponent's alpha channel (use alpha vtf format) + "$rimlightboost" "1" // float -- rimlight intensity coefficient + "$rimlightexponent" "1" // float -- rimlight exponent + + "$nocull" "1" + +// envmap (convar: mat_specular "bool") + "$envmap" "env_cubemap" // string -- path to envmap or envmap entity name + "$envmaptint" "[.001 .001 .001]" // vector -- rgb tinting of the envmap: all dimentions should be equal, ideally +} diff --git a/models/weapons/arccw/c_ua_m82.dx90.vtx b/models/weapons/arccw/c_ua_m82.dx90.vtx new file mode 100644 index 0000000..8b52e15 --- /dev/null +++ b/models/weapons/arccw/c_ua_m82.dx90.vtx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f2742754813706d387a47709fbdfe5054c556b77ebf5b4cf05ed1f2d22f8105a +size 737508 diff --git a/models/weapons/arccw/c_ua_m82.mdl b/models/weapons/arccw/c_ua_m82.mdl new file mode 100644 index 0000000..a5bf330 --- /dev/null +++ b/models/weapons/arccw/c_ua_m82.mdl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d25663ac8e78701b0b91e3672acfebc8d5600859bd8a45e2b8b8e37ca3f26a4 +size 351252 diff --git a/models/weapons/arccw/c_ua_m82.phy b/models/weapons/arccw/c_ua_m82.phy new file mode 100644 index 0000000..06d8221 --- /dev/null +++ b/models/weapons/arccw/c_ua_m82.phy @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2292d7ff58a2054367883ca7b2cca4d27b9e14c835e55a984d273edada24e8f0 +size 1700 diff --git a/models/weapons/arccw/c_ua_m82.vvd b/models/weapons/arccw/c_ua_m82.vvd new file mode 100644 index 0000000..1381443 --- /dev/null +++ b/models/weapons/arccw/c_ua_m82.vvd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b6634c239bb645d6d4ce5d376aa68604c412aff08e56f560f670e5f059d46770 +size 2769152 diff --git a/sound/weapons/arccw_ue/m249/belt1.ogg b/sound/weapons/arccw_ue/m249/belt1.ogg new file mode 100644 index 0000000..f0d929e --- /dev/null +++ b/sound/weapons/arccw_ue/m249/belt1.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab97b8eedd041434419c77e3bd967b664914f9b28fabcd7af542134ba8cd2865 +size 22050 diff --git a/sound/weapons/arccw_ue/m249/belt2.ogg b/sound/weapons/arccw_ue/m249/belt2.ogg new file mode 100644 index 0000000..0cdf389 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/belt2.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7da9e07ac37cf3fa8c0612301011dd7e0012cfb1ad1fd3dfae37d7142cd76e43 +size 45514 diff --git a/sound/weapons/arccw_ue/m249/beltadjust.ogg b/sound/weapons/arccw_ue/m249/beltadjust.ogg new file mode 100644 index 0000000..0244753 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/beltadjust.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a60fb6c62189c3dac901fe4f09e874e2b783e5813ad85f4023bfa42d47ba3d58 +size 45282 diff --git a/sound/weapons/arccw_ue/m249/boxinsert.ogg b/sound/weapons/arccw_ue/m249/boxinsert.ogg new file mode 100644 index 0000000..586e964 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/boxinsert.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a602669328e4468794cd5bbef98bfa924ae5731b68e719c21843dd7fef20433 +size 29239 diff --git a/sound/weapons/arccw_ue/m249/boxremove.ogg b/sound/weapons/arccw_ue/m249/boxremove.ogg new file mode 100644 index 0000000..254e242 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/boxremove.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34b75fc522d2445c5e138dc6a9992d087675a28742621a06d8cb206ad87ffad1 +size 34383 diff --git a/sound/weapons/arccw_ue/m249/boxstruggle.ogg b/sound/weapons/arccw_ue/m249/boxstruggle.ogg new file mode 100644 index 0000000..88bb9c1 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/boxstruggle.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a99e5317c38562fd980937772dc70ede460e393cf223fdf55a42b8f46a6842c5 +size 27905 diff --git a/sound/weapons/arccw_ue/m249/chback.ogg b/sound/weapons/arccw_ue/m249/chback.ogg new file mode 100644 index 0000000..f07d0e0 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/chback.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2cb6a70fbb0022c4c64da6ea31f76e585881d66840110f49dd5955b0b2000c3 +size 31328 diff --git a/sound/weapons/arccw_ue/m249/chforward.ogg b/sound/weapons/arccw_ue/m249/chforward.ogg new file mode 100644 index 0000000..9a1c75f --- /dev/null +++ b/sound/weapons/arccw_ue/m249/chforward.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2274ecfda751096870bdb1dc54d3e9156e29e236fca03677d2af4aa1c78b2734 +size 41708 diff --git a/sound/weapons/arccw_ue/m249/dryfire.ogg b/sound/weapons/arccw_ue/m249/dryfire.ogg new file mode 100644 index 0000000..ac20275 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/dryfire.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:233ac990a5ff900a50a15a4cc1dbe7c42cea7a2f81bbfa1c3f1abfb223a793a2 +size 32850 diff --git a/sound/weapons/arccw_ue/m249/fire-01.ogg b/sound/weapons/arccw_ue/m249/fire-01.ogg new file mode 100644 index 0000000..e0b0982 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/fire-01.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab046f6f9738125424c3770b27ecfa140eb0348975718acedbf3837508c6ee76 +size 60828 diff --git a/sound/weapons/arccw_ue/m249/fire-02.ogg b/sound/weapons/arccw_ue/m249/fire-02.ogg new file mode 100644 index 0000000..c0ca91a --- /dev/null +++ b/sound/weapons/arccw_ue/m249/fire-02.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a33ae9df643e6a0926b7f0ae2ce80e2f87630415fd50e014c9e45f474992796 +size 61016 diff --git a/sound/weapons/arccw_ue/m249/fire-03.ogg b/sound/weapons/arccw_ue/m249/fire-03.ogg new file mode 100644 index 0000000..230fbb9 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/fire-03.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d535e0ea5058ad1ced24ed994b1261b6f75b8dc0bfc32466e42b9cc642e10db5 +size 59600 diff --git a/sound/weapons/arccw_ue/m249/fire-04.ogg b/sound/weapons/arccw_ue/m249/fire-04.ogg new file mode 100644 index 0000000..7169791 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/fire-04.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b79493b5c85c01197ea21720b8d3d40535e708db655ed919de21367171765eb3 +size 61741 diff --git a/sound/weapons/arccw_ue/m249/fire-05.ogg b/sound/weapons/arccw_ue/m249/fire-05.ogg new file mode 100644 index 0000000..3f9b684 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/fire-05.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a555d2f221e22a7e75803b21c4ed514cea31e69e17a1790efdd791a1455f914 +size 60574 diff --git a/sound/weapons/arccw_ue/m249/fire-06.ogg b/sound/weapons/arccw_ue/m249/fire-06.ogg new file mode 100644 index 0000000..26f3405 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/fire-06.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37fad25e4f84a1f54adc304eb58767b08f1b55f410f1e826a12aedcba26968f9 +size 59653 diff --git a/sound/weapons/arccw_ue/m249/grab.ogg b/sound/weapons/arccw_ue/m249/grab.ogg new file mode 100644 index 0000000..2c6b0f4 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/grab.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a005b61a87adcf044269f96bdc8022256dc8ee4344e25e2ce75598ed1eba879 +size 21056 diff --git a/sound/weapons/arccw_ue/m249/lidclose.ogg b/sound/weapons/arccw_ue/m249/lidclose.ogg new file mode 100644 index 0000000..7cc54ed --- /dev/null +++ b/sound/weapons/arccw_ue/m249/lidclose.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:340cc7d0dedee724c4b5e8a882d095b49934ed8e0177cc3fe363d6a4427768ff +size 45057 diff --git a/sound/weapons/arccw_ue/m249/lidopen.ogg b/sound/weapons/arccw_ue/m249/lidopen.ogg new file mode 100644 index 0000000..3f4f998 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/lidopen.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84ac3b390275be5de16f449169b54fe87c7bd4ceab9e2a3a11adad34f31ad5bf +size 67724 diff --git a/sound/weapons/arccw_ue/m249/mech-01.ogg b/sound/weapons/arccw_ue/m249/mech-01.ogg new file mode 100644 index 0000000..9ec53e8 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/mech-01.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68558f0285e3c0f4b2e54d9e86786fcdd9f986fdf54189afec794a42f5c85581 +size 26779 diff --git a/sound/weapons/arccw_ue/m249/mech-02.ogg b/sound/weapons/arccw_ue/m249/mech-02.ogg new file mode 100644 index 0000000..7037445 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/mech-02.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6682d67dbd78b9eb714b80c8edaf1aa177f14a8685abc55d084c3d27d1cfe748 +size 25273 diff --git a/sound/weapons/arccw_ue/m249/mech-03.ogg b/sound/weapons/arccw_ue/m249/mech-03.ogg new file mode 100644 index 0000000..415de57 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/mech-03.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a54b589b59737726e0875dc21874ceaa7682b90c4bc6c8432e8a2d6f287c3718 +size 25904 diff --git a/sound/weapons/arccw_ue/m249/mech-04.ogg b/sound/weapons/arccw_ue/m249/mech-04.ogg new file mode 100644 index 0000000..f8ea392 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/mech-04.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cbff647ce101dccb0d49eace34291d0ae4286d577897cc96dcf18e3f2292130b +size 25783 diff --git a/sound/weapons/arccw_ue/m249/mech-05.ogg b/sound/weapons/arccw_ue/m249/mech-05.ogg new file mode 100644 index 0000000..9955e09 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/mech-05.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d114e80d31ce8b1bc1058eb1804dc98649cfb445b74933d5e87fb26e493e374 +size 25461 diff --git a/sound/weapons/arccw_ue/m249/mech-06.ogg b/sound/weapons/arccw_ue/m249/mech-06.ogg new file mode 100644 index 0000000..653bcb4 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/mech-06.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df02e8496420046eaba8e51d7d8dc86964cc02c955d207f43b56de54e154d383 +size 27381 diff --git a/sound/weapons/arccw_ue/m249/prefire.ogg b/sound/weapons/arccw_ue/m249/prefire.ogg new file mode 100644 index 0000000..76ced50 --- /dev/null +++ b/sound/weapons/arccw_ue/m249/prefire.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7526258d99713e2bf4d3d5cd7d0b7fc08e323e52a5b033a0ebb92b1e5ab111a4 +size 17272 diff --git a/sound/weapons/arccw_ue/m60/belt1.ogg b/sound/weapons/arccw_ue/m60/belt1.ogg new file mode 100644 index 0000000..5834cc0 --- /dev/null +++ b/sound/weapons/arccw_ue/m60/belt1.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:017f3a1631bab18dd8784c31862921e00cc0d138f35b97109ffcffdf8c167aad +size 24070 diff --git a/sound/weapons/arccw_ue/m60/belt2.ogg b/sound/weapons/arccw_ue/m60/belt2.ogg new file mode 100644 index 0000000..8036699 --- /dev/null +++ b/sound/weapons/arccw_ue/m60/belt2.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f14538a38399dc04325e8954c6c9da724f4c9286cc45af12343ff9723cb535e +size 37349 diff --git a/sound/weapons/arccw_ue/m60/bolt_forward.ogg b/sound/weapons/arccw_ue/m60/bolt_forward.ogg new file mode 100644 index 0000000..3b04a88 --- /dev/null +++ b/sound/weapons/arccw_ue/m60/bolt_forward.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80455e5275618449a70e26f0e4cbe2422b4c8efbb3e322b1584a155d803e99c4 +size 7706 diff --git a/sound/weapons/arccw_ue/m60/boxinsert.ogg b/sound/weapons/arccw_ue/m60/boxinsert.ogg new file mode 100644 index 0000000..0891474 --- /dev/null +++ b/sound/weapons/arccw_ue/m60/boxinsert.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cea02fa6b73560909936e39f460ecebaed3e6219b8db0174486f1c843aa80394 +size 31149 diff --git a/sound/weapons/arccw_ue/m60/boxremove.ogg b/sound/weapons/arccw_ue/m60/boxremove.ogg new file mode 100644 index 0000000..f6498fe --- /dev/null +++ b/sound/weapons/arccw_ue/m60/boxremove.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9755f7dc062002a1b44de3c0ee3398242045337d2edef78e7e91f74453e9f703 +size 46047 diff --git a/sound/weapons/arccw_ue/m60/chback.ogg b/sound/weapons/arccw_ue/m60/chback.ogg new file mode 100644 index 0000000..cc70b92 --- /dev/null +++ b/sound/weapons/arccw_ue/m60/chback.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7165795545c7eee8df46953d6f014a7ef1188d61284d6802328ceb5f96d1f8b4 +size 36052 diff --git a/sound/weapons/arccw_ue/m60/chforward.ogg b/sound/weapons/arccw_ue/m60/chforward.ogg new file mode 100644 index 0000000..2b1562d --- /dev/null +++ b/sound/weapons/arccw_ue/m60/chforward.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f77211aac0a269cfc397a00d2c7965954194f67c08177a572203479e18822160 +size 36769 diff --git a/sound/weapons/arccw_ue/m60/fire-01.ogg b/sound/weapons/arccw_ue/m60/fire-01.ogg new file mode 100644 index 0000000..ce355ae --- /dev/null +++ b/sound/weapons/arccw_ue/m60/fire-01.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3e7aa28ef32926d1c4d3423ac78d8240df2667e6cc09d20e25aa43dc671bf64b +size 58219 diff --git a/sound/weapons/arccw_ue/m60/fire-02.ogg b/sound/weapons/arccw_ue/m60/fire-02.ogg new file mode 100644 index 0000000..919b0bc --- /dev/null +++ b/sound/weapons/arccw_ue/m60/fire-02.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:217bdd7034dec4b2cdc33d32e168262a5d9e69788de37cdce03d15969bcf6c39 +size 57681 diff --git a/sound/weapons/arccw_ue/m60/fire-03.ogg b/sound/weapons/arccw_ue/m60/fire-03.ogg new file mode 100644 index 0000000..ce24eb7 --- /dev/null +++ b/sound/weapons/arccw_ue/m60/fire-03.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a1481645f71f2674aed3f43a01d89caab9f603cf62187f2aefe3f72ec9b08d7c +size 59411 diff --git a/sound/weapons/arccw_ue/m60/fire-04.ogg b/sound/weapons/arccw_ue/m60/fire-04.ogg new file mode 100644 index 0000000..b410694 --- /dev/null +++ b/sound/weapons/arccw_ue/m60/fire-04.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5fb49b8dc49ebe0552f5702742d159b77ef24ff7702261dd8e0ee6b4c3d7dc76 +size 58190 diff --git a/sound/weapons/arccw_ue/m60/fire-05.ogg b/sound/weapons/arccw_ue/m60/fire-05.ogg new file mode 100644 index 0000000..597182e --- /dev/null +++ b/sound/weapons/arccw_ue/m60/fire-05.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fc450572241dc41eb83013e07d6a1bd242f0ada130d7d5f8e65fe23da39cd2e +size 59221 diff --git a/sound/weapons/arccw_ue/m60/fire-06.ogg b/sound/weapons/arccw_ue/m60/fire-06.ogg new file mode 100644 index 0000000..655d969 --- /dev/null +++ b/sound/weapons/arccw_ue/m60/fire-06.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d590ea975e07db520fb81beedd85e13045bb35c19c2360aa7468fc0e8efb93e1 +size 59741 diff --git a/sound/weapons/arccw_ue/m60/grab.ogg b/sound/weapons/arccw_ue/m60/grab.ogg new file mode 100644 index 0000000..1b3f1aa --- /dev/null +++ b/sound/weapons/arccw_ue/m60/grab.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:285235df3ac7ce093750e3c55c9670ca3c72662f10877164c27b267bee7fa80d +size 18705 diff --git a/sound/weapons/arccw_ue/m60/lidclose.ogg b/sound/weapons/arccw_ue/m60/lidclose.ogg new file mode 100644 index 0000000..7be460c --- /dev/null +++ b/sound/weapons/arccw_ue/m60/lidclose.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d452b6b059cd0740b577176f2a2db4237697726a2f5128ea8d5acda349d059c +size 31781 diff --git a/sound/weapons/arccw_ue/m60/lidopen.ogg b/sound/weapons/arccw_ue/m60/lidopen.ogg new file mode 100644 index 0000000..c4190d7 --- /dev/null +++ b/sound/weapons/arccw_ue/m60/lidopen.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf14e2339f8f986b1b7db92a6d177ac5daee3dacaa034c7ecd35d22afd6ea657 +size 32434 diff --git a/sound/weapons/arccw_ue/m60/mech-01.ogg b/sound/weapons/arccw_ue/m60/mech-01.ogg new file mode 100644 index 0000000..70c70f2 --- /dev/null +++ b/sound/weapons/arccw_ue/m60/mech-01.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:989244a8a8c0017e38c243852776ba0e73d23be7e77674a714b6d9acdb6297db +size 41312 diff --git a/sound/weapons/arccw_ue/m60/mech-02.ogg b/sound/weapons/arccw_ue/m60/mech-02.ogg new file mode 100644 index 0000000..dd7a5e6 --- /dev/null +++ b/sound/weapons/arccw_ue/m60/mech-02.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f1aaae888c8e9a6ab9af276e6981df0edc725cc2e6cdb9c24e1383929f998a9e +size 43189 diff --git a/sound/weapons/arccw_ue/m60/mech-03.ogg b/sound/weapons/arccw_ue/m60/mech-03.ogg new file mode 100644 index 0000000..5b455e6 --- /dev/null +++ b/sound/weapons/arccw_ue/m60/mech-03.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5efe60dd9ecd3f7c1c996923b229f22db38287575144845aee78be59558b849 +size 41919 diff --git a/sound/weapons/arccw_ue/m60/mech-04.ogg b/sound/weapons/arccw_ue/m60/mech-04.ogg new file mode 100644 index 0000000..9de552d --- /dev/null +++ b/sound/weapons/arccw_ue/m60/mech-04.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2884aeb0cf60b99d2d45d39b211bdd02a5b806d95b93b547f087df67477c1c2c +size 45160 diff --git a/sound/weapons/arccw_ue/m60/mech-05.ogg b/sound/weapons/arccw_ue/m60/mech-05.ogg new file mode 100644 index 0000000..0f486b6 --- /dev/null +++ b/sound/weapons/arccw_ue/m60/mech-05.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f25a0f69bb70c8d9383804c3444f97455ef508c296a897781904a916fca71027 +size 42321 diff --git a/sound/weapons/arccw_ue/m60/mech-06.ogg b/sound/weapons/arccw_ue/m60/mech-06.ogg new file mode 100644 index 0000000..a0d7f37 --- /dev/null +++ b/sound/weapons/arccw_ue/m60/mech-06.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd3ac74f295137102101cf9e6fe2e53dc9f21c0201a504e80d6f5caa526c4e17 +size 42085 diff --git a/sound/weapons/arccw_ue/m60/mech.ogg b/sound/weapons/arccw_ue/m60/mech.ogg new file mode 100644 index 0000000..b1518f4 --- /dev/null +++ b/sound/weapons/arccw_ue/m60/mech.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec493f1e4c36c2cfb0368a2ba6092d40261aa2143c3dfd35ee7e31330908417b +size 26755 diff --git a/sound/weapons/arccw_ue/m60/prefire.ogg b/sound/weapons/arccw_ue/m60/prefire.ogg new file mode 100644 index 0000000..3a23252 --- /dev/null +++ b/sound/weapons/arccw_ue/m60/prefire.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e752c9b0ae17d454dd6d18ff9000eda792dff54f7cbaa2c6ebe8fd8e660d5ace +size 22866 diff --git a/sound/weapons/arccw_ue/m60/ref.ogg b/sound/weapons/arccw_ue/m60/ref.ogg new file mode 100644 index 0000000..0f612de --- /dev/null +++ b/sound/weapons/arccw_ue/m60/ref.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db0b44c42a75c066a162b8785953e42bd70e0e4a01400df34300ff7220d4792f +size 217855 diff --git a/sound/weapons/arccw_ue/m82/chamber.ogg b/sound/weapons/arccw_ue/m82/chamber.ogg new file mode 100644 index 0000000..e77e580 --- /dev/null +++ b/sound/weapons/arccw_ue/m82/chamber.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:045d1731745d959ae2aa2e6db9fde15ea675bbc566b06dc40417cdc8da6ca434 +size 96336 diff --git a/sound/weapons/arccw_ue/m82/chback.ogg b/sound/weapons/arccw_ue/m82/chback.ogg new file mode 100644 index 0000000..7de965c --- /dev/null +++ b/sound/weapons/arccw_ue/m82/chback.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66c0ecd93d3a6213cdefb62b0e8bf391ccfc7a78823bbd6561868aec3ae8f342 +size 48764 diff --git a/sound/weapons/arccw_ue/m82/chstart.ogg b/sound/weapons/arccw_ue/m82/chstart.ogg new file mode 100644 index 0000000..f7966e4 --- /dev/null +++ b/sound/weapons/arccw_ue/m82/chstart.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d64240b686d2a8d993ddb38e97fa40ffe9bd277d4256eb6e53f82a75ed21991 +size 19345 diff --git a/sound/weapons/arccw_ue/m82/fire-01.ogg b/sound/weapons/arccw_ue/m82/fire-01.ogg new file mode 100644 index 0000000..2bdef12 --- /dev/null +++ b/sound/weapons/arccw_ue/m82/fire-01.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17f67d377a00b9f022670bff662a771023bfcd05a2be6afbfedfd02988b33016 +size 110753 diff --git a/sound/weapons/arccw_ue/m82/fire-02.ogg b/sound/weapons/arccw_ue/m82/fire-02.ogg new file mode 100644 index 0000000..c6d670a --- /dev/null +++ b/sound/weapons/arccw_ue/m82/fire-02.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f845f842e53b0c78553a9fb6c1db21299fe28f3ff04724e7c5bc94a08942c728 +size 115233 diff --git a/sound/weapons/arccw_ue/m82/fire-03.ogg b/sound/weapons/arccw_ue/m82/fire-03.ogg new file mode 100644 index 0000000..1cec77b --- /dev/null +++ b/sound/weapons/arccw_ue/m82/fire-03.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f10d8aa47901ec05742c5b4f079ae48131a293fa3b792caa9a0b4502bb8310af +size 115470 diff --git a/sound/weapons/arccw_ue/m82/fire-04.ogg b/sound/weapons/arccw_ue/m82/fire-04.ogg new file mode 100644 index 0000000..b062ded --- /dev/null +++ b/sound/weapons/arccw_ue/m82/fire-04.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f0a6a9429b7baddd12bc5ddf4396692d701232103c63546b67d12f91322e2bd +size 117532 diff --git a/sound/weapons/arccw_ue/m82/fire-05.ogg b/sound/weapons/arccw_ue/m82/fire-05.ogg new file mode 100644 index 0000000..6f02491 --- /dev/null +++ b/sound/weapons/arccw_ue/m82/fire-05.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ae322e6cc8786f22e8abc9584f74f7af543ddf7b66cf85ddcb6ec608938de60 +size 115045 diff --git a/sound/weapons/arccw_ue/m82/fire-06.ogg b/sound/weapons/arccw_ue/m82/fire-06.ogg new file mode 100644 index 0000000..4ed11dd --- /dev/null +++ b/sound/weapons/arccw_ue/m82/fire-06.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b32146b24ce4f04abaacd882f00b9c028f6d89064f37fd39fa7bda7dbc15f3ea +size 113428 diff --git a/sound/weapons/arccw_ue/m82/grab.ogg b/sound/weapons/arccw_ue/m82/grab.ogg new file mode 100644 index 0000000..ea72325 --- /dev/null +++ b/sound/weapons/arccw_ue/m82/grab.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2549de01884c3ce48ce692113f27da093537f5077818a3fdc4e5db3f8040dfb2 +size 75625 diff --git a/sound/weapons/arccw_ue/m82/magin.ogg b/sound/weapons/arccw_ue/m82/magin.ogg new file mode 100644 index 0000000..7e6565b --- /dev/null +++ b/sound/weapons/arccw_ue/m82/magin.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d60512af924912773c3030d8052cacd9f4d67480611001d035efcfd8d2d9c5fb +size 43514 diff --git a/sound/weapons/arccw_ue/m82/magout.ogg b/sound/weapons/arccw_ue/m82/magout.ogg new file mode 100644 index 0000000..d602082 --- /dev/null +++ b/sound/weapons/arccw_ue/m82/magout.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:703a341cc345d3b61b0cbdb58c407ac200c4cca1cf6d4772210ab3693ef6d8ae +size 27251 diff --git a/sound/weapons/arccw_ue/m82/magrel.ogg b/sound/weapons/arccw_ue/m82/magrel.ogg new file mode 100644 index 0000000..11b9f94 --- /dev/null +++ b/sound/weapons/arccw_ue/m82/magrel.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4fd5d880fdc9a42e9f431bcc635df66e741b187f7277583188d0068fc1ce181 +size 44470 diff --git a/sound/weapons/arccw_ue/m82/magtap.ogg b/sound/weapons/arccw_ue/m82/magtap.ogg new file mode 100644 index 0000000..8aa372c --- /dev/null +++ b/sound/weapons/arccw_ue/m82/magtap.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1cb2733dc8c9ddf763b2744ca78a8af1dfc8046c8e946e7a991ed90a22c60ab4 +size 52664 diff --git a/sound/weapons/arccw_ue/m82/magtouch.ogg b/sound/weapons/arccw_ue/m82/magtouch.ogg new file mode 100644 index 0000000..d1dab53 --- /dev/null +++ b/sound/weapons/arccw_ue/m82/magtouch.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eeedf7359c4977645d7440b25047d6c67d6e08921bd5f5210c8e20b98c18aac8 +size 15600 diff --git a/sound/weapons/arccw_ue/m82/mech-01.ogg b/sound/weapons/arccw_ue/m82/mech-01.ogg new file mode 100644 index 0000000..38a37ff --- /dev/null +++ b/sound/weapons/arccw_ue/m82/mech-01.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d54cd29a8fc5993a2c01aef916443850ae6348c5c5a0eff3782899d23593a76 +size 49867 diff --git a/sound/weapons/arccw_ue/m82/mech-02.ogg b/sound/weapons/arccw_ue/m82/mech-02.ogg new file mode 100644 index 0000000..c48774b --- /dev/null +++ b/sound/weapons/arccw_ue/m82/mech-02.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e86a9068cd210176e09f9fbbadbbd60710341fec1d322c29b80cd0e8ad80f135 +size 50296 diff --git a/sound/weapons/arccw_ue/m82/mech-03.ogg b/sound/weapons/arccw_ue/m82/mech-03.ogg new file mode 100644 index 0000000..5504ddf --- /dev/null +++ b/sound/weapons/arccw_ue/m82/mech-03.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1dbe3d5264b60e3f9ac921bada4e97b65eee42af1c72af63dce174d416b77e8 +size 51505 diff --git a/sound/weapons/arccw_ue/m82/mech-04.ogg b/sound/weapons/arccw_ue/m82/mech-04.ogg new file mode 100644 index 0000000..7c289ff --- /dev/null +++ b/sound/weapons/arccw_ue/m82/mech-04.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9a0708bdbe10c7bd0a33a5e1a6bda848c1a8f969d47b5b5d67eee03a3280c60 +size 51482 diff --git a/sound/weapons/arccw_ue/m82/mech-05.ogg b/sound/weapons/arccw_ue/m82/mech-05.ogg new file mode 100644 index 0000000..c9aba19 --- /dev/null +++ b/sound/weapons/arccw_ue/m82/mech-05.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:36012109fcc8d3a9a1369549cbf837cc8e569eb08f9db533d3095851c33b977b +size 50559 diff --git a/sound/weapons/arccw_ue/m82/mech-06.ogg b/sound/weapons/arccw_ue/m82/mech-06.ogg new file mode 100644 index 0000000..6a932b5 --- /dev/null +++ b/sound/weapons/arccw_ue/m82/mech-06.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63fe4b972082e86ea9acab1bdc3a9f5a5d73c5fcc7296065ba5cc22feab4e9d8 +size 51179 diff --git a/sound/weapons/arccw_ue/m82/struggle.ogg b/sound/weapons/arccw_ue/m82/struggle.ogg new file mode 100644 index 0000000..f5f35c7 --- /dev/null +++ b/sound/weapons/arccw_ue/m82/struggle.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:39f4270bb986b69a29f4acfc43ab47bf8c3aad89b1d14ad90d2f3581fe8ebd80 +size 45876