Skip to content

Commit

Permalink
LostArtefacts#185 TR3 Secret Randomization
Browse files Browse the repository at this point in the history
Added reward room for Crash Site.
  • Loading branch information
lahm86 committed Nov 3, 2021
1 parent 5e5ac2c commit 3d213fc
Showing 1 changed file with 283 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,283 @@
{
"RewardEntities": [
93,
95,
116,
146,
147
],

"Rooms": [
{
"RewardPositions": [
{
"X": 75264,
"Y": -512,
"Z": 60928
},
{
"X": 74240,
"Y": -512,
"Z": 60928
},
{
"X": 73216,
"Y": -512,
"Z": 60928
},
{
"X": 72192,
"Y": -512,
"Z": 60928
},
{
"X": 71168,
"Y": -512,
"Z": 60928
}
],

"Doors": [
{
"TypeID": 132,
"X": 76288,
"Y": -512,
"Z": 60928,
"Room": 32767,
"Angle": 16384,
"Intensity1": 6342,
"Intensity2": 16912
},
{
"TypeID": 132,
"X": 77312,
"Y": -1792,
"Z": 60928,
"Room": 41,
"Angle": 16384,
"Intensity1": 6342,
"Intensity2": 16912
}
],

"Room": [
{
"Comments": "Make a copy of room 43.",
"EMType": 123,
"RoomIndex": 43,
"NewLocation": {
"X": 69632,
"Y": -512,
"Z": 59392
},
"LinkedLocation": {
"X": 78414,
"Y": -2048,
"Z": 59925,
"Room": 41
}
},

{
"Comments": "Make visibility portals between the new room (referenced by short.Max) and room 41.",
"EMType": 81,
"Portals": {
"41": {
"AdjoiningRoom": 32767,
"Normal": {
"X": 1,
"Y": 0,
"Z": 0
},
"Vertices": [
{
"X": 1024,
"Y": -2816,
"Z": 2048
},
{
"X": 1024,
"Y": -2816,
"Z": 3072
},
{
"X": 1024,
"Y": -1792,
"Z": 3072
},
{
"X": 1024,
"Y": -1792,
"Z": 2048
}
]
},
"32767": {
"AdjoiningRoom": 41,
"Normal": {
"X": -1,
"Y": 0,
"Z": 0
},
"Vertices": [
{
"X": 7168,
"Y": -2816,
"Z": 2048
},
{
"X": 7168,
"Y": -2816,
"Z": 1024
},
{
"X": 7168,
"Y": -1792,
"Z": 1024
},
{
"X": 7168,
"Y": -1792,
"Z": 2048
}
]
}
}
},

{
"Comments": "Make collisional portals between the new room (referenced by short.Max) and room 41.",
"EMType": 82,
"Portals": {
"41": {
"32767": [
{
"X": 76360,
"Y": -2048,
"Z": 60835
}
]
},
"32767": {
"41": [
{
"X": 77066,
"Y": -1280,
"Z": 60874
}
]
}
}
},

{
"Comments": "Move walls for the portal and to close a gap in the new room.",
"EMType": 23,
"Modifications": [
{
"RoomNumber": 41,
"FaceType": 0,
"FaceIndex": 6,
"VertexChanges": {
"2": {
"Y": -768
},
"3": {
"Y": -768
}
}
},
{
"RoomNumber": 32767,
"FaceType": 0,
"FaceIndex": 27,
"VertexChanges": {
"0": {
"X": -1024
},
"1": {
"Z": 1024
},
"2": {
"Z": 1024
},
"3": {
"X": -1024
}
}
}
]
},

{
"Comments": "Patch another gap in the new room.",
"EMType": 26,
"Quads": {
"32767": [
{
"Vertices": [
6,
0,
3,
4
],
"Texture": 1636
}
]
}
},

{
"Comments": "Remove rectangle 4 from room 41.",
"EMType": 22,
"GeometryMap": {
"41": {
"Rectangles": [ 4 ]
}
}
},

{
"Comments": "Copy lighting and colour attributes to brighten up the new room.",
"EMType": 124,
"RoomMap": {
"32767": {
"Attributes": 16,
"Colour": 9513,
"Lighting": 9513
}
}
},

{
"Comments": "Add a music trigger beside the rewards.",
"EMType": 61,
"TriggerEntry": {
"Setup": {
"Value": 4
},
"TrigSetup": {
"Value": 15872,
"OneShot": true
},
"TrigType": 0,
"TrigActionList": [
{
"TrigAction": 8,
"Parameter": 91
}
]
},
"Locations": [
{
"X": 75264,
"Y": -512,
"Z": 60928,
"Room": 32767
}
]
}
]
}
]
}

0 comments on commit 3d213fc

Please sign in to comment.