Залив
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "660mm Extended Barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/delta/attachment_vm_sn_delta_barlong.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/delta/icon_attachment_sn_delta_barlong.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Receivers"}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.1
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 1.1
|
||||
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
|
||||
end
|
||||
@@ -0,0 +1,3 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/delta/attachment_vm_sn_delta_barrel.mdl")
|
||||
ATTACHMENT.BonemergeToCategory = {"Receivers"}
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "510mm Compact Barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/delta/attachment_vm_sn_delta_barshort.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/delta/icon_attachment_sn_delta_barshort.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Receivers"}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 0.85
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 0.85
|
||||
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.05
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.05
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
ATTACHMENT.Base = "att_vm_laser01_cylinder"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["laser"] = 1
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
ATTACHMENT.Base = "att_vm_laser02_cylinder"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["laser"] = 1
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
ATTACHMENT.Base = "att_vm_laser03_cylinder"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["laser"] = 1
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/delta/attachment_vm_sn_delta_mag.mdl")
|
||||
|
||||
|
||||
--Current mag
|
||||
ATTACHMENT.BulletList = {
|
||||
[0] = {"j_ammo1"},
|
||||
[1] = {"j_ammo2"},
|
||||
[2] = {"j_ammo3"},
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "15 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/delta/attachment_vm_sn_delta_xmags.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/delta/icon_attachment_sn_delta_xmags.vmt")
|
||||
--Current mag
|
||||
ATTACHMENT.BulletList = {
|
||||
[0] = {"j_ammo1"},
|
||||
[1] = {"j_ammo2"},
|
||||
[2] = {"j_ammo3"},
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Reload = weapon.Animations.Reload_Xmag
|
||||
weapon.Animations.Reload_Fast = weapon.Animations.Reload_Xmag_Fast
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.Reload_Empty_Xmag
|
||||
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.Reload.Fps = weapon.Animations.Reload.Fps * 0.95
|
||||
weapon.Animations.Reload_Empty.Fps = weapon.Animations.Reload_Empty.Fps * 0.95
|
||||
weapon.Primary.ClipSize = 15
|
||||
end
|
||||
@@ -0,0 +1,26 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "20 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/delta/attachment_vm_sn_delta_xmags2.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/delta/icon_attachment_sn_delta_xmags2.vmt")
|
||||
--Current mag
|
||||
ATTACHMENT.BulletList = {
|
||||
[0] = {"j_ammo1"},
|
||||
[1] = {"j_ammo2"},
|
||||
[2] = {"j_ammo3"},
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Reload = weapon.Animations.Reload_Xmag
|
||||
weapon.Animations.Reload_Fast = weapon.Animations.Reload_Xmag_Fast
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.Reload_Empty_Xmag
|
||||
weapon.Animations.Reload_Empty_Fast = weapon.Animations.Reload_Empty_Xmag_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
|
||||
weapon.Primary.ClipSize = 20
|
||||
end
|
||||
@@ -0,0 +1,27 @@
|
||||
ATTACHMENT.Base = "att_perk"
|
||||
ATTACHMENT.Name = "Full Auto"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/perks/perk_icon_hipaim.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Firemodes[1].Name = "Automatic"
|
||||
weapon.Firemodes[1].OnSet = function(weapon)
|
||||
weapon.Primary.Automatic = true
|
||||
weapon.Primary.RPM = 700
|
||||
end
|
||||
weapon.Primary.Automatic = true
|
||||
weapon.Primary.RPM = 700
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon.Recoil.AdsMultiplier = 0.8 --deliberate, hidden stat
|
||||
|
||||
weapon.Recoil.Vertical[1] = weapon.Recoil.Vertical[1] * 0.15
|
||||
weapon.Recoil.Vertical[2] = weapon.Recoil.Vertical[2] * 0.15
|
||||
|
||||
weapon.Recoil.Horizontal[1] = weapon.Recoil.Horizontal[1] * 2
|
||||
weapon.Recoil.Horizontal[2] = weapon.Recoil.Horizontal[2] * 2
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
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_Xmag = weapon.Animations.Reload_Xmag_Fast
|
||||
weapon.Animations.Reload_Empty_Xmag = weapon.Animations.Reload_Empty_Xmag_Fast
|
||||
weapon.Animations.Reload_Xmag2 = weapon.Animations.Reload_Xmag2_Fast
|
||||
weapon.Animations.Reload_Empty_Xmag2 = weapon.Animations.Reload_Empty_Xmag2_Fast
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
ATTACHMENT.Base = "att_receiver"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/delta/attachment_vm_sn_delta_receiver.mdl")
|
||||
@@ -0,0 +1,13 @@
|
||||
ATTACHMENT.Base = "att_receiver"
|
||||
ATTACHMENT.Name = "Plague Sore"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/delta/attachment_vm_sn_delta_receiver_v2.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/delta/icon_attachment_sn_delta_receiver_v2.vmt")
|
||||
ATTACHMENT.CosmeticChange = true
|
||||
ATTACHMENT.UIColor = CUSTOMIZATION_COLOR_LEGENDARY
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Customization[7][2] = "attachment_vm_sn_delta_scope_v2"
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_sight"
|
||||
ATTACHMENT.Name = "Ironsights"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
weapon.ViewModelOffsets.Aim.Pos:Add(Vector(0, 0, -0.1))
|
||||
weapon.ViewModelOffsets.Aim.Angles:Add(Angle(-0.3, 0, 0))
|
||||
end
|
||||
@@ -0,0 +1,23 @@
|
||||
ATTACHMENT.Base = "att_optic_20x"
|
||||
ATTACHMENT.Name = "Dragunov Scope"
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_rail"] = 0
|
||||
}
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/delta/attachment_vm_sn_delta_scope.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/delta/icon_attachment_sn_delta_scope.vmt")
|
||||
|
||||
ATTACHMENT.Optic = {
|
||||
HideModel = Model("models/viper/mw/attachments/delta/attachment_vm_sn_delta_scope_hid.mdl"),
|
||||
LensHideMaterial = Material("viper/MW/weapons/delta/weapon_vm_sn_delta_scope_lens.vmt"),
|
||||
LensBodygroup = "lens",
|
||||
FOV = 7,
|
||||
ParallaxSize = 700, --a value of zero means 1:1 size with the end of the optic
|
||||
Thermal = false
|
||||
}
|
||||
|
||||
ATTACHMENT.Reticle = {
|
||||
Material = Material("viper/shared/reticles/po4x_crosshair_new.vmt"),
|
||||
Size = 1900,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
ATTACHMENT.Base = "attachment_vm_sn_delta_scope"
|
||||
ATTACHMENT.Name = "Plague Sore"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/delta/attachment_vm_sn_delta_scope_v2.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/delta/icon_attachment_sn_delta_scope.vmt")
|
||||
ATTACHMENT.UIColor = CUSTOMIZATION_COLOR_LEGENDARY
|
||||
|
||||
ATTACHMENT.Optic = {
|
||||
HideModel = Model("models/viper/mw/attachments/delta/vm_sn_delta_scope_v2_hide.mdl"),
|
||||
LensHideMaterial = Material("viper/MW/weapons/delta/weapon_vm_sn_delta_v2_scope_lens.vmt"),
|
||||
}
|
||||
|
||||
ATTACHMENT.Reticle = {
|
||||
Material = Material("viper/shared/reticles/po4x_crosshair_new.vmt"),
|
||||
Size = 2750,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_vm_thermal_west01"
|
||||
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/delta/attachment_vm_thermalsnpr_west01_delta_v3_lod0.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/delta/icon_attachment_thermalsnpr_west01_delta_v3.vmt")
|
||||
|
||||
ATTACHMENT.Optic = {
|
||||
HideModel = Model("models/viper/mw/attachments/delta/thermalsnpr_west01_delta_v3_hide.mdl"),
|
||||
LensHideMaterial = Material("viper/MW/weapons/delta/attachment_vm_thermalsnpr_west01_lens.vmt"),
|
||||
LensBodygroup = "lens",
|
||||
FOV = 7,
|
||||
ParallaxSize = 700, --a value of zero means 1:1 size with the end of the optic
|
||||
Thermal = true,
|
||||
ThermalBackgroundColor = Color(50, 100, 75, 223),
|
||||
ThermalBodiesColor = Color(250, 250, 0, 150)
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/delta/attachment_vm_sn_delta_stock.mdl")
|
||||
ATTACHMENT.BonemergeToCategory = {"Receivers"}
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "Skeleton Stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/delta/attachment_vm_sn_delta_stock_light.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/delta/icon_attachment_sn_delta_stock_light.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Receivers"}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 1.2
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.2
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.1
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.1
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 1.2
|
||||
weapon.Zoom.BreathingMultiplier = weapon.Zoom.BreathingMultiplier * 1.3
|
||||
end
|
||||
@@ -0,0 +1,17 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "VLK Lightweight Stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/delta/attachment_vm_sn_delta_stock_short.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/delta/icon_attachment_sn_delta_stock_short.vmt")
|
||||
ATTACHMENT.BonemergeToCategory = {"Receivers"}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
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.03
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.03
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 0.95
|
||||
weapon.Zoom.MovementMultiplier = weapon.Zoom.MovementMultiplier * 1.25
|
||||
end
|
||||
Reference in New Issue
Block a user