Залив
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/gamma3/barrel_carbine.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/gamma3/carbine_barrel.vmt")
|
||||
ATTACHMENT.Name = "Carbine Barrel"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.Reload_Empty_Carbine
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/gamma3/barrel_cqc.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/gamma3/cqc_barrel.vmt")
|
||||
ATTACHMENT.Name = "CQC Barrel"
|
||||
ATTACHMENT.ExcludedCategories = {"Grips", "Lasers"}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.Reload_Empty_Carbine
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_cqc")
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/gamma3/barrel_default.mdl")
|
||||
@@ -0,0 +1,14 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/gamma3/barrel_sniper.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/gamma3/sniper_barrel.vmt")
|
||||
ATTACHMENT.Name = "Sniper Barrel"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_sniper")
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_vm_angledgrip01"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["foregrip_rail"] = 1
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["bipod"] = 1,
|
||||
["tag_grip_rail"] = 1,
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_pro_offset")
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_vm_angledgrip02"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["foregrip_rail"] = 1
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["bipod"] = 1,
|
||||
["tag_grip_rail"] = 1,
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_pro_offset")
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_vm_stubbygrip01"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["foregrip_rail"] = 1
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["bipod"] = 1,
|
||||
["tag_grip_rail"] = 1,
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_pro_offset")
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_vm_stubbygrip02"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["foregrip_rail"] = 1
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["bipod"] = 1,
|
||||
["tag_grip_rail"] = 1,
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_pro_offset")
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_vm_vertgrip01"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["foregrip_rail"] = 1
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["bipod"] = 1,
|
||||
["tag_grip_rail"] = 1,
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_offset")
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_vm_vertgrip02"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["foregrip_rail"] = 1
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["bipod"] = 1,
|
||||
["tag_grip_rail"] = 1,
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_offset")
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_vm_vertgrip03"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["foregrip_rail"] = 1
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["bipod"] = 1,
|
||||
["tag_grip_rail"] = 1,
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_offset")
|
||||
end
|
||||
@@ -0,0 +1,13 @@
|
||||
ATTACHMENT.Base = "att_vm_laser01_cylinder"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_laser_rail"] = 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,13 @@
|
||||
ATTACHMENT.Base = "att_vm_laser02_cylinder"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_laser_rail"] = 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,13 @@
|
||||
ATTACHMENT.Base = "att_vm_laser03_cylinder"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_laser_rail"] = 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,2 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/gamma3/magazine.mdl")
|
||||
@@ -0,0 +1,9 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/gamma3/drum.mdl")
|
||||
ATTACHMENT.Name = "50rnd Drum Mag"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Primary.ClipSize = 50
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "30 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_magazine_ext_g3_custom.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/scharlie/icon_attachment_ar_scharlie_mmags.vmt")
|
||||
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Primary.ClipSize = 30
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.9
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.95
|
||||
weapon.Animations.Reload = weapon.Animations.Reload_Xmag
|
||||
weapon.Animations.Reload_Fast = weapon.Animations.Reload_Xmag_Fast
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 0.95
|
||||
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,2 @@
|
||||
ATTACHMENT.Base = "att_pistolgrip"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/gamma3/pgrip_default.mdl")
|
||||
@@ -0,0 +1,4 @@
|
||||
ATTACHMENT.Base = "att_pistolgrip"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/gamma3/pgrip_sniper.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/gamma3/pgrip_sniper.vmt")
|
||||
ATTACHMENT.Name = "Sniper Grip"
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_sight"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/gamma3/sight.mdl")
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/gamma3/stock_default.mdl")
|
||||
@@ -0,0 +1,4 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/gamma3/stock_fixed.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/gamma3/stock_fixed.vmt")
|
||||
ATTACHMENT.Name = "Fixed Stock"
|
||||
@@ -0,0 +1,4 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/gamma3/stock_foldable.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/gamma3/stock_foldable.vmt")
|
||||
ATTACHMENT.Name = "CQC Stock"
|
||||
@@ -0,0 +1,4 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/gamma3/stock_no.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/gamma3/stock_no.vmt")
|
||||
ATTACHMENT.Name = "No Stock"
|
||||
@@ -0,0 +1,4 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/gamma3/stock_retractable.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/gamma3/stock_retractable.vmt")
|
||||
ATTACHMENT.Name = "Carbine Stock"
|
||||
@@ -0,0 +1,4 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/gamma3/stock_sniper.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/gamma3/stock_sniper.vmt")
|
||||
ATTACHMENT.Name = "Sniper Stock"
|
||||
Reference in New Issue
Block a user