Залив
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "Mk3 Burst Mod"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_mike9_barauto.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mike9/icon_attachment_pi_mike9_barauto.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Primary.RPM = 1000
|
||||
weapon.Primary.BurstRounds = 3
|
||||
weapon.Primary.BurstDelay = 0.2
|
||||
weapon.Firemodes[1].Name = "3rnd Burst"
|
||||
weapon.Recoil.Shake = weapon.Recoil.Shake * 1.3
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 2.5
|
||||
end
|
||||
@@ -0,0 +1,12 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "Mk1 Competition"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_mike9_barlight.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mike9/icon_attachment_pi_mike9_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 * 0.9
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.9
|
||||
weapon.Cone.Increase = weapon.Cone.Increase * 0.5
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 0.5
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "Mk1 Extended"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_mike9_barlong.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mike9/icon_attachment_pi_mike9_barlong.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.07
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 1.07
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 0.9
|
||||
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
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_mike9_barrel.mdl")
|
||||
@@ -0,0 +1,3 @@
|
||||
ATTACHMENT.Base = "attachment_vm_pi_mike9_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_mike9_barrel_black.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mike9/icon_attachment_pi_mike9_barrel.vmt")
|
||||
@@ -0,0 +1,24 @@
|
||||
ATTACHMENT.Base = "att_grip"
|
||||
ATTACHMENT.Name = "Folding Grip"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_mike9_gripvert.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mike9/icon_attachment_pi_mike9_pstlgrpcust_v2.vmt")
|
||||
ATTACHMENT.ExcludedCategories = {"Lasers"}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
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.93
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.93
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.93
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.93
|
||||
if (!weapon:HasAttachment("attachment_vm_pi_mike9_stock")) then
|
||||
weapon.ViewModelOffsets.Aim.Pos = weapon.ViewModelOffsets.Aim.Pos + Vector(-0.15, 0, 0)
|
||||
end
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_offset")
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_pistolgrip"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_mike9_pgrip.mdl")
|
||||
@@ -0,0 +1,12 @@
|
||||
ATTACHMENT.Base = "att_pistolgrip"
|
||||
ATTACHMENT.Name = "XRK Pro Grip"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_mike9_pstlgrpcust.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mike9/icon_attachment_pi_mike9_pstlgrpcust.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.95
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.95
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 0.9
|
||||
end
|
||||
@@ -0,0 +1,14 @@
|
||||
ATTACHMENT.Base = "att_pistolgrip"
|
||||
ATTACHMENT.Name = "XRK Speed Grip"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_mike9_pstlgrplght.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mike9/icon_attachment_pi_mike9_pstlgrplght.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 1.2
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.07
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.07
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.1
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.1
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_vm_laser01_pstl"
|
||||
ATTACHMENT.ExcludedCategories = {"Grips"}
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_vm_laser02_pstl"
|
||||
ATTACHMENT.ExcludedCategories = {"Grips"}
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_vm_laser03_pstl"
|
||||
ATTACHMENT.ExcludedCategories = {"Grips"}
|
||||
@@ -0,0 +1,13 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_mike9_mag.mdl")
|
||||
|
||||
--Current mag
|
||||
ATTACHMENT.BulletList = {
|
||||
[0] = {"j_bullet1"},
|
||||
}
|
||||
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
end
|
||||
@@ -0,0 +1,22 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "21 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_mike9_xmags.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mike9/icon_attachment_pi_mike9_xmagslrg.vmt")
|
||||
|
||||
--Current mag
|
||||
ATTACHMENT.BulletList = {
|
||||
[0] = {"j_bullet1"},
|
||||
}
|
||||
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Primary.ClipSize = 21
|
||||
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
|
||||
end
|
||||
@@ -0,0 +1,26 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "27 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_mike9_xmagslrg.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mike9/icon_attachment_pi_mike9_xmagslrg_v2.vmt")
|
||||
|
||||
--Current mag
|
||||
ATTACHMENT.BulletList = {
|
||||
[0] = {"j_bullet1"},
|
||||
}
|
||||
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Primary.ClipSize = 27
|
||||
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.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.9
|
||||
weapon.Animations.Reload_Empty.Fps = weapon.Animations.Reload_Empty.Fps * 0.9
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_muzzle"
|
||||
ATTACHMENT.Name = "Compensator"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_mike9_compensator.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mike9/icon_attachment_pi_mike9_compensator_v2.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
|
||||
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.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.05
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 1.05
|
||||
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_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,25 @@
|
||||
ATTACHMENT.Base = "att_optic_4x"
|
||||
ATTACHMENT.Name = "XRK 4.0x Pistol Scope"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_mike9_scope.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mike9/icon_attachment_pi_mike9_scope.vmt")
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["tag_rail"] = 1,
|
||||
["tag_sight"] = 1,
|
||||
["sight"] = 1
|
||||
}
|
||||
|
||||
ATTACHMENT.Optic = {
|
||||
LensHideMaterial = Material("viper/MW/weapons/m9/weapon_vm_sn_crossbow_lens.vmt"),
|
||||
HideModel = Model("models/viper/mw/attachments/attachment_vm_pi_mike9_scope_hide.mdl"),
|
||||
LensBodygroup = "lens",
|
||||
FOV = 4,
|
||||
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_aug"),
|
||||
Size = 800,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "FTAC Satus CS-3"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_mike9_stock.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/mike9/icon_attachment_pi_mike9_stock.vmt")
|
||||
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.9
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.9
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.85
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.85
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 0.5
|
||||
weapon.Zoom.Blur.EyeFocusDistance = 11
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetViewModel("models/viper/mw/weapons/v_m9_stock.mdl")
|
||||
end
|
||||
Reference in New Issue
Block a user