Skip to content

Commit

Permalink
Make sure images don't have goal rando hints in reduced rando modes
Browse files Browse the repository at this point in the history
  • Loading branch information
theastropath committed Feb 3, 2024
1 parent 83531d8 commit 967a9ff
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
14 changes: 14 additions & 0 deletions DXRando/DeusEx/Classes/Image09_NYC_Ship_Bottom.uc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@

class DXRImage09_NYC_Ship_Bottom injects Image09_NYC_Ship_Bottom;

function PostPostBeginPlay()
{
local DXRando dxr;

foreach AllActors(class'DXRando',dxr) break;

if (dxr==None || dxr.flags.IsReducedRando()){

This comment has been minimized.

Copy link
@Die4Ever

Die4Ever Feb 3, 2024

Owner

actually I think it should be based on dxr.flags.settings.goals > 0

imageTextures[0]=Texture'DeusExUI.UserInterface.Image09_NYC_Ship_Bttm_1';
imageTextures[1]=Texture'DeusExUI.UserInterface.Image09_NYC_Ship_Bttm_2';
imageTextures[2]=Texture'DeusExUI.UserInterface.Image09_NYC_Ship_Bttm_3';
imageTextures[3]=Texture'DeusExUI.UserInterface.Image09_NYC_Ship_Bttm_4';
}
}

defaultproperties
{
imageTextures(0)=Texture'#var(package).DXRandoImages.Image09_NYC_Ship_Bttm_1'
Expand Down
13 changes: 13 additions & 0 deletions DXRando/DeusEx/Classes/Image10_Paris_Metro.uc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@

class DXRImage10_Paris_Metro injects Image10_Paris_Metro;

function PostPostBeginPlay()
{
local DXRando dxr;

foreach AllActors(class'DXRando',dxr) break;

if (dxr==None || dxr.flags.IsReducedRando()){
imageTextures[1]=Texture'DeusExUI.UserInterface.Image10_Paris_Metro_2';
imageTextures[2]=Texture'DeusExUI.UserInterface.Image10_Paris_Metro_3';
imageTextures[3]=Texture'DeusExUI.UserInterface.Image10_Paris_Metro_4';
}
}

defaultproperties
{
imageTextures(0)=Texture'DeusExUI.UserInterface.Image10_Paris_Metro_1'
Expand Down

0 comments on commit 967a9ff

Please sign in to comment.