Sly 1:EXIT: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Wording and layout) |
TheOnlyZac (talk | contribs) (Added struct fields) |
||
Line 6:
'''EXIT''' is a struct in {{Sly 1}} that represents a warp from one level to another. Triggering an exit initiates a [[Sly 1:Transition|level transition]].
== Fields ==
{{Struct top}}
{{Struct field|0x2e0|0x4|int|fDefault}}
{{Struct field|0x2e4|0x4|int|fKeyed}}
{{Struct field|0x2e8|0x4|int|fFollowDefault}}
{{Struct field|0x2ec|0x4|int|fTotals}}
{{Struct field|0x2f0|0x4|EXITS|exits|Exit state}}
{{Struct field|0x2f4|0x4|float|tExits}}
{{Struct field|0x2f8|0x4|int|ctsurf}}
{{Struct field|0x2fc|0x4|TSURF *|atsurf}}
{{Struct field|0x300|0x4|int|ctbsp}}
{{Struct field|0x304|0x4|TBSP *|atbsp}}
{{Struct field|0x308|0x4|WID|widWarp}}
{{Struct field|0x30c|0x4|OID|oidWarp}}
{{Struct field|0x310|0x4|EDK|edkAlt}}
{{Struct field|0x314|0x4|WID|widAlt}}
{{Struct field|0x318|0x4|OID|oidAlt}}
{{Struct field|0x31c|0x4|int|cpaseg}}
{{Struct field|0x320|0x4|ASEG * *|apaseg}}
{{Struct field|0x324|0x4|WIPEK|wipek}}
{{Struct field|0x328|0x4|float|tWipe}}
{{Struct field|0x32c|0x4|float|dtUnblock}}
{{Struct field|0x330|0x4|float|dtTriggerWipe}}
{{Struct bottom}}
== EXITS ==
|
Latest revision as of 04:41, 26 September 2023
Data Structure | |
---|---|
![]() Many EXITs are accompanied by holographic markers, but they are separate data structures | |
Game | Sly Cooper and the Thievius Raccoonus |
EXIT is a struct in Sly Cooper and the Thievius Raccoonus that represents a warp from one level to another. Triggering an exit initiates a level transition.
Fields
Offset | Size | Type | Name | Notes |
---|---|---|---|---|
0x2e0 | 0x4 | int
|
fDefault
| |
0x2e4 | 0x4 | int
|
fKeyed
| |
0x2e8 | 0x4 | int
|
fFollowDefault
| |
0x2ec | 0x4 | int
|
fTotals
| |
0x2f0 | 0x4 | EXITS
|
exits
|
Exit state |
0x2f4 | 0x4 | float
|
tExits
| |
0x2f8 | 0x4 | int
|
ctsurf
| |
0x2fc | 0x4 | TSURF *
|
atsurf
| |
0x300 | 0x4 | int
|
ctbsp
| |
0x304 | 0x4 | TBSP *
|
atbsp
| |
0x308 | 0x4 | WID
|
widWarp
| |
0x30c | 0x4 | OID
|
oidWarp
| |
0x310 | 0x4 | EDK
|
edkAlt
| |
0x314 | 0x4 | WID
|
widAlt
| |
0x318 | 0x4 | OID
|
oidAlt
| |
0x31c | 0x4 | int
|
cpaseg
| |
0x320 | 0x4 | ASEG * *
|
apaseg
| |
0x324 | 0x4 | WIPEK
|
wipek
| |
0x328 | 0x4 | float
|
tWipe
| |
0x32c | 0x4 | float
|
dtUnblock
| |
0x330 | 0x4 | float
|
dtTriggerWipe
|
EXITS
Each EXIT has a state which is represented by the EXITS (exit state) enum. The EXITS enum has the following possible values:
Value | Name | Description |
---|---|---|
0 | BLOCKED | The trigger is loaded but cannot be entered until something enables it. |
1 | DISABLED | The trigger is loaded but cannot be entered. |
2 | ENABLED | The trigger is loaded, active, and able to be entered. |
3 | ENTERING | Sly is doing the animation of walking into the trigger. |
4 | ENTERED | Sly entered the trigger and now the transition between levels is playing. |
You can freely change a DISABLED exit to be ENABLED and vice versa. However, changing a BLOCKED exit to ENABLED won’t do anything.
This topic needs further investigation. |