From ea009cad76e1c42b71a254932922d3fcf0a57a13 Mon Sep 17 00:00:00 2001 From: Lukas Werling Date: Wed, 27 Dec 2017 13:17:24 +0100 Subject: [PATCH] Skylands: Enable half solid masks for scaffolds We found these scaffolds to be rather infuriating to use, maybe this will make it a bit better. --- .../Skylands.ocs/Scaffold.ocd/Wall.ocd/Script.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/planet/Missions.ocf/Skylands.ocs/Scaffold.ocd/Wall.ocd/Script.c b/planet/Missions.ocf/Skylands.ocs/Scaffold.ocd/Wall.ocd/Script.c index fe65e159d..b60057586 100644 --- a/planet/Missions.ocf/Skylands.ocs/Scaffold.ocd/Wall.ocd/Script.c +++ b/planet/Missions.ocf/Skylands.ocs/Scaffold.ocd/Wall.ocd/Script.c @@ -21,6 +21,7 @@ func SetLeftExtension(object host) SetPosition(host->GetX()+13, host->GetY()+12); SetSolidMask(0,0,32,4); SetVertexXY(0,1+29,-27); + SetHalfVehicleSolidMask(true); return true; } @@ -43,6 +44,7 @@ func SetRightExtension(object host) SetPosition(host->GetX()+13, host->GetY()+12); SetSolidMask(0,0,32,4); SetVertexXY(0,1-29,-27); + SetHalfVehicleSolidMask(true); return true; } @@ -54,6 +56,7 @@ func SetTopRightExtension(object host) SetPosition(host->GetX()+15, host->GetY()-48); SetSolidMask(0,0,2,32,2,0); SetVertexXY(0,-27,1+32); + SetHalfVehicleSolidMask(true); return true; } @@ -65,6 +68,7 @@ func SetTopLeftExtension(object host) SetPosition(host->GetX()-16, host->GetY()-48); SetSolidMask(0,0,2,32); SetVertexXY(0,1,1+32); + SetHalfVehicleSolidMask(true); return true; } @@ -76,6 +80,7 @@ func SetTop(object host) SetPosition(host->GetX()-16, host->GetY()-16); SetSolidMask(0,0,32,4); SetVertexXY(0,1,1); + SetHalfVehicleSolidMask(true); return true; } @@ -87,6 +92,7 @@ func SetBottom(object host) SetPosition(host->GetX()-16, host->GetY()+12); SetSolidMask(0,0,32,4); SetVertexXY(0,1,-27); + SetHalfVehicleSolidMask(true); return true; }