Залив
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_cpapa_barrel.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/cpapa/icon_attachment_pi_cpapa_barrel.vmt")
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = "Silverfield Ordnance .357"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_cpapa_barrel_v2.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/cpapa/icon_attachment_pi_cpapa_barrel_v2.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.95
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.95
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 0.85
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = ".357 Long"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_cpapa_barrel_long.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/cpapa/icon_attachment_pi_cpapa_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.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.9
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.9
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 1.08
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 1.08
|
||||
end
|
||||
@@ -0,0 +1,15 @@
|
||||
ATTACHMENT.Base = "att_barrel"
|
||||
ATTACHMENT.Name = ".357 Snub Nose"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_cpapa_shortbarrel.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/cpapa/icon_attachment_pi_cpapa_shortbarrel.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.1
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 1.1
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 1.13
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 1.13
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 0.9
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 0.9
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
ATTACHMENT.Base = "att_vm_laser01_pstl"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["laser"] = 1
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
ATTACHMENT.Base = "att_vm_laser02_pstl"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["laser"] = 1
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
ATTACHMENT.Base = "att_vm_laser03_pstl"
|
||||
ATTACHMENT.BonemergeToCategory = {"Barrels"}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["laser"] = 1
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
ATTACHMENT.Base = "att_ammo"
|
||||
ATTACHMENT.Name = "Snake Shot"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_cpapa_loader_snake.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/cpapa/icon_attachment_pi_cpapa_loader_snake.vmt")
|
||||
ATTACHMENT.ExcludedAttachments = {"att_perk_ricochet"}
|
||||
ATTACHMENT.ShowOnWorldModel = false
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
weapon.Bullet.NumBullets = 6
|
||||
weapon.Bullet.EffectiveRange = weapon.Bullet.EffectiveRange * 0.5
|
||||
weapon.Bullet.DropOffStartRange = weapon.Bullet.DropOffStartRange * 0.5
|
||||
weapon.Bullet.Range = weapon.Bullet.Range * 0.25
|
||||
weapon.Bullet.Ricochet = false
|
||||
end
|
||||
@@ -0,0 +1,8 @@
|
||||
ATTACHMENT.Base = "att_magazine"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_cpapa_mag.mdl")
|
||||
ATTACHMENT.ShowOnWorldModel = false
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
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 = weapon.Animations.Reload_Fast
|
||||
weapon.Animations.Reload_Empty = weapon.Animations.Reload_Empty_Fast
|
||||
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,25 @@
|
||||
ATTACHMENT.Base = "att_optic_4x"
|
||||
ATTACHMENT.Name = "Lockwood Pistol Scope"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_cpapa_scope.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/cpapa/icon_attachment_pi_cpapa_scope.vmt")
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["rail"] = 1,
|
||||
["tag_sight"] = 1,
|
||||
["sight"] = 1
|
||||
}
|
||||
|
||||
ATTACHMENT.Optic = {
|
||||
LensHideMaterial = Material("viper/MW/weapons/357/weapon_vm_pi_cpapa_scope_lens.vmt"),
|
||||
HideModel = Model("models/viper/mw/attachments/attachment_vm_pi_cpapa_scope_hide.mdl"),
|
||||
LensBodygroup = "lens",
|
||||
FOV = 4,
|
||||
ParallaxSize = 400, --a value of zero means 1:1 size with the end of the optic
|
||||
Thermal = false
|
||||
}
|
||||
|
||||
ATTACHMENT.Reticle = {
|
||||
Material = Material("viper/mw/reticles/reticle_sniper_new.vmt"),
|
||||
Size = 2500,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_cpapa_grip.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/cpapa/icon_attachment_pi_cpapa_grip.vmt")
|
||||
@@ -0,0 +1,27 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "Lockwood .357 Custom Stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_cpapa_grip_stock.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/cpapa/icon_attachment_pi_cpapa_grip_stock.vmt")
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["pgrip"] = 1
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["pgrip"] = 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.8
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.8
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.8
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.8
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 0.5
|
||||
weapon.ViewModelOffsets.Aim.Pos = weapon.ViewModelOffsets.Aim.Pos + Vector(0.15, 0, 0)
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
|
||||
weapon:SetViewModel("models/viper/mw/weapons/v_357_stock.mdl")
|
||||
end
|
||||
@@ -0,0 +1,27 @@
|
||||
ATTACHMENT.Base = "att_stock"
|
||||
ATTACHMENT.Name = "FSS Raider Stock"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_pi_cpapa_stockl.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/cpapa/icon_attachment_pi_cpapa_stockl.vmt")
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["pgrip"] = 1
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups = {
|
||||
["pgrip"] = 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.88
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.88
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.88
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.88
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 0.65
|
||||
weapon.ViewModelOffsets.Aim.Pos = weapon.ViewModelOffsets.Aim.Pos + Vector(0.15, 0, 0)
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
|
||||
weapon:SetViewModel("models/viper/mw/weapons/v_357_stock.mdl")
|
||||
end
|
||||
Reference in New Issue
Block a user