1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-02 00:42:29 +00:00
Поправлены экраны под новые модели
This commit is contained in:
kosmik641
2023-03-03 01:41:05 +03:00
parent 4e473f63e5
commit 5a58301de2
4 changed files with 73 additions and 48 deletions

View File

@@ -441,36 +441,36 @@ ENT.Lights = {
}
ENT.ButtonMap["BIT1"] = {
pos = Vector(-455.4,-10.85,52.62),
pos = Vector(-455.75,-10.92504,52.35969),
ang = Angle(0,90,90),
width = 1024,
height = 192,
scale = 0.0268,
hideseat=1.5,
scale = 0.026947,
hideseat = 1.5
}
ENT.ButtonMap["BIT2"] = {
pos = Vector(1.8,-11,52.35),
ang = Angle(0,90,90+9),
pos = Vector(1.55365,-10.92493,51.99417),
ang = Angle(0,90,97),
width = 1024,
height = 192,
scale = 0.02684+0.0003,
hideseat=1.5,
scale = 0.026947,
hideseat = 1.5
}
ENT.ButtonMap["BIT3"] = {
pos = Vector(-5,11,52.35),
ang = Angle(0,-90,90+9),
pos = Vector(-4.83291,10.92509,51.99417),
ang = Angle(0,-90,97),
width = 1024,
height = 192,
scale = 0.02684+0.0003,
hideseat=1.5,
scale = 0.026947,
hideseat = 1.5
}
ENT.ButtonMap["BIT4"] = {
pos = Vector(449.3,10.85,52.62),
pos = Vector(449.44,10.92504,52.35969),
ang = Angle(0,-90,90),
width = 1024,
height = 192,
scale = 0.0268,
hideseat=1.5,
scale = 0.026947,
hideseat = 1.5
}
function ENT:Initialize()
self.BaseClass.Initialize(self)
@@ -791,7 +791,7 @@ end
function ENT:DrawPost()
self.RTMaterial:SetTexture("$basetexture", self.BITScr)
surface.SetMaterial(self.RTMaterial)
surface.SetDrawColor(255,255,255)
surface.SetDrawColor(255,255,255,200)
for i=1,4 do
self:DrawOnPanel("BIT"..i,function(...)
surface.DrawTexturedRectRotated(512,128,1024,256,0)