-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from Die4Ever/develop
v1.4.8 improvements to rearranged levels / randomize stats for augmentations, weapons, and skills / randomize strength and lockpick strength for doors / randomize hack strength for keypads
- Loading branch information
Showing
20 changed files
with
819 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
class DXRAugmentation merges Augmentation; | ||
|
||
function PostBeginPlay() | ||
{ | ||
local DXRAugmentations a; | ||
Super.PostBeginPlay(); | ||
|
||
foreach AllActors(class'DXRAugmentations', a) { | ||
a.RandoAug(self); | ||
break; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
class DXRBacktracking extends DXRActorsBase; | ||
// backtracking specific fixes that might be too extreme for the more generic DXRFixup? or move the stuff from DXRFixup into here? | ||
|
||
function FirstEntry() | ||
{ | ||
local Teleporter t; | ||
local DynamicTeleporter dt; | ||
local BlockPlayer bp; | ||
Super.FirstEntry(); | ||
|
||
switch(dxr.localURL) { | ||
case "10_PARIS_METRO": | ||
foreach AllActors(class'BlockPlayer', bp) { | ||
if( bp.Name == 'BlockPlayer0' ) { | ||
bp.bBlockPlayers=false; | ||
} | ||
} | ||
dt = Spawn(class'DynamicTeleporter',,'sewers_backtrack',vect(1599.971558, -4694.342773, 13.399302)); | ||
dt.URL = "10_PARIS_CATACOMBS_TUNNELS#?toname=AmbientSound10"; | ||
dt.Radius = 160; | ||
AddSwitch(vect(1602.826904, -4318.841309, -250.365067), rot(0, 16384, 0), 'sewers_backtrack'); | ||
break; | ||
case "15_AREA51_ENTRANCE": | ||
dt = Spawn(class'DynamicTeleporter',,,vect(4384.407715, -2483.292236, -41.900017)); | ||
dt.URL = "15_area51_bunker#?toname=Light188"; | ||
dt.Radius = 160; | ||
break; | ||
case "15_AREA51_FINAL": | ||
dt = Spawn(class'DynamicTeleporter',,,vect(-5714.406250, -1977.827881, -1358.711304)); | ||
dt.URL = "15_area51_entrance#?toname=Light73"; | ||
dt.Radius = 160; | ||
break; | ||
} | ||
} | ||
|
||
function AnyEntry() | ||
{ | ||
local string tonamestring; | ||
local name toname; | ||
local Actor a; | ||
Super.AnyEntry(); | ||
|
||
//need to make sure this doesn't happen when loading a save | ||
if (! dxr.flags.f.GetBool('PlayerTraveling')) return; | ||
|
||
tonamestring = Level.game.ParseOption( "?" $ Level.GetLocalURL(), "toname" ); | ||
if( InStr(tonamestring, "#") >=0 ) { | ||
tonamestring = Left(tonamestring,InStr(tonamestring,"#")); | ||
} | ||
if( tonamestring != "" ) { | ||
toname = dxr.Player.rootWindow.StringToName(tonamestring); | ||
foreach AllActors(class'Actor', a) { | ||
if( a.Name == toname ) { | ||
dxr.Player.SetLocation(a.Location); | ||
dxr.Player.UpdateURL("toname", "", false); | ||
break; | ||
} | ||
} | ||
} | ||
} | ||
|
||
function DeusExDecoration AddSwitch(vector loc, rotator rotate, name Event) | ||
{ | ||
return class'DXRFixup'.static._AddSwitch(Self, loc, rotate, Event); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.