Залив
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "ZLR J-2800 Influx"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/aalpha12/attachment_vm_sh_aalpha12_barhvy.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/aalpha12/icon_attachment_sh_aalpha12_barhvy.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.9
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.9
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 0.9
|
||||
weapon.Cone.Ads = weapon.Cone.Ads * 0.9
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.08
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "ZLR J-3600 Torrent"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/aalpha12/attachment_vm_sh_aalpha12_barlong.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/aalpha12/icon_attachment_sh_aalpha12_barlong.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.85
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.85
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.85
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.85
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 0.85
|
||||
weapon.Cone.Ads = weapon.Cone.Ads * 0.85
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.15
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/aalpha12/attachment_vm_sh_aalpha12_barrel.mdl")
|
||||
@@ -0,0 +1,20 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "JAK Urban King"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/aalpha12/attachment_vm_sh_aalpha12_barshort.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/aalpha12/icon_attachment_sh_aalpha12_barshort.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.15
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.15
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.1
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.1
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 1.2
|
||||
weapon.Cone.Ads = weapon.Cone.Ads * 1.2
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 0.9
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_angledgrip01"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_grip_hide"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_ang_offset")
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_angledgrip02"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_grip_hide"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_ang_offset")
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_stubbygrip01"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_grip_hide"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_offset")
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_stubbygrip02"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_grip_hide"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_offset")
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_vertgrip01"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_grip_hide"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_offset")
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_vertgrip02"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_grip_hide"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_offset")
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_vertgrip03"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_grip_hide"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_offset")
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_laser01"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_laser"] = 1
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.LaserAimAngles = Angle(-0.3, 0.05, -45)
|
||||
weapon.LaserAimPos = Vector(-2, 0, 0)
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_laser02"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_laser"] = 1
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.LaserAimAngles = Angle(-0.3, 0.05, -45)
|
||||
weapon.LaserAimPos = Vector(-2, 0, 0)
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_laser03"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_laser"] = 1
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.LaserAimAngles = Angle(-0.3, 0.05, -45)
|
||||
weapon.LaserAimPos = Vector(-2, 0, 0)
|
||||
end
|
||||
@@ -0,0 +1,31 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "32 Round Drum Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/aalpha12/attachment_vm_sh_aalpha12_drummag.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/aalpha12/icon_attachment_sh_aalpha12_drummag.vmt")
|
||||
ATTACHMENT.ExcludedAttachments = {"attachment_vm_sh_aalpha12_none"}
|
||||
|
||||
--Current mag
|
||||
ATTACHMENT.BulletList = {
|
||||
[0] = {"j_ammoshell1"},
|
||||
[1] = {"j_ammoshell2"},
|
||||
}
|
||||
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Primary.ClipSize = 32
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.7
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.7
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.7
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.7
|
||||
weapon.Animations.Reload = weapon.Animations.reload_drum
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.reload_empty_drum
|
||||
weapon.Animations.Inspect = weapon.Animations.inspect_drum
|
||||
weapon.Animations.Reload.Fps = weapon.Animations.Reload.Fps * 0.8
|
||||
weapon.Animations.Reload_Empty.Fps = weapon.Animations.Reload_Empty.Fps * 0.8
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
end
|
||||
@@ -0,0 +1,8 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/aalpha12/attachment_vm_sh_aalpha12_mag.mdl")
|
||||
|
||||
--Current mag
|
||||
ATTACHMENT.BulletList = {
|
||||
[0] = {"j_ammoshell1"},
|
||||
[1] = {"j_ammoshell2"},
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "12g Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/aalpha12/attachment_vm_sh_aalpha12_slugmag.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/aalpha12/icon_attachment_sh_aalpha12_slugmag.vmt")
|
||||
--Current mag
|
||||
ATTACHMENT.BulletList = {
|
||||
[0] = {"j_ammoshell1"},
|
||||
[1] = {"j_ammoshell2"},
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
weapon.Shell = "mwb_shelleject_12g_green"
|
||||
|
||||
if (weapon:HasAttachment("att_ammo_flechette")) then
|
||||
return
|
||||
end
|
||||
|
||||
weapon.Bullet.NumBullets = 6
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
end
|
||||
@@ -0,0 +1,27 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "20 Round Drum Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/aalpha12/attachment_vm_sh_aalpha12_xmags.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/aalpha12/icon_attachment_sh_aalpha12_xmags.vmt")
|
||||
--Current mag
|
||||
ATTACHMENT.BulletList = {
|
||||
[0] = {"j_ammoshell1"},
|
||||
[1] = {"j_ammoshell2"},
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Primary.ClipSize = 20
|
||||
weapon.Animations.Reload = weapon.Animations.reload_drum
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.reload_empty_drum
|
||||
weapon.Animations.Inspect = weapon.Animations.inspect_drum
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.84
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.84
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.8
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.8
|
||||
weapon.Animations.Reload.Fps = weapon.Animations.Reload.Fps * 0.9
|
||||
weapon.Animations.Reload_Empty.Fps = weapon.Animations.Reload_Empty.Fps * 0.9
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
ATTACHMENT.Base = "att_perk_soh"
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Reload = weapon.Animations.Reload_Fast
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.Reload_Empty_Fast
|
||||
weapon.Animations.reload_drum = weapon.Animations.reload_drum_fast
|
||||
weapon.Animations.reload_empty_drum = weapon.Animations.reload_drum_empty_fast
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "ZLR Tsunami"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/aalpha12/attachment_vm_sh_aalpha12_stockh.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/aalpha12/icon_attachment_sh_aalpha12_stockh.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 0.8
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.91
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.91
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.94
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.94
|
||||
end
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "JAK Rabbit Ultralight"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/aalpha12/attachment_vm_sh_aalpha12_stockl.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/aalpha12/icon_attachment_sh_aalpha12_stockl.vmt")
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["tag_stock"] = 1
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.1
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.1
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 1.25
|
||||
end
|
||||
@@ -0,0 +1,13 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "FSS Power Wrap"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/aalpha12/attachment_vm_sh_aalpha12_stocks.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/aalpha12/icon_attachment_sh_aalpha12_stocks.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.15
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.15
|
||||
weapon.Recoil.Vertical[1] = weapon.Recoil.Vertical[1] * 1.12
|
||||
weapon.Recoil.Vertical[2] = weapon.Recoil.Vertical[2] * 1.12
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_barrel.mdl")
|
||||
@@ -0,0 +1,13 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "Spetsnaz Elite"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_custombarrel.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_custombarrel_akilo47.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Cone.Increase = weapon.Cone.Increase * 0.9
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.05
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.05
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 1.1
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "23.0 RPK Barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_lmgbarrel.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_lmgbarrel_akilo47.vmt")
|
||||
ATTACHMENT.Bipod = true
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.06
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 1.06
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.91
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.91
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.91
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.91
|
||||
weapon.PrintName = "RPK"
|
||||
end
|
||||
@@ -0,0 +1,28 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "23.0 Romanian"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_lmgbarrel_grip.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_gripvert_akilo47.vmt")
|
||||
ATTACHMENT.ExcludedCategories = {
|
||||
"Grips"
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.06
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 1.06
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.87
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.87
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.87
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.87
|
||||
weapon.Recoil.Vertical[1] = weapon.Recoil.Vertical[1] * 0.93
|
||||
weapon.Recoil.Vertical[2] = weapon.Recoil.Vertical[2] * 0.93
|
||||
weapon.HoldType = "RifleWithVerticalGrip"
|
||||
weapon.PrintName = "PM.md 63"
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_offset")
|
||||
|
||||
end
|
||||
@@ -0,0 +1,27 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "8.1 Compact Barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_smgbarcust.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_vertgrip_akilo47.vmt")
|
||||
ATTACHMENT.ExcludedCategories = {
|
||||
"Grips"
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 0.9
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 0.9
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.08
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.08
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.08
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.08
|
||||
weapon.Recoil.Horizontal[1] = weapon.Recoil.Horizontal[1] * 0.85
|
||||
weapon.Recoil.Horizontal[2] = weapon.Recoil.Horizontal[2] * 0.85
|
||||
weapon.HoldType = "RifleWithVerticalGrip"
|
||||
weapon.PrintName = "PM.md 90"
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_pro_offset")
|
||||
end
|
||||
@@ -0,0 +1,21 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "8.1 Compact Barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_smgbarrel_akilo47.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_smgbarrel_akilo47.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 0.9
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 0.9
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.1
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.1
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.1
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.1
|
||||
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_smg_pose_offset")
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_vm_angledgrip01"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["handguard"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_ang_offset")
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_vm_angledgrip02"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["handguard"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_ang_offset")
|
||||
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_bipodgrip"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["handguard"] = 1
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_offset")
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_vm_stubbygrip01"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["handguard"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_pro_offset")
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_vm_stubbygrip02"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["handguard"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_pro_offset")
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_vm_vertgrip01"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["handguard"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_offset")
|
||||
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_vm_vertgrip02"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["handguard"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_offset")
|
||||
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_vm_vertgrip03"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["handguard"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_offset")
|
||||
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_vm_laser01"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["laser"] = 1
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.LaserAimAngles = Angle(-0.3, 0.05, -45)
|
||||
weapon.LaserAimPos = Vector(-2, 0, 0)
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_vm_laser01_cylinder"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["laser"] = 1
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.LaserAimAngles = Angle(-0.3, 0.05, -45)
|
||||
weapon.LaserAimPos = Vector(-2, 0, 0)
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_vm_laser02"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["laser"] = 1
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.LaserAimAngles = Angle(-0.3, 0.05, -45)
|
||||
weapon.LaserAimPos = Vector(-2, 0, 0)
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_vm_laser02_cylinder"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["laser"] = 1
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.LaserAimAngles = Angle(-0.3, 0.05, -45)
|
||||
weapon.LaserAimPos = Vector(-2, 0, 0)
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_vm_laser03"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["laser"] = 1
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.LaserAimAngles = Angle(-0.3, 0.05, -45)
|
||||
weapon.LaserAimPos = Vector(-2, 0, 0)
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_vm_laser03_cylinder"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["laser"] = 1
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.LaserAimAngles = Angle(-0.3, 0.05, -45)
|
||||
weapon.LaserAimPos = Vector(-2, 0, 0)
|
||||
end
|
||||
@@ -0,0 +1,24 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "75 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_drum_mag.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_drums_akilo47.vmt")
|
||||
|
||||
ATTACHMENT.BulletList = {
|
||||
[1] = {"j_drumbullet1"},
|
||||
[2] = {"j_drumbullet2"},
|
||||
[3] = {"j_drumbullet3"}
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Primary.ClipSize = 75
|
||||
weapon.Animations.Reload = weapon.Animations.Reload_XmagLrg
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.Reload_Empty_XmagLrg
|
||||
weapon.Animations.Reload_Fast = weapon.Animations.Reload_XmagLrg_Fast
|
||||
weapon.Animations.Reload_Empty_Fast = weapon.Animations.Reload_Empty_XmagLrg_Fast
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.81
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.81
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.8
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.8
|
||||
end
|
||||
@@ -0,0 +1,14 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_mag.mdl")
|
||||
|
||||
--round, bone name
|
||||
--im aware its the other way around but the reloads switch mags
|
||||
ATTACHMENT.BulletList = {
|
||||
[1] = {"j_bullet_secondary"},
|
||||
[2] = {"j_bullet2_secondary"}
|
||||
}
|
||||
|
||||
ATTACHMENT.ReserveBulletList = {
|
||||
[1] = {"j_bullet"},
|
||||
[2] = {"j_bullet2"}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "5.45x39mm 30-Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_smgmag.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_smgmag_akilo47.vmt")
|
||||
|
||||
ATTACHMENT.BulletList = {
|
||||
[1] = {"j_ammo1_secondary"},
|
||||
[2] = {"j_ammo2_secondary"},
|
||||
[3] = {"j_ammo3_secondary"},
|
||||
[4] = {"j_ammo4_secondary"}
|
||||
}
|
||||
|
||||
ATTACHMENT.ReserveBulletList = {
|
||||
[1] = {"j_ammo1"},
|
||||
[2] = {"j_ammo2"},
|
||||
[3] = {"j_ammo3"},
|
||||
[4] = {"j_ammo4"}
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon:doSmgStats()
|
||||
weapon.Bullet.Damage[1] = weapon.Bullet.Damage[1] * 0.98
|
||||
weapon.Bullet.Damage[2] = weapon.Bullet.Damage[2] * 0.98
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 0.8
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 0.7
|
||||
weapon.Recoil.Vertical[1] = weapon.Recoil.Vertical[1] * 0.8
|
||||
weapon.Recoil.Vertical[2] = weapon.Recoil.Vertical[2] * 0.8
|
||||
weapon.Recoil.Horizontal[1] = weapon.Recoil.Horizontal[1] * 0.8
|
||||
weapon.Recoil.Horizontal[2] = weapon.Recoil.Horizontal[2] * 0.8
|
||||
weapon.Primary.ClipSize = 30
|
||||
weapon.Primary.RPM = 690
|
||||
weapon.PrintName = "AK-74"
|
||||
|
||||
if (weapon:HasAttachment("attachment_vm_ar_akilo47_smgbarrel") || weapon:HasAttachment("attachment_vm_ar_akilo47_smgbarcust")) then
|
||||
weapon.PrintName = "AKS-74U"
|
||||
end
|
||||
|
||||
if (weapon:HasAttachment("attachment_vm_ar_akilo47_custombarrel")) then
|
||||
weapon.PrintName = "AK-12"
|
||||
end
|
||||
|
||||
end
|
||||
@@ -0,0 +1,21 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "40 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_xmags.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_xmags_akilo47_v11.vmt")
|
||||
|
||||
ATTACHMENT.BulletList = {
|
||||
[1] = {"j_ammo3"},
|
||||
[2] = {"j_ammo4"}
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Primary.ClipSize = 40
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.92
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.92
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.9
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.9
|
||||
weapon.Animations.Reload.Fps = weapon.Animations.Reload.Fps * 0.9
|
||||
weapon.Animations.Reload_Empty.Fps = weapon.Animations.Reload_Empty.Fps * 0.9
|
||||
end
|
||||
@@ -0,0 +1,19 @@
|
||||
ATTACHMENT.Base = "att_muzzle"
|
||||
ATTACHMENT.Name = "Bayonet"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_bayonet_akilo47.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_bayonet_akilo47.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.ExcludedAttachments = {"attachment_vm_ar_akilo47_smgbarrel", "attachment_vm_ar_akilo47_smgbarcust"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_tip"] = 1,
|
||||
["tip"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Melee = weapon.Animations.Melee_Bayonet
|
||||
weapon.Animations.Melee_Hit = weapon.Animations.Melee_Hit_Bayonet
|
||||
|
||||
weapon.Animations.Melee_Hit_Bayonet.Damage = 100
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_perk_soh"
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Reload = weapon.Animations.Reload_Fast
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.Reload_Empty_Fast
|
||||
weapon.Animations.Reload_XmagLrg = weapon.Animations.Reload_XmagLrg_Fast
|
||||
weapon.Animations.Reload_Empty_XmagLrg = weapon.Animations.Reload_Empty_XmagLrg_Fast
|
||||
weapon.Animations.Reload_Xmag = weapon.Animations.Reload_Xmag_Fast
|
||||
weapon.Animations.Reload_Empty_Xmag = weapon.Animations.Reload_Empty_Xmag_Fast
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_sight"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_receiver_akilo47_v2.vmt")
|
||||
ATTACHMENT.Name = "VLK Polovoy Appaktiko"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_rail"] = 1,
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
end
|
||||
@@ -0,0 +1,17 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "Field LMG Stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_lmgstock.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_stocklmg_akilo47.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.92
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.92
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.92
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.92
|
||||
weapon.Recoil.Vertical[1] = weapon.Recoil.Vertical[1] * 0.91
|
||||
weapon.Recoil.Vertical[2] = weapon.Recoil.Vertical[2] * 0.91
|
||||
weapon.Recoil.Horizontal[1] = weapon.Recoil.Horizontal[1] * 0.91
|
||||
weapon.Recoil.Horizontal[2] = weapon.Recoil.Horizontal[2] * 0.91
|
||||
end
|
||||
@@ -0,0 +1,23 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "Skeleton Stock Folded"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_smgstock.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_smgstock_akilo47.vmt")
|
||||
ATTACHMENT.VElement = {
|
||||
Bone = "tag_stock_attach",
|
||||
Position = Vector(2.5, 0, 0),
|
||||
Angles = Angle(),
|
||||
Offsets = {}
|
||||
}
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_stock"] = 0,
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Recoil.AdsMultiplier = 0.5
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.26
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.26
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.26
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.26
|
||||
end
|
||||
@@ -0,0 +1,20 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "Skeleton Stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_smgstock_unfolded.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_smgstock_unfolded_akilo47.vmt")
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_stock"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.1
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.1
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.1
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.1
|
||||
weapon.Recoil.Vertical[1] = weapon.Recoil.Vertical[1] * 1.15
|
||||
weapon.Recoil.Vertical[2] = weapon.Recoil.Vertical[2] * 1.15
|
||||
weapon.Recoil.Horizontal[1] = weapon.Recoil.Horizontal[1] * 1.15
|
||||
weapon.Recoil.Horizontal[2] = weapon.Recoil.Horizontal[2] * 1.15
|
||||
end
|
||||
@@ -0,0 +1,3 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_stock.mdl")
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
ATTACHMENT.Base = "att_vm_stock_light01"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
|
||||
["tag_stock"] = 1
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
ATTACHMENT.Base = "att_vm_stock_medium01"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
|
||||
["tag_stock"] = 1
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "War Saw"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_stock_v12.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_stock_akilo47_v6.vmt")
|
||||
ATTACHMENT.UIColor = CUSTOMIZATION_COLOR_EPIC
|
||||
ATTACHMENT.CosmeticChange = true
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "Resonant"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_stock_v21.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_stock_akilo47_v6.vmt")
|
||||
ATTACHMENT.UIColor = CUSTOMIZATION_COLOR_LEGENDARY
|
||||
ATTACHMENT.CosmeticChange = true
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "No Stock"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_stockno_akilo47.vmt")
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_stock"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Recoil.AdsMultiplier = 0.5
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.26
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.26
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.26
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.26
|
||||
end
|
||||
@@ -0,0 +1,17 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "32.0\" Factory Barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_barlong.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/alpha50/icon_attachment_sn_alpha50_barlong.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.7
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.7
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.8
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.8
|
||||
weapon.Bullet.Damage[2] = weapon.Bullet.Damage[1]
|
||||
weapon.Projectile.Speed = weapon.Projectile.Speed * 1.35
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 0.75
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "Singuard Arms Pro"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_barmid.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/alpha50/icon_attachment_sn_alpha50_barmid.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.9
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.9
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.93
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.93
|
||||
--weapon.Bullet.Damage[2] = weapon.Bullet.Damage[2] * 1.1
|
||||
weapon.Projectile.Speed = weapon.Projectile.Speed * 1.15
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 0.9
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_barrel.mdl")
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "17.0\" Factory Barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_barshort.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/alpha50/icon_attachment_sn_alpha50_barshort.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.15
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.15
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.2
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.2
|
||||
weapon.Bullet.Damage[2] = weapon.Bullet.Damage[2] * 0.7
|
||||
weapon.Projectile.Speed = weapon.Projectile.Speed * 0.65
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 1.5
|
||||
end
|
||||
@@ -0,0 +1,4 @@
|
||||
ATTACHMENT.Base = "att_vm_laser01"
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["laser"] = 1
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ATTACHMENT.Base = "att_vm_laser02"
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["laser"] = 1
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ATTACHMENT.Base = "att_vm_laser03"
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["laser"] = 1
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_mag.mdl")
|
||||
|
||||
--Current mag
|
||||
ATTACHMENT.BulletList = {
|
||||
[1] = {"j_bullet_01"},
|
||||
[2] = {"j_bullet_02"},
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "9 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_xmags.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/alpha50/icon_attachment_sn_alpha50_xmags.vmt")
|
||||
|
||||
--Current mag
|
||||
ATTACHMENT.BulletList = {
|
||||
[1] = {"j_bullet_01"},
|
||||
[2] = {"j_bullet_02"},
|
||||
}
|
||||
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Reload = weapon.Animations.reload_xmag
|
||||
weapon.Animations.Reload_Fast = weapon.Animations.reload_xmag_fast
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.reload_empty_xmag
|
||||
weapon.Animations.Reload_Empty_Fast = weapon.Animations.reload_empty_xmag_fast
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.85
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.85
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.9
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.9
|
||||
weapon.Animations.Reload.Fps = weapon.Animations.Reload.Fps * 0.85
|
||||
weapon.Animations.Reload_Empty.Fps = weapon.Animations.Reload_Empty.Fps * 0.85
|
||||
weapon.Primary.ClipSize = 9
|
||||
end
|
||||
@@ -0,0 +1,19 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "7 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_mmags.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/alpha50/icon_attachment_sn_alpha50_mmags.vmt")
|
||||
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Reload = weapon.Animations.reload_mmag
|
||||
weapon.Animations.Reload_Fast = weapon.Animations.reload_mmag_fast
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.reload_empty_mmag
|
||||
weapon.Animations.Reload_Empty_Fast = weapon.Animations.reload_empty_mmag_fast
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.93
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.93
|
||||
weapon.Animations.Reload.Fps = weapon.Animations.Reload.Fps * 0.95
|
||||
weapon.Animations.Reload_Empty.Fps = weapon.Animations.Reload_Empty.Fps * 0.95
|
||||
weapon.Primary.ClipSize = 7
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_vm_compensator01"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_comp.mdl")
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_vm_flashhider01"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_flashhider.mdl")
|
||||
@@ -0,0 +1,3 @@
|
||||
ATTACHMENT.Base = "att_vm_muzzlebrake01"
|
||||
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_brake01.mdl")
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_vm_muzzlebrake02"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_brake02.mdl")
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_vm_silencer06"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_silencer01.mdl")
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_vm_silencer02"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_silencer02.mdl")
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_vm_silencer01"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_silencer03.mdl")
|
||||
@@ -0,0 +1,8 @@
|
||||
ATTACHMENT.Base = "att_perk_bolt"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Rechamber.Fps = weapon.Animations.Rechamber.Fps * 1.1
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_perk_soh"
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Reload = weapon.Animations.Reload_Fast
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.Reload_Empty_Fast
|
||||
weapon.Animations.reload_xmag = weapon.Animations.reload_xmag_fast
|
||||
weapon.Animations.reload_empty_xmag = weapon.Animations.reload_empty_xmag_fast
|
||||
weapon.Animations.reload_mmag = weapon.Animations.reload_mmag_fast
|
||||
weapon.Animations.reload_empty_mmag = weapon.Animations.reload_empty_mmag_fast
|
||||
end
|
||||
@@ -0,0 +1,24 @@
|
||||
ATTACHMENT.Base = "att_optic_20x"
|
||||
ATTACHMENT.Name = "AX-50 Scope"
|
||||
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_scope.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/alpha50/icon_attachment_sn_alpha50_scope_v4.vmt")
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["tag_sight"] = 2
|
||||
}
|
||||
|
||||
ATTACHMENT.Optic = {
|
||||
HideModel = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_scope_hide.mdl"),
|
||||
LensHideMaterial = Material("viper/MW/weapons/alpha50/weapon_vm_sn_alpha50_hipfire_scope_lens.vmt"),
|
||||
LensBodygroup = "lens",
|
||||
FOV = 7,
|
||||
ParallaxSize = 700, --a value of zero means 1:1 size with the end of the optic
|
||||
Thermal = false
|
||||
}
|
||||
|
||||
ATTACHMENT.Reticle = {
|
||||
Material = Material("viper/mw/reticles/reticle_sniper_new.vmt"),
|
||||
Size = 2000,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_stock.mdl")
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "Singuard Arms Marksman"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_stockh.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/alpha50/icon_attachment_sn_alpha50_stockh.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.8
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.8
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.9
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.9
|
||||
weapon.Recoil.Punch = weapon.Recoil.Punch * 0.5
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 0.5
|
||||
weapon.Recoil.AdsShakeMultiplier = weapon.Recoil.AdsShakeMultiplier * 0.5
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "Singuard Arms Evader"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_stockl.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/alpha50/icon_attachment_sn_alpha50_stockl.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.1
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.1
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.12
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.12
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 1.2
|
||||
weapon.Zoom.MovementMultiplier = weapon.Zoom.MovementMultiplier * 1.5
|
||||
end
|
||||
@@ -0,0 +1,19 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "Singuard Arms Assassin"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/alpha50/attachment_vm_sn_alpha50_stocks.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/alpha50/icon_attachment_sn_alpha50_stocks.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.9
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.9
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.95
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.95
|
||||
weapon.Recoil.Punch = weapon.Recoil.Punch * 0.85
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 0.85
|
||||
weapon.Recoil.AdsShakeMultiplier = weapon.Recoil.AdsShakeMultiplier * 0.95
|
||||
weapon.Zoom.BreathingMultiplier = weapon.Zoom.BreathingMultiplier * 0.8
|
||||
weapon.Zoom.MovementMultiplier = weapon.Zoom.MovementMultiplier * 0.5
|
||||
end
|
||||
@@ -0,0 +1,28 @@
|
||||
ATTACHMENT.Base = "att_ammo"
|
||||
ATTACHMENT.Name = "Dragons Breath"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_caldb.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:OnImpact(weapon, dmgInfo, tr)
|
||||
BaseClass.OnImpact(self, weapon, dmgInfo, tr)
|
||||
|
||||
if (SERVER && table.HasValue(weapon.FireSurfaces, tr.MatType)) then
|
||||
tr.Entity:Ignite(2)
|
||||
end
|
||||
|
||||
ParticleEffect(self.Particle || "mw_fas2_muzzleflash_slug", tr.HitPos, tr.HitNormal:Angle())
|
||||
util.Decal("Dark", tr.HitPos + tr.HitNormal, tr.HitPos - (tr.HitNormal * 3), {weapon, weapon:GetOwner()})
|
||||
weapon:MakeLight(tr.HitPos, Color(255, 50, 0), 2, CurTime() + 1)
|
||||
|
||||
dmgInfo:SetDamageType(dmgInfo:GetDamageType() + DMG_BURN + DMG_SLOWBURN)
|
||||
end
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon:doDBStats()
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon.Projectile = nil
|
||||
weapon.ParticleEffects.MuzzleFlash = "mw_fas2_muzzleflash_slug"
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_ammo"
|
||||
ATTACHMENT.Name = "Default"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_ammo.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon.Projectile = nil
|
||||
weapon.Primary.TrailingSound = nil
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_ammo"
|
||||
ATTACHMENT.Name = "Flechette"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_ammo.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
weapon.Bullet.NumBullets = 20
|
||||
end
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
|
||||
weapon.Projectile = nil
|
||||
weapon.Primary.TrailingSound = nil
|
||||
end
|
||||
@@ -0,0 +1,26 @@
|
||||
ATTACHMENT.Base = "att_ammo"
|
||||
ATTACHMENT.Name = "Explosive Rounds"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_caldb.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:OnImpact(weapon, dmgInfo, tr)
|
||||
BaseClass.OnImpact(self, weapon, dmgInfo, tr)
|
||||
|
||||
if (SERVER) then
|
||||
util.BlastDamage(weapon, weapon:GetOwner(), tr.HitPos, self.Radius || 32, weapon.Bullet.Damage[1] / weapon.Bullet.NumBullets)
|
||||
end
|
||||
|
||||
ParticleEffect(self.Particle || "mw_fas2_muzzleflash_slug", tr.HitPos, tr.HitNormal:Angle())
|
||||
util.Decal("FadingScorch", tr.HitPos + tr.HitNormal, tr.HitPos - (tr.HitNormal * 3), {weapon, weapon:GetOwner()})
|
||||
sound.Play("MW.ExplosiveRounds", tr.HitPos, SNDLVL_100dB, 100, 1)
|
||||
weapon:MakeLight(tr.HitPos, Color(255, 150, 0), 1, CurTime() + 0.5)
|
||||
|
||||
dmgInfo:SetDamageType(dmgInfo:GetDamageType() + DMG_BLAST + DMG_AIRBOAT + DMG_ALWAYSGIB)
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
|
||||
weapon.Projectile = nil
|
||||
weapon.Primary.TrailingSound = nil
|
||||
weapon.ParticleEffects.MuzzleFlash = "mw_fas2_muzzleflash_slug"
|
||||
end
|
||||
@@ -0,0 +1,24 @@
|
||||
ATTACHMENT.Base = "att_ammo"
|
||||
ATTACHMENT.Name = "Slugs"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_ammo.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
weapon.Bullet.Damage[1] = 120
|
||||
weapon.Bullet.Damage[2] = 40
|
||||
weapon.Bullet.EffectiveRange = 35
|
||||
weapon.Bullet.NumBullets = 1
|
||||
weapon.Cone.Ads = 0.15
|
||||
weapon.Projectile = {
|
||||
Class = "mg_slug",
|
||||
Speed = 4000,
|
||||
Gravity = 2
|
||||
}
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon.Primary.TrailingSound = nil
|
||||
weapon.ParticleEffects.MuzzleFlash = "mw_fas2_muzzleflash_slug"
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "VLK AN-94 Sila"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/anovember94/attachment_vm_ar_anov94_barhvy.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/anovember94/icon_attachment_ar_anov94_barhvy.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Recoil.Vertical[1] = weapon.Recoil.Vertical[1] * 0.94
|
||||
weapon.Recoil.Vertical[2] = weapon.Recoil.Vertical[2] * 0.94
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 0.95
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.95
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.95
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.95
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.95
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "AN-94 Factory X-438mm"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/anovember94/attachment_vm_ar_anov94_barlong.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/anovember94/icon_attachment_ar_anov94_barlong.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 0.9
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.9
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.9
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.9
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.9
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.06
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 1.06
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/anovember94/attachment_vm_ar_anovember94_barrel.mdl")
|
||||
@@ -0,0 +1,14 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "AN-94 Factory 330mm"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/anovember94/attachment_vm_ar_anov94_barshort.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/anovember94/icon_attachment_ar_anov94_barshort.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.07
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.07
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.1
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.1
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 0.94
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 0.94
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
ATTACHMENT.Base = "att_vm_angledgrip01"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_ang_offset")
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
ATTACHMENT.Base = "att_vm_angledgrip02"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_ang_offset")
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
ATTACHMENT.Base = "att_vm_bipodgrip"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vertbutawesome_offset")
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
ATTACHMENT.Base = "att_vm_stubbygrip01"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_offset")
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
ATTACHMENT.Base = "att_vm_stubbygrip02"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_offset")
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
ATTACHMENT.Base = "att_vm_vertgrip01"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vertbutawesome_offset")
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
ATTACHMENT.Base = "att_vm_vertgrip02"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vertbutawesome_offset")
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
ATTACHMENT.Base = "att_vm_vertgrip03"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vertbutawesome_offset")
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_laser01"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_laser"] = 1
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.LaserAimAngles = Angle(-0.3, 0.05, -45)
|
||||
weapon.LaserAimPos = Vector(-2, 0, 0)
|
||||
end
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user