Skip to content

Commit

Permalink
14_OCEANLAB_LAB backtracking buttons for greasel lab and crew module
Browse files Browse the repository at this point in the history
  • Loading branch information
Die4Ever committed Nov 30, 2023
1 parent a0a3a60 commit 7fd3872
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions DXRMapFixups/DeusEx/Classes/DXRFixupVandenberg.uc
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,20 @@ function PreFirstEntryMapFixes()
case "14_OCEANLAB_LAB":
if(!#defined(vmd))// button to open the door heading towards the ladder in the water
AddSwitch( vect(3077.360107, 497.609467, -1738.858521), rot(0, 0, 0), 'Access');

foreach AllActors(class'#var(DeusExPrefix)Mover',door){
if(door.KeyIDNeeded=='crewkey'){
door.Tag = 'crewkey';
}
if(door.KeyIDNeeded=='Glab'){
door.Tag = 'Glab';
}
}
// backtracking button for crew module
AddSwitch( vect(4888.692871, 3537.360107, -1753.115845), rot(0, 16384, 0), 'crewkey').bCollideWorld = false;
// backtracking button for greasel lab
AddSwitch( vect(1893.359985, 491.932892, -1535.522339), rot(0, 0, 0), 'Glab');

foreach AllActors(class'ComputerSecurity', comp) {
if( comp.UserList[0].userName == "Kraken" && comp.UserList[0].Password == "Oceanguard" ) {
comp.UserList[0].userName = "Oceanguard";
Expand Down

0 comments on commit 7fd3872

Please sign in to comment.