-
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.
Add framework for bingo goals based on looking at images in your
datavault
- Loading branch information
1 parent
1ceebb2
commit 7ce7f69
Showing
4 changed files
with
38 additions
and
0 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
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,10 @@ | ||
//============================================================================= | ||
// DXRImage06_HK_MJ12Lab | ||
//============================================================================= | ||
|
||
class DXRImage06_HK_MJ12Lab injects Image06_HK_MJ12Lab; | ||
|
||
defaultproperties | ||
{ | ||
imageDescription="Hong Kong MJ12 Lab Facility" | ||
} |
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,24 @@ | ||
class DXRPersonaScreenImages injects PersonaScreenImages; | ||
|
||
function SetImage(DataVaultImage newImage) | ||
{ | ||
local string bingoName; | ||
local DXRando dxr; | ||
|
||
if (newImage!=None && newImage.bPlayerViewedImage==False){ | ||
bingoName = newImage.imageDescription; | ||
bingoName = class'DXRInfo'.static.ReplaceText(bingoName," ",""); | ||
bingoName = class'DXRInfo'.static.ReplaceText(bingoName,"-",""); | ||
bingoName = class'DXRInfo'.static.ReplaceText(bingoName,":",""); | ||
bingoName = class'DXRInfo'.static.ReplaceText(bingoName,",",""); | ||
bingoName = "ImageOpened_"$bingoName; | ||
|
||
foreach newImage.AllActors(class'DXRando', dxr) { | ||
class'DXREvents'.static.MarkBingo(dxr,bingoName); | ||
} | ||
|
||
newImage.bPlayerViewedImage = True; | ||
} | ||
|
||
Super.SetImage(newImage); | ||
} |