Files
wnsrc/lua/arccw/shared/attachments/uc_optic_kobra.lua

102 lines
3.0 KiB
Lua
Raw Normal View History

2024-08-05 18:40:29 +03:00
--[[
| 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 = "Kobra EKP-8-16 Reflex Sight (RDS)"
att.AbbrevName = "Kobra (RDS)"
att.Icon = Material("entities/att/acwatt_uc_optic_kobra.png", "mips smooth")
att.Description = "Improves sighted visibility with a red-dot targeting reticle, while adding minimal extra weight.\nExclusive to the \"Warsaw Pact\" optic mount, and is slightly more agile than rail mounted optics."
att.SortOrder = 299
att.Desc_Pros = {
"autostat.holosight",
}
att.Desc_Cons = {
}
att.Desc_Neutrals = {
"uc.swapreticle"
}
att.AutoStats = true
att.Slot = {"ur_ak_optic"}
att.Model = "models/weapons/arccw/atts/ur_kobra.mdl"
att.ModelOffset = Vector(-2, 0, -4.55)
local R1, R2, R3, R4 = Material("hud/reticles/uc_kobra1.png", "mips smooth"), Material("hud/reticles/uc_kobra2.png", "mips smooth"), Material("hud/reticles/uc_kobra3.png", "mips smooth"), Material("hud/reticles/uc_kobra4.png", "mips smooth")
att.AdditionalSights = {
{
Pos = Vector(0, 13, -1.3),
Ang = Angle(0, 0, 0),
Magnification = 1.1,
ScrollFunc = ArcCW.SCROLL_NONE,
HolosightData = {
HolosightReticle = R1,
HolosightPiece = "models/weapons/arccw/atts/ur_kobra_hsp.mdl",
HolosightNoFlare = true,
HolosightSize = 1.5,
HolosightBone = "holosight",
Colorable = true
}
},
{
Pos = Vector(0, 13, -1.3),
Ang = Angle(0, 0, 0),
Magnification = 1.1,
ScrollFunc = ArcCW.SCROLL_NONE,
HolosightData = {
HolosightReticle = R2,
HolosightPiece = "models/weapons/arccw/atts/ur_kobra_hsp.mdl",
HolosightNoFlare = true,
HolosightSize = 2,
HolosightBone = "holosight",
Colorable = true
}
},
{
Pos = Vector(0, 13, -1.3),
Ang = Angle(0, 0, 0),
Magnification = 1.1,
ScrollFunc = ArcCW.SCROLL_NONE,
HolosightData = {
HolosightReticle = R3,
HolosightPiece = "models/weapons/arccw/atts/ur_kobra_hsp.mdl",
HolosightNoFlare = true,
HolosightSize = 2,
HolosightBone = "holosight",
Colorable = true
}
},
{
Pos = Vector(0, 13, -1.3),
Ang = Angle(0, 0, 0),
Magnification = 1.1,
ScrollFunc = ArcCW.SCROLL_NONE,
HolosightData = {
HolosightReticle = R4,
HolosightPiece = "models/weapons/arccw/atts/ur_kobra_hsp.mdl",
HolosightNoFlare = true,
HolosightSize = 2,
HolosightBone = "holosight",
Colorable = true
}
},
}
att.Holosight = true
att.HolosightPiece = "models/weapons/arccw/atts/ur_kobra_hsp.mdl"
att.Mult_SightedSpeedMult = 0.925
att.ExcludeFlags = {"ak_norail","cover_rail"}