mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
72 lines
1.9 KiB
Lua
72 lines
1.9 KiB
Lua
--[[
|
|
| This file was obtained through the combined efforts
|
|
| of Madbluntz & Plymouth Antiquarian Society.
|
|
|
|
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
|
| Maloy, DrPepper10 @ RIP, Atle!
|
|
|
|
|
| Visit for more: https://plymouth.thetwilightzone.ru/
|
|
--]]
|
|
|
|
att.PrintName = "Insight Technologies MIPIM AN/PEQ-16A (Tan)"
|
|
att.AbbrevName = "AN/PEQ-16A (Tan)"
|
|
att.Icon = Material("entities/att/acwatt_uc_tac_anpeq16a_tan.png", "mips smooth")
|
|
att.Description = "Low-profile flashlight and laser module for rifles. The laser increases accuracy without the use of sights.\nThe laser and flashlight can be toggled individually.\nThis unit is cosmetically colored tan."
|
|
att.Desc_Pros = {
|
|
"uc.light"
|
|
}
|
|
att.Desc_Cons = {
|
|
"con.light"
|
|
}
|
|
att.Desc_Neutrals = {}
|
|
att.AutoStats = true
|
|
|
|
att.Slot = {"tac"}
|
|
att.SortOrder = 20+2
|
|
|
|
att.Model = "models/weapons/arccw/atts/uc_anpeq16a.mdl"
|
|
att.ModelOffset = Vector(0, 0.1, 0.25)
|
|
att.OffsetAng = Angle(0, 0,180)
|
|
att.ModelScale = Vector(1.2, 1.2, 1.2)
|
|
att.Laser = false
|
|
att.LaserStrength = 2 / 5
|
|
att.LaserBone = "laser"
|
|
|
|
att.ColorOptionsTable = {Color(255, 0, 0, 150)}
|
|
|
|
att.Mult_SightTime = 1.05
|
|
att.Mult_SightedSpeedMult = 0.95
|
|
att.Mult_MoveSpeed = 1
|
|
|
|
att.Flashlight = false
|
|
att.FlashlightFOV = 50
|
|
att.FlashlightFarZ = 512 -- how far it goes
|
|
att.FlashlightNearZ = 1 -- how far away it starts
|
|
att.FlashlightAttenuationType = ArcCW.FLASH_ATT_LINEAR -- LINEAR, CONSTANT, QUADRATIC are available
|
|
att.FlashlightColor = Color(255, 235, 229)
|
|
att.FlashlightTexture = "effects/flashlight001"
|
|
att.FlashlightBrightness = 2
|
|
att.FlashlightBone = "laser"
|
|
|
|
att.ToggleStats = {
|
|
{
|
|
PrintName = "Laser",
|
|
Laser = true,
|
|
Mult_HipDispersion = 0.8,
|
|
Mult_MoveDispersion = 0.8
|
|
},
|
|
{
|
|
PrintName = "Both",
|
|
Laser = true,
|
|
Flashlight = true,
|
|
Mult_HipDispersion = 0.8,
|
|
Mult_MoveDispersion = 0.8
|
|
},
|
|
{
|
|
PrintName = "Light",
|
|
Flashlight = true,
|
|
},
|
|
{
|
|
PrintName = "Off",
|
|
}
|
|
} |