Залив
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "FSS Carbine Pro"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/uzulu/attachment_vm_sm_uzulu_barcust.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/uzulu/icon_attachment_sm_uzulu_barrel_v13.vmt")
|
||||
ATTACHMENT.ExcludedCategories = {"Muzzle Devices"}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.12
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 1.12
|
||||
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.Holster.Fps = weapon.Animations.Holster.Fps * 0.94
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.94
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 0.9
|
||||
end
|
||||
@@ -0,0 +1,14 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "16.5 Factory Carbine"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/uzulu/attachment_vm_sm_uzulu_barlong.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/uzulu/icon_attachment_sm_uzulu_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.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.96
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.96
|
||||
end
|
||||
@@ -0,0 +1,14 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "13.1 First Responder"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/uzulu/attachment_vm_sm_uzulu_barmid.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/uzulu/icon_attachment_sm_uzulu_barmid.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.04
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 1.04
|
||||
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.Holster.Fps = weapon.Animations.Holster.Fps * 0.99
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.99
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/uzulu/attachment_vm_sm_uzulu_barrel.mdl")
|
||||
@@ -0,0 +1,14 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "8.5 Factory Mini"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/uzulu/attachment_vm_sm_uzulu_barshort.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/uzulu/icon_attachment_sm_uzulu_barshort.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 0.92
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 0.92
|
||||
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.Holster.Fps = weapon.Animations.Holster.Fps * 1.1
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.1
|
||||
end
|
||||
@@ -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,13 @@
|
||||
ATTACHMENT.Base = "att_vm_laser01_cylinder"
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["laser"] = 1,
|
||||
}
|
||||
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,13 @@
|
||||
ATTACHMENT.Base = "att_vm_laser02_cylinder"
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["laser"] = 1,
|
||||
}
|
||||
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,13 @@
|
||||
ATTACHMENT.Base = "att_vm_laser03_cylinder"
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["laser"] = 1,
|
||||
}
|
||||
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,2 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/uzulu/attachment_vm_sm_uzulu_mag.mdl")
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = ".41 AE 32-Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/uzulu/attachment_vm_sm_uzulu_magcalcust.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/uzulu/icon_attachment_sm_uzulu_mag_clip.vmt")
|
||||
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Bullet.Damage[1] = weapon.Bullet.Damage[1] * 1.15
|
||||
weapon.Bullet.Damage[2] = weapon.Bullet.Damage[2] * 1.15
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.15
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 1.15
|
||||
weapon.Primary.ClipSize = 32
|
||||
weapon.Primary.RPM = weapon.Primary.RPM*0.84
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "9x19mm 32-Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/uzulu/attachment_vm_sm_uzulu_mag.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/uzulu/icon_attachment_sm_uzulu_mag.vmt")
|
||||
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Bullet.Damage[1] = weapon.Bullet.Damage[1] * 0.89
|
||||
weapon.Bullet.Damage[2] = weapon.Bullet.Damage[2] * 0.99
|
||||
weapon.Primary.ClipSize = 32
|
||||
weapon.Primary.RPM = weapon.Primary.RPM*1.6
|
||||
weapon:doCalConversionStats()
|
||||
end
|
||||
@@ -0,0 +1,21 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "50 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/uzulu/attachment_vm_sm_uzulu_xmag2.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/uzulu/icon_attachment_sm_uzulu_xmag2.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.92
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.92
|
||||
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,21 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "40 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/uzulu/attachment_vm_sm_uzulu_xmags.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/uzulu/icon_attachment_sm_uzulu_xmags.vmt")
|
||||
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Primary.ClipSize = 40
|
||||
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.93
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.93
|
||||
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.95
|
||||
weapon.Animations.Reload_Empty.Fps = weapon.Animations.Reload_Empty.Fps * 0.95
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
ATTACHMENT.Base = "att_vm_silencer04"
|
||||
ATTACHMENT.Name = "Monolithic Suppressor"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/uzulu/attachment_vm_sm_uzulu_suppressor.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/uzulu/icon_attachment_sm_uzulu_suppressor.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
@@ -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_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,2 @@
|
||||
ATTACHMENT.Base = "att_receiver"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/uzulu/attachment_vm_sm_uzulu_receiver.mdl")
|
||||
@@ -0,0 +1,6 @@
|
||||
ATTACHMENT.Base = "att_vm_stock_heavy01"
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Equip = weapon.Animations.Equip_No_Stock
|
||||
end
|
||||
@@ -0,0 +1,6 @@
|
||||
ATTACHMENT.Base = "att_vm_stock_heavy02"
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Equip = weapon.Animations.Equip_No_Stock
|
||||
end
|
||||
@@ -0,0 +1,6 @@
|
||||
ATTACHMENT.Base = "att_vm_stock_light01"
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Equip = weapon.Animations.Equip_No_Stock
|
||||
end
|
||||
@@ -0,0 +1,6 @@
|
||||
ATTACHMENT.Base = "att_vm_stock_medium01"
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Equip = weapon.Animations.Equip_No_Stock
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
ATTACHMENT.Base = "att_vm_stock_no"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Equip = weapon.Animations.Equip_No_Stock
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/uzulu/attachment_vm_sm_uzulu_stock.mdl")
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "Folded Stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/uzulu/attachment_vm_sm_uzulu_stock_folded.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/uzulu/icon_attachment_sm_uzulu_stock.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.15
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.15
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.25
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.25
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 2
|
||||
weapon.Animations.Equip = weapon.Animations.Equip_No_Stock
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "Standard-Issue Wood Stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/uzulu/attachment_vm_sm_uzulu_stockh.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/uzulu/icon_attachment_sm_uzulu_stockh.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.82
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.82
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.9
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.9
|
||||
weapon.Recoil.AdsMultiplier = 0
|
||||
weapon.Animations.Equip = weapon.Animations.Equip_No_Stock
|
||||
end
|
||||
Reference in New Issue
Block a user