Залив
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "75 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_drum_mag.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_drums_akilo47.vmt")
|
||||
|
||||
ATTACHMENT.BulletList = {
|
||||
[1] = {"j_drumbullet1"},
|
||||
[2] = {"j_drumbullet2"},
|
||||
[3] = {"j_drumbullet3"}
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Primary.ClipSize = 75
|
||||
weapon.Animations.Reload = weapon.Animations.Reload_XmagLrg
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.Reload_Empty_XmagLrg
|
||||
weapon.Animations.Reload_Fast = weapon.Animations.Reload_XmagLrg_Fast
|
||||
weapon.Animations.Reload_Empty_Fast = weapon.Animations.Reload_Empty_XmagLrg_Fast
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.81
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.81
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.8
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.8
|
||||
end
|
||||
@@ -0,0 +1,14 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_mag.mdl")
|
||||
|
||||
--round, bone name
|
||||
--im aware its the other way around but the reloads switch mags
|
||||
ATTACHMENT.BulletList = {
|
||||
[1] = {"j_bullet_secondary"},
|
||||
[2] = {"j_bullet2_secondary"}
|
||||
}
|
||||
|
||||
ATTACHMENT.ReserveBulletList = {
|
||||
[1] = {"j_bullet"},
|
||||
[2] = {"j_bullet2"}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "5.45x39mm 30-Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_smgmag.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_smgmag_akilo47.vmt")
|
||||
|
||||
ATTACHMENT.BulletList = {
|
||||
[1] = {"j_ammo1_secondary"},
|
||||
[2] = {"j_ammo2_secondary"},
|
||||
[3] = {"j_ammo3_secondary"},
|
||||
[4] = {"j_ammo4_secondary"}
|
||||
}
|
||||
|
||||
ATTACHMENT.ReserveBulletList = {
|
||||
[1] = {"j_ammo1"},
|
||||
[2] = {"j_ammo2"},
|
||||
[3] = {"j_ammo3"},
|
||||
[4] = {"j_ammo4"}
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon:doSmgStats()
|
||||
weapon.Bullet.Damage[1] = weapon.Bullet.Damage[1] * 0.98
|
||||
weapon.Bullet.Damage[2] = weapon.Bullet.Damage[2] * 0.98
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 0.8
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 0.7
|
||||
weapon.Recoil.Vertical[1] = weapon.Recoil.Vertical[1] * 0.8
|
||||
weapon.Recoil.Vertical[2] = weapon.Recoil.Vertical[2] * 0.8
|
||||
weapon.Recoil.Horizontal[1] = weapon.Recoil.Horizontal[1] * 0.8
|
||||
weapon.Recoil.Horizontal[2] = weapon.Recoil.Horizontal[2] * 0.8
|
||||
weapon.Primary.ClipSize = 30
|
||||
weapon.Primary.RPM = 690
|
||||
weapon.PrintName = "AK-74"
|
||||
|
||||
if (weapon:HasAttachment("attachment_vm_ar_akilo47_smgbarrel") || weapon:HasAttachment("attachment_vm_ar_akilo47_smgbarcust")) then
|
||||
weapon.PrintName = "AKS-74U"
|
||||
end
|
||||
|
||||
if (weapon:HasAttachment("attachment_vm_ar_akilo47_custombarrel")) then
|
||||
weapon.PrintName = "AK-12"
|
||||
end
|
||||
|
||||
end
|
||||
@@ -0,0 +1,21 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Name = "40 Round Mags"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/akilo47/attachment_vm_ar_akilo47_xmags.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/akilo47/icon_attachment_xmags_akilo47_v11.vmt")
|
||||
|
||||
ATTACHMENT.BulletList = {
|
||||
[1] = {"j_ammo3"},
|
||||
[2] = {"j_ammo4"}
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Primary.ClipSize = 40
|
||||
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.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
|
||||
end
|
||||
Reference in New Issue
Block a user