Залив
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "VLK 200mm Osa"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/valpha/attachment_vm_ar_valpha_barhvy.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/valpha/icon_attachment_ar_valpha_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 * 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.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 1.08
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_barheavy_offset")
|
||||
end
|
||||
@@ -0,0 +1,20 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "VLK 105mm Sova"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/valpha/attachment_vm_ar_valpha_barlight.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/valpha/icon_attachment_ar_valpha_barlight.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.12
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.12
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.13
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.13
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 1.125
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 0.95
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 0.95
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_barlight_offset")
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/valpha/attachment_vm_ar_valpha_barrel.mdl")
|
||||
@@ -0,0 +1,22 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "Stovl SOF"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/valpha/attachment_vm_ar_valpha_barshort.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/valpha/icon_attachment_ar_valpha_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.17
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.17
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.2
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.2
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 1.125
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 0.9
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 0.9
|
||||
weapon.PrintName = "SR-3 Vikhr"
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_barshort_offset")
|
||||
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_vert_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_vert_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_vert_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_vert_offset")
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_vm_laser01_cylinder"
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["laser"] = 1
|
||||
}
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
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.AttachmentBodygroups ={
|
||||
["laser"] = 1
|
||||
}
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
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.AttachmentBodygroups ={
|
||||
["laser"] = 1
|
||||
}
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
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/valpha/attachment_vm_ar_valpha_mag.mdl")
|
||||
@@ -0,0 +1,28 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "SPP 10-R Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/valpha/attachment_vm_ar_valpha_smags.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/valpha/icon_attachment_ar_valpha_smags.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Primary.ClipSize = 10
|
||||
weapon.Bullet.Damage[1] = weapon.Bullet.Damage[1] * 1.33
|
||||
weapon.Bullet.Damage[2] = weapon.Bullet.Damage[2] * 1.33
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.25
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 1.25
|
||||
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.12
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.12
|
||||
weapon.Animations.Reload = weapon.Animations.reload_smag
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.reload_empty_smag
|
||||
weapon.Animations.Reload_Fast = weapon.Animations.reload_smag_fast
|
||||
weapon.Animations.Reload_Empty_Fast = weapon.Animations.reload_empty_smag_fast
|
||||
weapon.Animations.Inspect = weapon.Animations.inspect_smag
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_magwell_offset")
|
||||
end
|
||||
@@ -0,0 +1,21 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "30 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/valpha/attachment_vm_ar_valpha_xmags.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/valpha/icon_attachment_ar_valpha_xmags.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Primary.ClipSize = 30
|
||||
weapon.Animations.Reload = weapon.Animations.reload_xmag
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.reload_empty_xmag
|
||||
weapon.Animations.Reload_Fast = weapon.Animations.reload_xmag_fast
|
||||
weapon.Animations.Reload_Empty_Fast = weapon.Animations.reload_empty_xmag_fast
|
||||
weapon.Animations.Inspect = weapon.Animations.inspect_xmag
|
||||
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
|
||||
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,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_smag = weapon.Animations.reload_smag_fast
|
||||
weapon.Animations.reload_empty_smag = weapon.Animations.reload_empty_smag_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,25 @@
|
||||
ATTACHMENT.Base = "att_optic_10x"
|
||||
ATTACHMENT.Name = "Dragunov Scope"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/valpha/attachment_vm_ar_valpha_scope.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/valpha/icon_attachment_ar_valpha_scope.vmt")
|
||||
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["tag_sight"] = 2
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_sight"] = 2
|
||||
}
|
||||
ATTACHMENT.Optic = {
|
||||
HideModel = Model("models/viper/mw/attachments/valpha/attachment_vm_ar_valpha_scope_lens_hide.mdl"),
|
||||
LensHideMaterial = Material("viper/MW/weapons/valpha/weapon_vm_sn_delta_scope_lens.vmt"),
|
||||
LensBodygroup = "lens",
|
||||
FOV = 5,
|
||||
ParallaxSize = 700, --a value of zero means 1:1 size with the end of the optic
|
||||
Thermal = false
|
||||
}
|
||||
ATTACHMENT.Reticle = {
|
||||
Material = Material("viper/shared/reticles/po4x_crosshair_remake"),
|
||||
Size = 2500,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/valpha/attachment_vm_ar_valpha_stock.mdl")
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "VLK Vintazh"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/valpha/attachment_vm_ar_valpha_stockh.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/valpha/icon_attachment_ar_valpha_stockh.vmt")
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["tag_grip"] = 1
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.88
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.88
|
||||
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
|
||||
if (weapon:HasAttachment("attachment_vm_ar_valpha_smags")) then
|
||||
weapon.PrintName = "VSS Vintorez"
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "FSS Intl. Gen 4 GRU"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/valpha/attachment_vm_ar_valpha_stocks.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/valpha/icon_attachment_ar_valpha_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 * 1.09
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.09
|
||||
weapon.Recoil.Vertical[1] = weapon.Recoil.Vertical[1] * 1.05
|
||||
weapon.Recoil.Vertical[2] = weapon.Recoil.Vertical[2] * 1.05
|
||||
weapon.Recoil.Horizontal[1] = weapon.Recoil.Horizontal[1] * 1.05
|
||||
weapon.Recoil.Horizontal[2] = weapon.Recoil.Horizontal[2] * 1.05
|
||||
end
|
||||
@@ -0,0 +1,17 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "Stovl 6P30 Skelet"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/valpha/attachment_vm_ar_valpha_stockskel.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/valpha/icon_attachment_ar_valpha_stockskel.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.13
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.13
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.08
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.08
|
||||
weapon.Recoil.Vertical[1] = weapon.Recoil.Vertical[1] * 1.11
|
||||
weapon.Recoil.Vertical[2] = weapon.Recoil.Vertical[2] * 1.11
|
||||
weapon.Recoil.Horizontal[1] = weapon.Recoil.Horizontal[1] * 1.11
|
||||
weapon.Recoil.Horizontal[2] = weapon.Recoil.Horizontal[2] * 1.11
|
||||
end
|
||||
@@ -0,0 +1,18 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "VLK Strelok"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/valpha/attachment_vm_ar_valpha_stocksn.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/valpha/icon_attachment_ar_valpha_stocksn.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.84
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.84
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.82
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.82
|
||||
weapon.Recoil.Vertical[1] = weapon.Recoil.Vertical[1] * 0.83
|
||||
weapon.Recoil.Vertical[2] = weapon.Recoil.Vertical[2] * 0.83
|
||||
weapon.Recoil.Horizontal[1] = weapon.Recoil.Horizontal[1] * 0.83
|
||||
weapon.Recoil.Horizontal[2] = weapon.Recoil.Horizontal[2] * 0.83
|
||||
weapon.PrintName = "VSSM"
|
||||
end
|
||||
Reference in New Issue
Block a user