Залив
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
ATTACHMENT.Base = "att_optic"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
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.Zoom.ViewModelFovMultiplier = weapon.Zoom.ViewModelFovMultiplier * 1.65
|
||||
weapon.Zoom.FovMultiplier = 0.125
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 0.35
|
||||
|
||||
if (weapon.Recoil.Punch != nil) then
|
||||
weapon.Recoil.Punch = weapon.Recoil.Punch * 0.65
|
||||
end
|
||||
|
||||
if (weapon.Recoil.AdsShakeMultiplier != nil) then
|
||||
weapon.Recoil.AdsShakeMultiplier = weapon.Recoil.AdsShakeMultiplier * 0.5
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_optic"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Ads_In.Fps = weapon.Animations.Ads_In.Fps * 0.99
|
||||
weapon.Animations.Ads_Out.Fps = weapon.Animations.Ads_Out.Fps * 0.99
|
||||
weapon.Zoom.ViewModelFovMultiplier = weapon.Zoom.ViewModelFovMultiplier * 0.8
|
||||
weapon.Zoom.FovMultiplier = 0.7
|
||||
end
|
||||
@@ -0,0 +1,27 @@
|
||||
ATTACHMENT.Base = "att_optic"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
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.Zoom.ViewModelFovMultiplier = weapon.Zoom.ViewModelFovMultiplier * 1.55
|
||||
weapon.Zoom.FovMultiplier = 0.03
|
||||
end
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
|
||||
weapon.Recoil.AdsMultiplier = weapon.Recoil.AdsMultiplier * 0.15
|
||||
|
||||
if (weapon.Recoil.Punch != nil) then
|
||||
weapon.Recoil.Punch = weapon.Recoil.Punch * 0.35
|
||||
end
|
||||
|
||||
if (weapon.Recoil.AdsShakeMultiplier != nil) then
|
||||
weapon.Recoil.AdsShakeMultiplier = weapon.Recoil.AdsShakeMultiplier * 0.25
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_optic"
|
||||
|
||||
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.Zoom.ViewModelFovMultiplier = weapon.Zoom.ViewModelFovMultiplier * 0.95
|
||||
weapon.Zoom.FovMultiplier = 0.6
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_optic"
|
||||
|
||||
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.Zoom.ViewModelFovMultiplier = weapon.Zoom.ViewModelFovMultiplier * 1.05
|
||||
weapon.Zoom.FovMultiplier = 0.525
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
ATTACHMENT.Base = "att_optic"
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
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.Zoom.ViewModelFovMultiplier = weapon.Zoom.ViewModelFovMultiplier * 1.2
|
||||
weapon.Zoom.FovMultiplier = 0.4
|
||||
end
|
||||
@@ -0,0 +1,28 @@
|
||||
ATTACHMENT.Base = "att_optic_2x"
|
||||
ATTACHMENT.Name = "Cronen 2x2 Elite"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_ar_tango21_hybrid.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/optics/icon_attachment_ar_tango21_hybrid.vmt")
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.Optic = {
|
||||
LensHideMaterial = Material("viper/MW/attachments/weapon_vm_ar_tango21_magnifier_lens.vmt"),
|
||||
HideModel = Model("models/viper/mw/attachments/attachment_vm_ar_tango21_hybrid_hide.mdl"),
|
||||
LensBodygroup = "lens",
|
||||
FOV = 7,
|
||||
ParallaxSize = 800, --a value of zero means 1:1 size with the end of the optic
|
||||
Thermal = false
|
||||
}
|
||||
ATTACHMENT.Reticle = {
|
||||
Material = Material("viper/shared/reticles/bravo4_ret.vmt"),
|
||||
Size = 1200,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
ATTACHMENT.Base = "att_optic_2x"
|
||||
ATTACHMENT.Name = "Solozero K498 2.0x Integral"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_lm_slima_acog.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/optics/icon_attachment_lm_slima_acog.vmt")
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.Optic = {
|
||||
LensHideMaterial = Material("viper/MW/attachments/weapon_vm_lm_slima_sightmagnifier_lens.vmt"),
|
||||
HideModel = Model("models/viper/mw/attachments/attachment_vm_lm_slima_acog_hide.mdl"),
|
||||
LensBodygroup = "lens",
|
||||
FOV = 7,
|
||||
ParallaxSize = 600, --a value of zero means 1:1 size with the end of the optic
|
||||
Thermal = false
|
||||
}
|
||||
ATTACHMENT.Reticle = {
|
||||
Material = Material("viper/shared/reticles/bravo4_ret.vmt"),
|
||||
Size = 1200,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
ATTACHMENT.Base = "att_sight_1x"
|
||||
ATTACHMENT.Name = "Solozero K498"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_lm_slima_acog_optic.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/optics/icon_attachment_lm_slima_acog_holo.vmt")
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
|
||||
ATTACHMENT.Reticle = {
|
||||
Material = Material("viper/mw/reticles/reticle_holo_default2.vmt"),
|
||||
Size = 400,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
ATTACHMENT.Base = "att_optic_3x"
|
||||
ATTACHMENT.Name = "VLK 3.0x Optic"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_4x_east.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/optics/icon_attachment_4x_east.vmt")
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.Optic = {
|
||||
LensHideMaterial = Material("viper/MW/attachments/attachment_vm_4x_east_lens.vmt"),
|
||||
HideModel = Model("models/viper/mw/attachments/attachment_vm_4x_east_hide.mdl"),
|
||||
LensBodygroup = "lens",
|
||||
FOV = 7,
|
||||
ParallaxSize = 500, --a value of zero means 1:1 size with the end of the optic
|
||||
Thermal = false
|
||||
}
|
||||
ATTACHMENT.Reticle = {
|
||||
Material = Material("viper/mw/reticles/reticle_acog_default2.vmt"),
|
||||
Size = 700,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
ATTACHMENT.Base = "att_vm_4x_east01"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_4x_east_tall.mdl")
|
||||
ATTACHMENT.Optic = {
|
||||
HideModel = Model("models/viper/mw/attachments/attachment_vm_4x_east_tall_lens_hide.mdl")
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
ATTACHMENT.Base = "att_optic_4x"
|
||||
ATTACHMENT.Name = "Scout Combat Optic"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_4x_west.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/optics/icon_attachment_4x_west.vmt")
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.Optic = {
|
||||
LensHideMaterial = Material("viper/MW/attachments/attachment_vm_4x_west_lens.vmt"),
|
||||
HideModel = Model("models/viper/mw/attachments/attachment_vm_4x_west_hide.mdl"),
|
||||
LensBodygroup = "lens",
|
||||
FOV = 7,
|
||||
ParallaxSize = 450, --a value of zero means 1:1 size with the end of the optic
|
||||
Thermal = false
|
||||
}
|
||||
ATTACHMENT.Reticle = {
|
||||
Material = Material("viper/mw/reticles/reticle_vzscope_default"),
|
||||
Size = 800,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
ATTACHMENT.Base = "att_vm_4x_west01"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_4x_west_tall.mdl")
|
||||
ATTACHMENT.Optic = {
|
||||
HideModel = Model("models/viper/mw/attachments/attachment_vm_4x_west_tall_lens_hide.mdl")
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
ATTACHMENT.Base = "att_optic_4x"
|
||||
ATTACHMENT.Name = "Cronen C480 Pro Optic"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_4x_west02.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/optics/icon_attachment_4x_west02.vmt")
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.Optic = {
|
||||
LensHideMaterial = Material("viper/MW/attachments/attachment_vm_4x_west02_lens.vmt"),
|
||||
HideModel = Model("models/viper/mw/attachments/attachment_vm_4x_west02_hide.mdl"),
|
||||
LensBodygroup = "lens",
|
||||
FOV = 7,
|
||||
ParallaxSize = 800, --a value of zero means 1:1 size with the end of the optic
|
||||
Thermal = false
|
||||
}
|
||||
ATTACHMENT.Reticle = {
|
||||
Material = Material("viper/mw/reticles/reticle_acog_default3.vmt"),
|
||||
Size = 500,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
ATTACHMENT.Base = "att_vm_4x_west02"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_4x_west02_tall.mdl")
|
||||
ATTACHMENT.Optic = {
|
||||
HideModel = Model("models/viper/mw/attachments/attachment_vm_4x_west02_tall_lens_hide.mdl")
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
ATTACHMENT.Base = "att_optic_1point5x"
|
||||
ATTACHMENT.Name = "APX5 Holographic Sight"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_holo_east.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/optics/icon_attachment_holo_east.vmt")
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.Optic = {
|
||||
LensHideMaterial = Material("viper/MW/attachments/attachment_vm_holo_east_lens.vmt"),
|
||||
HideModel = Model("models/viper/mw/attachments/attachment_vm_holo_east_hide.mdl"),
|
||||
LensBodygroup = "lens",
|
||||
ParallaxSize = 450, --a value of zero means 1:1 size with the end of the optic
|
||||
Thermal = false
|
||||
}
|
||||
ATTACHMENT.Reticle = {
|
||||
Material = Material("viper/mw/reticles/reticle_holo_default2.vmt"),
|
||||
Size = 400,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
ATTACHMENT.Base = "att_optic_10x"
|
||||
ATTACHMENT.Name = "Sniper Scope"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/weapon_vm_scope_mike14_alt.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/optics/icon_attachment_snprscope_mike14.vmt")
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["tag_top_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.Optic = {
|
||||
LensHideMaterial = Material("viper/MW/attachments/weapon_vm_sn_mike14_scope_lens.vmt"),
|
||||
HideModel = Model("models/viper/mw/attachments/weapon_vm_scope_mike14_alt_lens_hide.mdl"),
|
||||
LensBodygroup = "lens",
|
||||
FOV = 3,
|
||||
ParallaxSize = 700, --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 = 5000,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle",
|
||||
Offset = Vector(-0.09, 0.01, 0)
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
ATTACHMENT.Base = "att_optic_10x"
|
||||
ATTACHMENT.Name = "Variable™ Zoom Scope"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_scope_vz.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/optics/icon_attachment_scope_vz.vmt")
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["tag_top_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.Optic = {
|
||||
LensHideMaterial = Material("viper/MW/attachments/attachment_vm_scope_vz_lens.vmt"),
|
||||
HideModel = Model("models/viper/mw/attachments/weapon_vm_scope_vz_lens_hide.mdl"),
|
||||
LensBodygroup = "lens",
|
||||
FOV = 3,
|
||||
ParallaxSize = 700, --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 = 2000,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Zoom.ViewModelFovMultiplier = weapon.Zoom.ViewModelFovMultiplier * 0.9
|
||||
end
|
||||
@@ -0,0 +1,28 @@
|
||||
ATTACHMENT.Base = "att_optic_4x"
|
||||
ATTACHMENT.Name = "Merc Thermal Optic"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_thermal_east.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/optics/icon_attachment_thermal_east.vmt")
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.Optic = {
|
||||
HideModel = Model("models/viper/mw/attachments/attachment_vm_thermal_east_hide.mdl"),
|
||||
LensHideMaterial = Material("viper/MW/attachments/attachment_vm_thermal_east_lens.vmt"),
|
||||
LensBodygroup = "lens",
|
||||
FOV = 7,
|
||||
ParallaxSize = 300, --a value of zero means 1:1 size with the end of the optic
|
||||
Thermal = true
|
||||
}
|
||||
ATTACHMENT.Reticle = {
|
||||
Material = Material("viper/mw/reticles/reticle_thermal_default2.vmt"),
|
||||
Size = 750,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
ATTACHMENT.Base = "att_optic_10x"
|
||||
ATTACHMENT.Name = "Solozero NVG Enhanced"
|
||||
ATTACHMENT.Model = Model("models/viper/mw/attachments/attachment_vm_thermal_west_01.mdl")
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/optics/icon_attachment_thermal_west01.vmt")
|
||||
ATTACHMENT.Bodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.AttachmentBodygroups ={
|
||||
["tag_sight"] = 2,
|
||||
["tag_rail"] = 1,
|
||||
["sight"] = 2
|
||||
}
|
||||
ATTACHMENT.Optic = {
|
||||
HideModel = Model("models/viper/mw/attachments/attachment_vm_thermal_west_01_hide.mdl"),
|
||||
LensHideMaterial = Material("viper/MW/attachments/attachment_vm_thermal_west01_lens.vmt"),
|
||||
LensBodygroup = "lens",
|
||||
FOV = 7,
|
||||
ParallaxSize = 600, --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)
|
||||
}
|
||||
ATTACHMENT.Reticle = {
|
||||
Material = Material("viper/mw/reticles/reticle_thermal_default.vmt"),
|
||||
Size = 750,
|
||||
Color = Color(255, 255, 255, 255),
|
||||
Attachment = "reticle"
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Zoom.ViewModelFovMultiplier = weapon.Zoom.ViewModelFovMultiplier * 0.9
|
||||
end
|
||||
Reference in New Issue
Block a user