1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-02 00:42:29 +00:00
#366 #291
This commit is contained in:
Ilya Krasnow
2021-08-30 19:02:19 +03:00
parent a1e7c824cf
commit 07509b395e
5 changed files with 30 additions and 29 deletions

View File

@@ -205,8 +205,8 @@ ENT.ClientSounds["RearBrakeLineIsolation"] = {{"RearBrake",function() return "di
ENT.ClientSounds["RearTrainLineIsolation"] = {{"RearTrain",function() return "disconnect_valve" end,1,1,50,1e3,Angle(-90,0,0)}}
ENT.ButtonMap["GV"] = {
pos = Vector(170-3-9.5,50+20,-60+2),
ang = Angle(0,225-15,90),
pos = Vector(-165,-50+20-40,-60+2),
ang = Angle(0,225-15-180,90),
width = 260,
height = 260,
scale = 0.1,
@@ -221,21 +221,21 @@ ENT.ButtonMap["GV"] = {
}
ENT.ClientProps["gv"] = {
model = "models/metrostroi/81-717/gv.mdl",
pos = Vector(153.5-3-9.5,36+20,-78+2),
ang = Angle(-90,90,-90),
pos = Vector(-153.5,36+20-115,-78+3),
ang = Angle(-90,90-180,-90),
color = Color(150,255,255),
hide = 0.5,
}
ENT.ClientProps["gv_wrench"] = {
model = "models/metrostroi_train/reversor/reversor_classic.mdl",
pos = ENT.ClientProps["gv"].pos,
ang = Angle(-90,0,0),
ang = Angle(-90,180,0),
hide = 0.5,
}
ENT.ButtonMap["AirDistributor"] = {
pos = Vector(-185,-68,-50),
ang = Angle(0,0,90),
pos = Vector(185,68,-50),
ang = Angle(0,180,90),
width = 170,
height = 80,
scale = 0.1,
@@ -314,8 +314,8 @@ ENT.ButtonMap["couch_cap_o"] = {
}
}
ENT.ButtonMap["Stopkran"] = {
pos = Vector(-397,-60,0),
ang = Angle(0,180,70),
pos = Vector(397-13.1,60,0),
ang = Angle(0,0,70),
width = 1000,
height = 600,
scale = 0.0625,
@@ -946,7 +946,7 @@ function ENT:Think()
self:HidePanel("couch_cap_o",not capOpened)
self:HidePanel("AV_S",not capOpened)
self:HidePanel("AV_T",not capOpened)
self:HidePanel("Stopkran",not capOpened)
-- self:HidePanel("Stopkran",not capOpened)
self:ShowHide("otsek_cap_r",not capOpened)
self:ShowHide("brake334",capOpened and not c013)
self:ShowHide("brake013",capOpened and c013)