Залив
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
ATTACHMENT.Base = "att_laser"
|
||||
ATTACHMENT.Name = "Tac Laser"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_laser01.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/laser/icon_attachment_laser01.vmt")
|
||||
ATTACHMENT.Laser = {
|
||||
BeamMaterial = Material("mw19_laserbeam.vmt"),
|
||||
DotMaterial = Material("sprites/light_glow02_add.vmt"),
|
||||
BeamSize = 15,
|
||||
BeamWidth = 1,
|
||||
DotSize = 5,
|
||||
Color = Color(255, 0, 0, 255),
|
||||
Attachment = "laser"
|
||||
}
|
||||
ATTACHMENT.Flashlight = {
|
||||
FlashlightMaterial = Material("effects/flashlight001.vmt"),
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "laser"
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 0.9
|
||||
weapon.Cone.Ads = weapon.Cone.Ads * 0.9
|
||||
weapon.Cone.Increase = weapon.Cone.Increase * 0.9
|
||||
end
|
||||
@@ -0,0 +1,3 @@
|
||||
ATTACHMENT.Base = "att_vm_laser01"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_laser_cylinder04.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/laser/icon_attachment_laser_cylinder04.vmt")
|
||||
@@ -0,0 +1,3 @@
|
||||
ATTACHMENT.Base = "att_vm_laser01"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_laser_pstl.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/laser/icon_attachment_laser_pstl.vmt")
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_vm_laser01"
|
||||
ATTACHMENT.Name = ".red Swift"
|
||||
ATTACHMENT.Laser = {
|
||||
BeamMaterial = Material("mw19_laserbeam.vmt"),
|
||||
DotMaterial = Material("mg/sprites/shoothouselaser.vmt"),
|
||||
BeamSize = 15,
|
||||
BeamWidth = 1,
|
||||
DotSize = 2,
|
||||
Color = Color(255, 0, 255, 255),
|
||||
Attachment = "laser"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
ATTACHMENT.Base = "att_laser"
|
||||
ATTACHMENT.Name = "5mW Laser"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_laser02.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/laser/icon_attachment_laser02.vmt")
|
||||
ATTACHMENT.Laser = {
|
||||
BeamMaterial = Material("mw19_laserbeam.vmt"),
|
||||
DotMaterial = Material("sprites/light_glow02_add.vmt"),
|
||||
BeamSize = 15,
|
||||
BeamWidth = 1,
|
||||
DotSize = 5,
|
||||
Color = Color(0, 255, 255, 255),
|
||||
Attachment = "laser"
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.97
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.97
|
||||
weapon.Animations.Draw.Fps = weapon.Animations.Draw.Fps * 0.97
|
||||
weapon.Animations.Holster.Fps = weapon.Animations.Holster.Fps * 0.97
|
||||
weapon.Cone.Hip = weapon.Cone.Hip * 0.85
|
||||
weapon.Cone.Ads = weapon.Cone.Ads * 0.85
|
||||
weapon.Cone.Increase = weapon.Cone.Increase * 0.85
|
||||
end
|
||||
@@ -0,0 +1,3 @@
|
||||
ATTACHMENT.Base = "att_vm_laser02"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_laser_cylinder02.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/laser/icon_attachment_laser_cylinder02.vmt")
|
||||
@@ -0,0 +1,3 @@
|
||||
ATTACHMENT.Base = "att_vm_laser02"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_laser_pstl03.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/laser/icon_attachment_laser_pstl03.vmt")
|
||||
@@ -0,0 +1,25 @@
|
||||
ATTACHMENT.Base = "att_laser"
|
||||
ATTACHMENT.Name = "1mW Laser"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_laser03.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/laser/icon_attachment_laser03.vmt")
|
||||
ATTACHMENT.Laser = {
|
||||
BeamMaterial = Material("mw19_laserbeam.vmt"),
|
||||
DotMaterial = Material("sprites/light_glow02_add.vmt"),
|
||||
BeamSize = 15,
|
||||
BeamWidth = 0.5,
|
||||
DotSize = 5,
|
||||
Color = Color(0, 255, 0, 255),
|
||||
Attachment = "laser"
|
||||
}
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
|
||||
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.Cone.Hip = weapon.Cone.Hip * 0.8
|
||||
weapon.Cone.Ads = weapon.Cone.Ads * 0.8
|
||||
weapon.Cone.Increase = weapon.Cone.Increase * 0.8
|
||||
end
|
||||
@@ -0,0 +1,3 @@
|
||||
ATTACHMENT.Base = "att_vm_laser03"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_laser_cylinder03.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/laser/icon_attachment_laser_cylinder03.vmt")
|
||||
@@ -0,0 +1,3 @@
|
||||
ATTACHMENT.Base = "att_vm_laser03"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_laser_pstl04.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/laser/icon_attachment_laser_pstl04.vmt")
|
||||
Reference in New Issue
Block a user