Залив
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
ATTACHMENT.Base = "att_perk"
|
||||
ATTACHMENT.Name = "Bolthead"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/perks/perk_icon_bolt.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
if (weapon.Animations.Rechamber != nil) then
|
||||
weapon.Animations.Rechamber.Fps = weapon.Animations.Rechamber.Fps * 1.5
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,12 @@
|
||||
ATTACHMENT.Base = "att_perk"
|
||||
ATTACHMENT.Name = "Quickdraw"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/perks/perk_icon_fastswap.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.5
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.5
|
||||
end
|
||||
@@ -0,0 +1,14 @@
|
||||
ATTACHMENT.Base = "att_perk"
|
||||
ATTACHMENT.Name = "FMJ"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/perks/perk_icon_fmj.vmt")
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
weapon.Bullet.Damage[1] = weapon.Bullet.Damage[1] * 1.1
|
||||
weapon.Bullet.Damage[2] = weapon.Bullet.Damage[2] * 1.1
|
||||
if (weapon.Bullet.Penetration != nil) then
|
||||
weapon.Bullet.Penetration.MaxCount = weapon.Bullet.Penetration.MaxCount + 1
|
||||
weapon.Bullet.Penetration.Thickness = weapon.Bullet.Penetration.Thickness * 1.2
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,13 @@
|
||||
ATTACHMENT.Base = "att_perk"
|
||||
ATTACHMENT.Name = "Soft-point Rounds"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/perks/perk_icon_flinch.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
if (weapon.Bullet != nil && weapon.Bullet.HeadshotMultiplier != nil) then
|
||||
weapon.Bullet.HeadshotMultiplier = weapon.Bullet.HeadshotMultiplier * 1.35
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,12 @@
|
||||
ATTACHMENT.Base = "att_perk"
|
||||
ATTACHMENT.Name = "Full Choke"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/perks/perk_icon_range.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 0.65
|
||||
weapon.Cone.Ads = weapon.Cone.Ads * 0.65
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_perk"
|
||||
ATTACHMENT.Name = "Hard Launch"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/perks/perk_icon_launch.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Projectile.Speed = weapon.Projectile.Speed * 1.5
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_perk"
|
||||
ATTACHMENT.Name = "Crowd Control"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/perks/perk_icon_cc.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Explosive.BlastRadius = weapon.Explosive.BlastRadius * 1.25
|
||||
end
|
||||
@@ -0,0 +1,13 @@
|
||||
ATTACHMENT.Base = "att_perk"
|
||||
ATTACHMENT.Name = "Rifled Barrel"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/perks/perk_icon_recon.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
if (weapon.Projectile != nil) then
|
||||
weapon.Projectile.Gravity = 0
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,13 @@
|
||||
ATTACHMENT.Base = "att_perk"
|
||||
ATTACHMENT.Name = "Ricochet"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/perks/perk_icon_ricochet.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
if (weapon.Bullet != nil) then
|
||||
weapon.Bullet.Ricochet = true
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_perk"
|
||||
ATTACHMENT.Name = "Short-stroke"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/perks/perk_icon_rof.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
weapon.Primary.RPM = weapon.Primary.RPM + 150
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_perk"
|
||||
ATTACHMENT.Name = "Diazepam"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/perks/perk_icon_adsidle.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Zoom.BreathingMultiplier = 0.1
|
||||
end
|
||||
@@ -0,0 +1,3 @@
|
||||
ATTACHMENT.Base = "att_perk"
|
||||
ATTACHMENT.Name = "Sleight of Hand"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/perks/perk_icon_fastreload.vmt")
|
||||
@@ -0,0 +1,10 @@
|
||||
ATTACHMENT.Base = "att_perk"
|
||||
ATTACHMENT.Name = "Balanced Stance"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/perks/perk_icon_adsmove.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Zoom.MovementMultiplier = 0.1
|
||||
end
|
||||
Reference in New Issue
Block a user