Залив
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "FSS SWAT"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/mpapa7/attachment_vm_sm_mpapa7_barlight.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mpapa7/icon_attachment_sm_mpapa7_barlight.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.05
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.05
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 0.98
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 0.98
|
||||
end
|
||||
@@ -0,0 +1,14 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "FSS Recon"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/mpapa7/attachment_vm_sm_mpapa7_barlong.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mpapa7/icon_attachment_sm_mpapa7_barlong.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.96
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.96
|
||||
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.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.08
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 1.08
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "FSS Strike"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/mpapa7/attachment_vm_sm_mpapa7_barlong2.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mpapa7/icon_attachment_sm_mpapa7_barlong2.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.94
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.94
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.89
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.89
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.06
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 1.06
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 0.9
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/mpapa7/attachment_vm_sm_mpapa7_barrel.mdl")
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_vm_angledgrip01"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_grip_hide"] = 1,
|
||||
["tag_grip_attach"] = 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,17 @@
|
||||
ATTACHMENT.Base = "att_vm_angledgrip02"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_grip_hide"] = 1,
|
||||
["tag_grip_attach"] = 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,17 @@
|
||||
ATTACHMENT.Base = "att_vm_bipodgrip"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_grip_hide"] = 1,
|
||||
["tag_grip_attach"] = 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,17 @@
|
||||
ATTACHMENT.Base = "att_vm_stubbygrip01"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_grip_hide"] = 1,
|
||||
["tag_grip_attach"] = 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,17 @@
|
||||
ATTACHMENT.Base = "att_vm_stubbygrip02"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_grip_hide"] = 1,
|
||||
["tag_grip_attach"] = 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,17 @@
|
||||
ATTACHMENT.Base = "att_vm_vertgrip01"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_grip_hide"] = 1,
|
||||
["tag_grip_attach"] = 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,17 @@
|
||||
ATTACHMENT.Base = "att_vm_vertgrip02"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_grip_hide"] = 1,
|
||||
["tag_grip_attach"] = 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 = {
|
||||
["tag_grip_hide"] = 1,
|
||||
["tag_grip_attach"] = 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,25 @@
|
||||
ATTACHMENT.Base = "att_vm_vertgrip01"
|
||||
ATTACHMENT.Name = "FSS Folding Grip"
|
||||
ATTACHMENT.Model = Model("models/jacob_lhh3_ports/modernwarfare2019/weapons/mp7/attachments/fss_folding_grip.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/augolf/icon_attachment_sm_augolf_vertgrip.vmt")
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_grip_hide"] = 1,
|
||||
["tag_grip_attach"] = 1
|
||||
}
|
||||
ATTACHMENT.VElement = {
|
||||
Bone = "tag_grip_attach",
|
||||
Position = Vector(3, 0, 0.3),
|
||||
Angles = Angle(-90, 0, 0),
|
||||
Offsets = {
|
||||
["attachment_vm_sm_mpapa7_receiver_v2"] = {Vector(0, 0, -0.3), Angle()}
|
||||
}
|
||||
}
|
||||
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.AttachmentBodygroups ={
|
||||
["tag_laser"] = 1,
|
||||
["tag_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,11 @@
|
||||
ATTACHMENT.Base = "att_vm_laser02_cylinder"
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_laser"] = 1,
|
||||
["tag_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,11 @@
|
||||
ATTACHMENT.Base = "att_vm_laser03_cylinder"
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_laser"] = 1,
|
||||
["tag_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/mpapa7/attachment_vm_sm_mpapa7_mag.mdl")
|
||||
@@ -0,0 +1,21 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "50 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/mpapa7/attachment_vm_sm_mpapa7_mmags.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mpapa7/icon_attachment_sm_mpapa7_mmags.vmt")
|
||||
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Primary.ClipSize = 50
|
||||
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.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.97
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.97
|
||||
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_magazine"
|
||||
ATTACHMENT.Name = "60 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/mpapa7/attachment_vm_sm_mpapa7_xmags.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mpapa7/icon_attachment_sm_mpapa7_xmags.vmt")
|
||||
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Primary.ClipSize = 60
|
||||
weapon.Animations.Reload = weapon.Animations.Reload_Xmag2
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.Reload_Empty_Xmag2
|
||||
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.94
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.94
|
||||
weapon.Animations.Reload.Fps = weapon.Animations.Reload.Fps * 0.85
|
||||
weapon.Animations.Reload_Empty.Fps = weapon.Animations.Reload_Empty.Fps * 0.85
|
||||
end
|
||||
@@ -0,0 +1,12 @@
|
||||
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_Empty_Scope = weapon.Animations.Reload_Empty_Fast_Scope
|
||||
weapon.Animations.Reload_Xmag2 = weapon.Animations.Reload_Xmag2_Fast
|
||||
weapon.Animations.Reload_Empty_Xmag2 = weapon.Animations.Reload_Empty_Xmag2_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_receiver"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/mpapa7/attachment_vm_sm_mpapa7_receiver.mdl")
|
||||
@@ -0,0 +1,6 @@
|
||||
ATTACHMENT.Base = "att_receiver"
|
||||
ATTACHMENT.Name = "Piercer"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/mpapa7/attachment_vm_sm_mpapa7_receiver_v2.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mpapa7/icon_attachment_sm_mpapa7_receiver_v2.vmt")
|
||||
ATTACHMENT.UIColor = CUSTOMIZATION_COLOR_EPIC
|
||||
ATTACHMENT.CosmeticChange = true
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/mpapa7/attachment_vm_sm_mpapa7_stock.mdl")
|
||||
@@ -0,0 +1,18 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "XRK Retractable Stock"
|
||||
ATTACHMENT.Model = Model("models/jacob_lhh3_ports/modernwarfare2019/weapons/mp7/attachments/xrk_retractable_stock.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mpapa7/icon_attachment_sm_mpapa7_stock_v2.vmt")
|
||||
ATTACHMENT.VElement = {
|
||||
Bone = "tag_stock_attach",
|
||||
Position = Vector(-13, 0, -1),
|
||||
Angles = Angle(-90, 0, 0),
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.06
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.06
|
||||
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.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 1.09
|
||||
end
|
||||
Reference in New Issue
Block a user