Залив
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "22\" FSS M59/66"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/sksierra/attachment_vm_sn_sksierra_barhvy.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/sksierra/icon_attachment_sn_sksierra_barhvy.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.08
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 1.08
|
||||
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.89
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.89
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "FTAC Landmark"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/sksierra/attachment_vm_sn_sksierra_barlong.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/sksierra/icon_attachment_sn_sksierra_barlong.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.04
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 1.04
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.96
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.96
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.94
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.94
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/sksierra/attachment_vm_sn_sksierra_barrel.mdl")
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "16\" FSS Para"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/sksierra/attachment_vm_sn_sksierra_barshort.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/sksierra/icon_attachment_sn_sksierra_barshort.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 1.15
|
||||
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.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.05
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.05
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_vm_angledgrip01"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["ub_rail"] = 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.AttachmentBodygroups = {
|
||||
["ub_rail"] = 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_bipodgrip"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["ub_rail"] = 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_stubbygrip01"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["ub_rail"] = 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_stubbygrip02"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["ub_rail"] = 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_vertgrip01"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["ub_rail"] = 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.AttachmentBodygroups = {
|
||||
["ub_rail"] = 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.AttachmentBodygroups = {
|
||||
["ub_rail"] = 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_cylinder"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["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,11 @@
|
||||
ATTACHMENT.Base = "att_vm_laser02_cylinder"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["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,11 @@
|
||||
ATTACHMENT.Base = "att_vm_laser03_cylinder"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["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,8 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/sksierra/attachment_vm_sn_sksierra_mag.mdl")
|
||||
|
||||
ATTACHMENT.BulletList = {
|
||||
[1] = {"j_bullet01"},
|
||||
[2] = {"j_bullet02"},
|
||||
[3] = {"j_bullet03"},
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "10 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/sksierra/attachment_vm_sn_sksierra_smag.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/sksierra/icon_attachment_sn_sksierra_smag.vmt")
|
||||
|
||||
ATTACHMENT.BulletList = {
|
||||
[1] = {"j_bullet01"},
|
||||
[2] = {"j_bullet02"},
|
||||
[3] = {"j_bullet03"},
|
||||
}
|
||||
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Reload = weapon.Animations.Reload_Smag
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.Reload_Empty_Smag
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.04
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.04
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.1
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.1
|
||||
weapon.Animations.Reload.Fps = weapon.Animations.Reload.Fps * 1.1
|
||||
weapon.Animations.Reload_Empty.Fps = weapon.Animations.Reload_Empty.Fps * 1.1
|
||||
weapon.Primary.ClipSize = 10
|
||||
end
|
||||
@@ -0,0 +1,24 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "30 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/sksierra/attachment_vm_sn_sksierra_xmag.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/sksierra/icon_attachment_sn_sksierra_xmag.vmt")
|
||||
|
||||
ATTACHMENT.BulletList = {
|
||||
[1] = {"j_bullet01"},
|
||||
[2] = {"j_bullet02"},
|
||||
[3] = {"j_bullet03"},
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Reload = weapon.Animations.Reload_Xmag
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.Reload_Empty_Xmag
|
||||
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.Draw.Fps = weapon.Animations.Draw.Fps * 0.89
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.89
|
||||
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 = 30
|
||||
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_Smag = weapon.Animations.Reload_Smag_Fast
|
||||
weapon.Animations.Reload_Empty_Smag = weapon.Animations.Reload_Empty_Smag_Fast
|
||||
end
|
||||
@@ -0,0 +1,18 @@
|
||||
ATTACHMENT.Base = "att_optic_4x"
|
||||
ATTACHMENT.Name = "PU Scope"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/sksierra/attachment_vm_sn_sksierra_scope.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/sksierra/icon_attachment_sn_sksierra_scope.vmt")
|
||||
ATTACHMENT.Optic = {
|
||||
HideModel = Model("models/viper/mw/attachments/sksierra/attachment_vm_sn_sksierra_scope_hide.mdl"),
|
||||
LensHideMaterial = Material("viper/mw/weapons/sksierra/weapon_vm_sn_sksierra_scopelens.vmt"),
|
||||
LensBodygroup = "lens",
|
||||
FOV = 7,
|
||||
ParallaxSize = 750, --a value of zero means 1:1 size with the end of the optic
|
||||
Thermal = false
|
||||
}
|
||||
ATTACHMENT.Reticle = {
|
||||
Material = Material("viper/mw/reticles/reticle_16.vmt"),
|
||||
Size = 600,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
ATTACHMENT.Base = "att_sight"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.ViewModelOffsets.Aim.Pos.y = 8
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/sksierra/attachment_vm_sn_sksierra_stock.mdl")
|
||||
@@ -0,0 +1,22 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "FTAC Hunter-Scout"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/sksierra/attachment_vm_sn_sksierra_stockhvy.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/sksierra/icon_attachment_sn_sksierra_stockhvy.vmt")
|
||||
-- ATTACHMENT.Bodygroups = {
|
||||
-- ["tag_stock"] = 1
|
||||
-- }
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Recoil.Vertical[1] = weapon.Recoil.Vertical[1] * 0.92
|
||||
weapon.Recoil.Vertical[2] = weapon.Recoil.Vertical[2] * 0.92
|
||||
weapon.Recoil.Horizontal[1] = weapon.Recoil.Horizontal[1] * 0.92
|
||||
weapon.Recoil.Horizontal[2] = weapon.Recoil.Horizontal[2] * 0.92
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.1
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.1
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
-- weapon:SetGripPoseParameter("grip_ang_offset")
|
||||
end
|
||||
@@ -0,0 +1,24 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "SKS Rifle Stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/sksierra/attachment_vm_sn_sksierra_stockhvy2.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/sksierra/icon_attachment_sn_sksierra_stockhvy2.vmt")
|
||||
-- ATTACHMENT.Bodygroups = {
|
||||
-- ["tag_stock"] = 1
|
||||
-- }
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Recoil.Vertical[1] = weapon.Recoil.Vertical[1] * 0.85
|
||||
weapon.Recoil.Vertical[2] = weapon.Recoil.Vertical[2] * 0.85
|
||||
weapon.Recoil.Horizontal[1] = weapon.Recoil.Horizontal[1] * 0.85
|
||||
weapon.Recoil.Horizontal[2] = weapon.Recoil.Horizontal[2] * 0.85
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.94
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.94
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter2("grip_stockhvy_offset")
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_vm_stock_no"
|
||||
ATTACHMENT.Name = "Sawed-off Stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/sksierra/attachment_vm_sn_sksierra_stockno.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/sksierra/icon_attachment_sn_sksierra_stockno.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter2("grip_stockhvy_offset")
|
||||
end
|
||||
Reference in New Issue
Block a user