Skip to content

Commit

Permalink
paul's bathroom door doesn't shut instantaneously (Die4Ever#817)
Browse files Browse the repository at this point in the history
* paul's bathroom door doesn't shut instananeously

* DeusExMover -> #var(DeusExPrefix)Mover

* fix HX build

---------

Co-authored-by: Die4Ever <die4ever2005@gmail.com>
  • Loading branch information
MQDuck and Die4Ever committed Jul 18, 2024
1 parent cebc4ae commit b5734b3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions DXRMapFixups/DeusEx/Classes/DXRFixupM02.uc
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ function PreFirstEntryMapFixes()
//CreateAnsweringMachineConversation(tad);
//tad.ConBindEvents();

foreach RadiusActors(class'DeusExMover', d, 1.0, vectm(-304.0, -3000.0, 64.0)) {
// interpolate Paul's bathroom door to its starting position so it doesn't close instantaneously when frobbed
d.InterpolateTo(1, 0.0);
break;
}

Spawn(class'PlaceholderItem',,, vectm(-732,-2628,75)); //Actual closet
Spawn(class'PlaceholderItem',,, vectm(-732,-2712,75)); //Actual closet
Expand Down
6 changes: 6 additions & 0 deletions DXRMapFixups/DeusEx/Classes/DXRFixupM04.uc
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ function PreFirstEntryMapFixes()
SpawnDatacubeTextTag(vectm(-840,-2920,85), rotm(0,0,0,0), '02_Datacube07',False); //Paul's stash code, in closet
}

foreach RadiusActors(class'#var(DeusExPrefix)Mover', door, 1.0, vectm(-304.0, -3000.0, 64.0)) {
// interpolate Paul's bathroom door to its starting position so it doesn't close instantaneously when frobbed
door.InterpolateTo(1, 0.0);
break;
}

Spawn(class'PlaceholderItem',,, vectm(-732,-2628,75)); //Actual closet
Spawn(class'PlaceholderItem',,, vectm(-732,-2712,75)); //Actual closet
Spawn(class'PlaceholderItem',,, vectm(-129,-3038,127)); //Bathroom counter
Expand Down
6 changes: 6 additions & 0 deletions DXRMapFixups/DeusEx/Classes/DXRFixupM08.uc
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,12 @@ function PreFirstEntryMapFixes()
GlowUp(k);
}

foreach RadiusActors(class'#var(DeusExPrefix)Mover', d, 1.0, vectm(-304.0, -3000.0, 64.0)) {
// interpolate Paul's bathroom door to its starting position so it doesn't close instantaneously when frobbed
d.InterpolateTo(1, 0.0);
break;
}

Spawn(class'PlaceholderItem',,, vectm(-732,-2628,75)); //Actual closet
Spawn(class'PlaceholderItem',,, vectm(-732,-2712,75)); //Actual closet
Spawn(class'PlaceholderItem',,, vectm(-129,-3038,127)); //Bathroom counter
Expand Down

0 comments on commit b5734b3

Please sign in to comment.