Залив
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_barrel.mdl")
|
||||
@@ -0,0 +1,18 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "XRK 30.0 Sport"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_barrel_long.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_barrel_long.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 0.9
|
||||
weapon.Cone.Ads = weapon.Cone.Ads * 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.8
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.8
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.1
|
||||
weapon.Primary.ClipSize = 10
|
||||
end
|
||||
@@ -0,0 +1,20 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "XRK 14.0 SWAT"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_barrel_sawn.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_barrel_sawn.vmt")
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["sight"] = 0
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 1.5
|
||||
weapon.Cone.Ads = weapon.Cone.Ads * 1.5
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.15
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.15
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.2
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.2
|
||||
weapon.Primary.ClipSize = 5
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
ATTACHMENT.Base = "attachment_vm_sh_romeo870_barrel"
|
||||
ATTACHMENT.Name = "The Ejector"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_barrel_v2.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_barrel_v2.vmt")
|
||||
ATTACHMENT.UIColor = CUSTOMIZATION_COLOR_RARE
|
||||
ATTACHMENT.CosmeticChange = true
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "XRK 18.0 Liberator"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_heatguard_mp.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_heatguard.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 1.2
|
||||
weapon.Cone.Ads = weapon.Cone.Ads * 1.2
|
||||
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
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_angledgrip01"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["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,10 @@
|
||||
ATTACHMENT.Base = "att_vm_angledgrip02"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["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,10 @@
|
||||
ATTACHMENT.Base = "att_vm_stubbygrip01"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["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_stubbygrip02"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["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_vertgrip01"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["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_vertgrip02"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["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_vertgrip03"
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["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.AttachmentBodygroups ={
|
||||
["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.AttachmentBodygroups ={
|
||||
["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.AttachmentBodygroups ={
|
||||
["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,29 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "6-R Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_mag.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_mag.vmt")
|
||||
ATTACHMENT.ExcludedCategories = {"Barrels"}
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["tag_mag_attach"] = 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.93
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.93
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.95
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.95
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 0.9
|
||||
weapon.DisableCantedReload = false
|
||||
weapon.EmptyReloadRechambers = true
|
||||
weapon.Primary.ClipSize = 6
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon.Animations.Reload_Start = nil
|
||||
weapon.Animations.Reload_Loop = nil
|
||||
weapon.Animations.Reload_End = nil
|
||||
weapon.Animations.Reload_EndEmpty = nil
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_silencer01"
|
||||
ATTACHMENT.Name = "Lightweight Suppressor"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_shtgnsilencer.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_shtgnsilencer.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_silencer02"
|
||||
ATTACHMENT.Name = "Monolithic Suppressor"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/oscar12/attachment_vm_sh_oscar12_silencer02.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/oscar12/icon_attachment_sh_oscar12_silencer02.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_vm_silencer03"
|
||||
ATTACHMENT.Name = "Tactical Suppressor"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/oscar12/attachment_vm_sh_oscar12_silencer03.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/oscar12/icon_attachment_sh_oscar12_silencer03.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
end
|
||||
@@ -0,0 +1,22 @@
|
||||
ATTACHMENT.Base = "att_perk"
|
||||
ATTACHMENT.Name = "Slamfire"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/perks/perk_icon_slamfire.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
-- weapon.Animations.Rechamber = weapon.Animations.rechamber_slam
|
||||
-- weapon.Animations.Fire = weapon.Animations.fire_slam
|
||||
-- weapon.Animations.Fire_Last = weapon.Animations.fire_last_slam
|
||||
weapon.Primary.RPM = 450
|
||||
weapon.Animations.Rechamber.Length = 0.3
|
||||
weapon.Cone.Hip = 1.3
|
||||
weapon.Cone.Max = 7.5
|
||||
--weapon.Primary.Automatic = true
|
||||
|
||||
local oldOnSet = weapon.Firemodes[1].OnSet
|
||||
weapon.Firemodes[1].OnSet = function(wpn)
|
||||
oldOnSet(wpn)
|
||||
wpn.Primary.Automatic = true
|
||||
end
|
||||
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_Start = weapon.Animations.reload_start_fast
|
||||
weapon.Animations.Reload_Loop = weapon.Animations.reload_loop_fast
|
||||
weapon.Animations.Reload_End = weapon.Animations.reload_end_fast
|
||||
weapon.Animations.Reload_End_Empty = weapon.Animations.reload_end_empty_fast
|
||||
weapon.Animations.Reload = weapon.Animations.reload_fast
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.reload_empty_fast
|
||||
weapon.DisableCantedReload = true
|
||||
end
|
||||
@@ -0,0 +1,3 @@
|
||||
ATTACHMENT.Base = "att_pump"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_pump.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_pump_wood.vmt")
|
||||
@@ -0,0 +1,12 @@
|
||||
ATTACHMENT.Base = "att_pump"
|
||||
ATTACHMENT.Name = "XRK Truegrip Tactical"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_pump_custom.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_pump_custom.vmt")
|
||||
ATTACHMENT.ExcludedCategories = {"Grips"}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 1.2
|
||||
weapon.Animations.Rechamber.Fps = weapon.Animations.Rechamber.Fps * 1.1
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "attachment_vm_sh_romeo870_pump"
|
||||
ATTACHMENT.Name = "The Ejector"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_pump_v2.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_pump_v2.vmt")
|
||||
ATTACHMENT.ExcludedCategories = {"Grips"}
|
||||
ATTACHMENT.UIColor = CUSTOMIZATION_COLOR_RARE
|
||||
ATTACHMENT.CosmeticChange = true
|
||||
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,18 @@
|
||||
ATTACHMENT.Base = "att_pump"
|
||||
ATTACHMENT.Name = "Lockwood Precision Series"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_pump_wood.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_pump_wood.vmt")
|
||||
ATTACHMENT.ExcludedCategories = {"Grips"}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
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.Rechamber.Fps = weapon.Animations.Rechamber.Fps * 0.9
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter("grip_wood_offset")
|
||||
end
|
||||
@@ -0,0 +1,8 @@
|
||||
ATTACHMENT.Base = "att_pump"
|
||||
ATTACHMENT.Name = "Default (Alternative)"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_pump.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_pump_wood.vmt")
|
||||
ATTACHMENT.CosmeticChange = true
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_grip_hide"] = 1
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
ATTACHMENT.Base = "att_receiver"
|
||||
ATTACHMENT.Name = "Default"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_receiver.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_pump_custom.vmt")
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_receiver"
|
||||
ATTACHMENT.Name = "The Ejector"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_receiver_v2.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_receiver_v2.vmt")
|
||||
ATTACHMENT.ExcludedAttachments = {"attachment_vm_sh_romeo870_stock_pistolgrip", "attachment_vm_sh_romeo870_stock", "attachment_vm_sh_romeo870_stock_wood"}
|
||||
ATTACHMENT.UIColor = CUSTOMIZATION_COLOR_RARE
|
||||
ATTACHMENT.CosmeticChange = true
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_stock"] = 1,
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
ATTACHMENT.Base = "att_sight"
|
||||
ATTACHMENT.Name = "No Rail"
|
||||
ATTACHMENT.ExcludeCategory = {"Sights"}
|
||||
ATTACHMENT.CosmeticChange = true
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["rail"] = 1,
|
||||
["sight"] = 1,
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "FORGE TAC Stalker"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_stock_heavy.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/stock/icon_attachment_stock_medium01.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Receivers"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_stock"] = 1,
|
||||
["stock"] = 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.95
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.95
|
||||
weapon.Recoil.Vertical[1] = weapon.Recoil.Vertical[1] * 0.95
|
||||
weapon.Recoil.Vertical[2] = weapon.Recoil.Vertical[2] * 0.95
|
||||
weapon.Recoil.Horizontal[1] = weapon.Recoil.Horizontal[1] * 0.95
|
||||
weapon.Recoil.Horizontal[2] = weapon.Recoil.Horizontal[2] * 0.95
|
||||
end
|
||||
@@ -0,0 +1,22 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "FTAC Hunter"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_stock_heavy02.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/stock/icon_attachment_stock_heavy02.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Receivers"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_stock"] = 1,
|
||||
["stock"] = 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.86
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.86
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.91
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.91
|
||||
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
|
||||
end
|
||||
@@ -0,0 +1,20 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "FORGE TAC Ultralight"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_stock_light01.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/stock/icon_attachment_stock_light01.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Receivers"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_stock"] = 1,
|
||||
["stock"] = 1
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.15
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.15
|
||||
weapon.Recoil.Vertical[1] = weapon.Recoil.Vertical[1] * 1.1
|
||||
weapon.Recoil.Vertical[2] = weapon.Recoil.Vertical[2] * 1.1
|
||||
weapon.Recoil.Horizontal[1] = weapon.Recoil.Horizontal[1] * 1.1
|
||||
weapon.Recoil.Horizontal[2] = weapon.Recoil.Horizontal[2] * 1.1
|
||||
end
|
||||
@@ -0,0 +1,20 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "FSS Close Quarters Stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_stock_medium01.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/stock/icon_attachment_stock_medium01.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Receivers"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_stock"] = 1,
|
||||
["stock"] = 1
|
||||
}
|
||||
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,6 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_stock.mdl")
|
||||
ATTACHMENT.BonemergeToCategory = {"Receivers"}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["stock"] = 1
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "No Stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_stock_pistolgrip.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_stock_pistolgrip.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Receivers"}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["stock"] = 1
|
||||
}
|
||||
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Recoil.AdsMultiplier = 0.75
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.26
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.26
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.26
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.26
|
||||
weapon.Animations.Melee = weapon.Animations.melee_nostock
|
||||
weapon.Animations.Melee_Hit = weapon.Animations.melee_hit_nostock
|
||||
end
|
||||
@@ -0,0 +1,8 @@
|
||||
ATTACHMENT.Base = "attachment_vm_sh_romeo870_stock"
|
||||
ATTACHMENT.Name = "The Ejector"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_stock_v2.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_stock_pistolgrip.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Receivers"}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["tag_stock"] = 1
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "Lockwood Precision Series"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/romeo870/attachment_vm_sh_romeo870_stock_wood.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/romeo870/icon_attachment_sh_romeo870_stock_wood.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Receivers"}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["stock"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Recoil.Vertical[1] = weapon.Recoil.Vertical[1] * 0.9
|
||||
weapon.Recoil.Vertical[2] = weapon.Recoil.Vertical[2] * 0.9
|
||||
weapon.Recoil.Horizontal[1] = weapon.Recoil.Horizontal[1] * 0.9
|
||||
weapon.Recoil.Horizontal[2] = weapon.Recoil.Horizontal[2] * 0.9
|
||||
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.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.92
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.92
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon:SetGripPoseParameter2("grip_stockh_offset")
|
||||
end
|
||||
Reference in New Issue
Block a user