Skip to content

Commit

Permalink
water cooler in versalife break room faces away from the wall (#813)
Browse files Browse the repository at this point in the history
  • Loading branch information
MQDuck authored Jul 16, 2024
1 parent 57043ca commit 23a7bfb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions DXRMapFixups/DeusEx/Classes/DXRFixupM06.uc
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ function PreFirstEntryMapFixes()
local #var(prefix)LaserTrigger lt;
local DXRButtonHoverHint buttonHint;
local DXRHoverHint hoverHint;
local WaterCooler wc;
local Rotator rot;
local int i;

local bool VanillaMaps;
Expand Down Expand Up @@ -595,6 +597,15 @@ function PreFirstEntryMapFixes()
}
}

if (VanillaMaps) {
foreach RadiusActors(class'WaterCooler', wc, 1.0, vectm(-1000.329651, 155.701721, 201.670242)) {
// this water cooler faces the wall normally
rot = wc.Rotation;
rot.yaw += 32768;
wc.SetRotation(rot);
break;
}
}

Spawn(class'PlaceholderItem',,, vectm(12.36,1556.5,-51)); //1st floor front cube
Spawn(class'PlaceholderItem',,, vectm(643.5,2139.7,-51.7)); //1st floor back cube
Expand All @@ -604,6 +615,7 @@ function PreFirstEntryMapFixes()
Spawn(class'PlaceholderItem',,, vectm(607.54,1629.1,460.3)); //3rd floor back cube
Spawn(class'PlaceholderItem',,, vectm(-914.38,255.5,458.3)); //3rd floor breakroom table
Spawn(class'PlaceholderItem',,, vectm(-836.9,850.3,-9.7)); //Reception desk back

break;

case "06_HONGKONG_STORAGE":
Expand Down

0 comments on commit 23a7bfb

Please sign in to comment.