Залив
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/lima86/attachment_vm_lm_lima86_barrel.mdl")
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "SA87 25.4\" Factory"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/lima86/attachment_vm_lm_lima86_barrel_long.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/lima86/icon_attachment_lm_lima86_barrel_long.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.03
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 1.03
|
||||
weapon.Recoil.DecreaseEveryShot = weapon.Recoil.DecreaseEveryShot * 1.1
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.98
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.98
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.96
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.96
|
||||
end
|
||||
@@ -0,0 +1,18 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "SA87 18.2\" Factory"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/lima86/attachment_vm_lm_lima86_barrel_mid.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/lima86/icon_attachment_lm_lima86_barrel_mid.vmt")
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["tag_barrel_hide"] = 1
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 1.06
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 0.96
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 0.96
|
||||
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.07
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.07
|
||||
end
|
||||
@@ -0,0 +1,18 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "SA87 12.4\" Factory"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/lima86/attachment_vm_lm_lima86_barrel_short.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/lima86/icon_attachment_lm_lima86_barrel_short.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 1.15
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 0.9
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 0.9
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.1
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.1
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.15
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.15
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_vm_angledgrip01"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_grip_hide"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_ang_offset")
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_vm_angledgrip02"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_grip_hide"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_ang_offset")
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
ATTACHMENT.Base = "att_grip"
|
||||
ATTACHMENT.Name = "Bipod"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/lima86/attachment_vm_lm_lima86_bipod.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/lima86/icon_attachment_lm_lima86_bipod.vmt")
|
||||
ATTACHMENT.CosmeticChange = true
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_vm_stubbygrip01"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_grip_hide"] = 1
|
||||
}
|
||||
|
||||
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_stubbygrip02"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_grip_hide"] = 1
|
||||
}
|
||||
|
||||
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_vertgrip01"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_grip_hide"] = 1
|
||||
}
|
||||
|
||||
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_vertgrip02"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_grip_hide"] = 1
|
||||
}
|
||||
|
||||
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_vertgrip03"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_grip_hide"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_vert_offset")
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_laser01_cylinder"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["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,10 @@
|
||||
ATTACHMENT.Base = "att_vm_laser02_cylinder"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["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,10 @@
|
||||
ATTACHMENT.Base = "att_vm_laser03_cylinder"
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["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,12 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/lima86/attachment_vm_lm_lima86_mag.mdl")
|
||||
|
||||
--round, bone name
|
||||
--im aware its the other way around but the reloads switch mags
|
||||
|
||||
|
||||
--Current mag
|
||||
ATTACHMENT.BulletList = {
|
||||
[1] = {"j_bullet1"},
|
||||
[2] = {"j_bullet2"},
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_vm_50rnd_mag"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/lima86/attachment_vm_lm_lima86_xmags.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/lima86/icon_attachment_lm_lima86_xmags.vmt")
|
||||
|
||||
--Current mag
|
||||
ATTACHMENT.BulletList = {
|
||||
[1] = {"j_magextbullet01"},
|
||||
[2] = {"j_magextbullet02"},
|
||||
[3] = {"j_magextbullet03"},
|
||||
[4] = {"j_magextbullet04"},
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_60rnd_mag"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/lima86/attachment_vm_lm_lima86_xmags2.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/lima86/icon_attachment_lm_lima86_xmags2.vmt")
|
||||
|
||||
ATTACHMENT.BulletList = {
|
||||
[1] = {"j_magextbullet02"},
|
||||
[2] = {"j_magextbullet03"},
|
||||
[3] = {"j_magextbullet04"},
|
||||
[4] = {},
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
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
|
||||
end
|
||||
@@ -0,0 +1,22 @@
|
||||
ATTACHMENT.Base = "att_optic_4x"
|
||||
ATTACHMENT.Name = "SUSAT"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/lima86/attachment_vm_lm_lima86_4x_west.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/lima86/icon_attachment_sn_lima86_scope.vmt")
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["sight"] = 1,
|
||||
["tag_sight"] = 1
|
||||
}
|
||||
ATTACHMENT.Optic = {
|
||||
HideModel = Model("models/viper/mw/attachments/lima86/attachment_vm_lm_lima86_4x_west_hide.mdl"),
|
||||
LensHideMaterial = Material("viper/mw/weapons/lima86/weapon_vm_sn_lima86_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_vm_stock_heavy02"
|
||||
ATTACHMENT.Name = "XRK SA87 Heavy Stock Pro"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/lima86/attachment_vm_lm_lima86_stock_tactical.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/lima86/icon_attachment_lm_lima86_stock_tactical.vmt")
|
||||
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["tag_stock"] = 1
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
ATTACHMENT.Base = "att_vm_stock_light01"
|
||||
ATTACHMENT.Name = "SA87 Ultralight Hollow"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/lima86/attachment_vm_lm_lima86_stockl.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/lima86/icon_attachment_lm_lima86_stockl.vmt")
|
||||
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["tag_stock"] = 1
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
ATTACHMENT.Base = "att_vm_stock_medium01"
|
||||
ATTACHMENT.Name = "FORGE TAC CQB Comb"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/lima86/attachment_vm_lm_lima86_stocks.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/lima86/icon_attachment_lm_lima86_stocks.vmt")
|
||||
|
||||
Reference in New Issue
Block a user