Skip to content

Commit

Permalink
NSFHQ loop start fixes (#640) (issue #636)
Browse files Browse the repository at this point in the history
* open gates and give smuggler password for NSFHQ starts

* increase m04 gate trigger radius
  • Loading branch information
MQDuck authored Mar 6, 2024
1 parent 278148a commit c4196a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions DXRMapFixups/DeusEx/Classes/DXRFixupM04.uc
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,14 @@ function PreFirstEntryMapFixes()
case "04_NYC_STREET":
pg=Spawn(class'#var(prefix)PigeonGenerator',,, vectm(-1849,286,-487));//Near free clinic
pg.MaxCount=3;

foreach AllActors(class'#var(prefix)FlagTrigger', ft) {
if (ft.event == 'MainGates') {
// Increase the radius to extend around the corner for NSFHQ starts
ft.SetCollisionSize(7000.0, ft.CollisionHeight);
}
}

break;
}
}
Expand Down
2 changes: 2 additions & 0 deletions DXRModules/DeusEx/Classes/DXRStartMap.uc
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,8 @@ static function StartMapSpecificFlags(#var(PlayerPawn) player, FlagBase flagbase
switch(start_flag) {
case 45:
flagbase.SetBool('PaulInjured_Played',true,,-1);
flagbase.SetBool('KnowsSmugglerPassword',true,,-1); // Paul ordinarily tells you the password if you don't know it
flagbase.SetBool('GatesOpen',true,,5);
break;

case 65:
Expand Down

0 comments on commit c4196a8

Please sign in to comment.