Difference between revisions of "Conditional Out of Bounds (Riidefi)"
(→Cheat Codes: quote "Korean people are smart enough to port it themselves") |
|||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | ' | + | {{about|[[Riidefi]]'s cheat code|other cheat codes with the same name|Conditional Out of Bounds}} |
+ | This is a [[cheat code]] created by [[Riidefi]]. This makes it easier for track authors to implement intersections without having to worry about unintended fall boundaries being triggered when someone on the lower part of the track gets too much air. It makes use of [[AREA type#AREA type 0x0A (Fall Boundary)|AREA type 10]], which will serve as the conditional out of bounds. As of build 25, [[LE-CODE]] implemented it too. | ||
== Usage == | == Usage == | ||
+ | Add an AREA of type 10 (0xA) to the [[KMP]]. The first and second AREA parameters, "P1" and "P2", define the checkpoint range: the area will be enabled if and only if a player is in the Cth checkpoint sector such that P1 <= C < P2.<br> | ||
+ | NOTE: If both P1 and P2 are zero, this code is disabled, and the boundary is unconditionally enabled.<br> | ||
+ | NOTE: If P1 > P2, the range functions in blacklist mode. The AREA will be disabled within P2 <= C < P1, and enabled everywhere else. | ||
− | + | There are [[distribution]]s that support both this and the [[Conditional Out of Bounds (kHacker35000vr)|KHacker's COoB cheat]]. Therefore the executing code (e.g. [[LE-CODE]]) must know which cheat to use. '''Therefore the value for the route should be set to 0xff (-1) if you use this cheat.''' | |
− | |||
− | |||
− | |||
− | |||
== Cheat Codes == | == Cheat Codes == | ||
− | + | <spoiler text="Conditional OoB v2.0, PAL"> | |
− | <spoiler text="Conditional | ||
<pre> | <pre> | ||
− | Conditional | + | Conditional OoB v2.0, PAL [Riidefi] |
− | C2571874 | + | C2571874 00000014 |
− | 7C630735 | + | 7C630735 41A00094 |
− | + | 3CC0809C 80BF0004 | |
− | + | 80A50000 8086D6E8 | |
− | + | 80C6D730 5460103A | |
− | + | 8084002C 88A50010 | |
− | + | 80840000 80C6000C | |
− | + | 54A5103A 7C84002E | |
− | + | 7CA6282E 80840004 | |
− | + | A0E5000A A1040028 | |
− | + | A124002A 7D484850 | |
− | + | 7D44FE70 7C805278 | |
− | + | 7CC40050 7CA84810 | |
− | + | 7C894910 7D400034 | |
− | + | 7CA52038 7CA82A14 | |
− | + | 55440FFE 7CA53850 | |
− | + | 5400D97E 7CA62810 | |
− | + | 7CA52910 7CA500D0 | |
− | + | 7CA42278 7C840378 | |
− | + | 3804FFFF 7C031B79 | |
− | |||
− | |||
60000000 00000000 | 60000000 00000000 | ||
</pre></spoiler> | </pre></spoiler> | ||
− | <spoiler text="Conditional | + | <spoiler text="Conditional OoB v2.0, NTSC-U"> |
<pre> | <pre> | ||
− | Conditional | + | Conditional OoB v2.0, NTSC-U [Riidefi] |
− | C256CA24 | + | C256CA24 00000014 |
− | 7C630735 | + | 7C630735 41A00094 |
− | + | 3CC0809C 80BF0004 | |
− | + | 80A50000 80868F28 | |
− | + | 80C68F70 5460103A | |
− | + | 8084002C 88A50010 | |
− | + | 80840000 80C6000C | |
− | + | 54A5103A 7C84002E | |
− | + | 7CA6282E 80840004 | |
− | + | A0E5000A A1040028 | |
− | + | A124002A 7D484850 | |
− | + | 7D44FE70 7C805278 | |
− | + | 7CC40050 7CA84810 | |
− | + | 7C894910 7D400034 | |
− | + | 7CA52038 7CA82A14 | |
− | + | 55440FFE 7CA53850 | |
− | + | 5400D97E 7CA62810 | |
− | + | 7CA52910 7CA500D0 | |
− | + | 7CA42278 7C840378 | |
− | + | 3804FFFF 7C031B79 | |
− | |||
− | |||
60000000 00000000 | 60000000 00000000 | ||
</pre></spoiler> | </pre></spoiler> | ||
− | <spoiler text="Conditional | + | <spoiler text="Conditional OoB v2.0, NTSC-J"> |
<pre> | <pre> | ||
− | Conditional | + | Conditional OoB v2.0, NTSC-J [Riidefi] |
− | C25711F4 | + | C25711F4 00000014 |
− | 7C630735 | + | 7C630735 41A00094 |
− | + | 3CC0809C 80BF0004 | |
− | + | 80A50000 8086C748 | |
− | + | 80C6C790 5460103A | |
− | + | 8084002C 88A50010 | |
− | + | 80840000 80C6000C | |
− | + | 54A5103A 7C84002E | |
− | + | 7CA6282E 80840004 | |
− | + | A0E5000A A1040028 | |
− | + | A124002A 7D484850 | |
− | + | 7D44FE70 7C805278 | |
− | + | 7CC40050 7CA84810 | |
− | + | 7C894910 7D400034 | |
− | + | 7CA52038 7CA82A14 | |
− | + | 55440FFE 7CA53850 | |
− | + | 5400D97E 7CA62810 | |
− | + | 7CA52910 7CA500D0 | |
− | + | 7CA42278 7C840378 | |
− | + | 3804FFFF 7C031B79 | |
− | |||
− | |||
60000000 00000000 | 60000000 00000000 | ||
</pre></spoiler> | </pre></spoiler> | ||
− | <spoiler text="Conditional | + | <spoiler text="Conditional OoB v2.0, NTSC-K"> |
<pre> | <pre> | ||
− | Conditional | + | Conditional OoB v2.0, NTSC-K [Riidefi] |
− | C255F8CC | + | C255F8CC 00000014 |
− | + | 7C630735 41A00094 | |
− | + | 3CC0809B 80BF0004 | |
− | + | 80A50000 8086BD28 | |
− | 8084002C | + | 80C6BD70 5460103A |
− | + | 8084002C 88A50010 | |
80840000 80C6000C | 80840000 80C6000C | ||
− | 54A5103A | + | 54A5103A 7C84002E |
7CA6282E 80840004 | 7CA6282E 80840004 | ||
− | + | A0E5000A A1040028 | |
− | + | A124002A 7D484850 | |
− | + | 7D44FE70 7C805278 | |
− | + | 7CC40050 7CA84810 | |
− | + | 7C894910 7D400034 | |
− | + | 7CA52038 7CA82A14 | |
− | + | 55440FFE 7CA53850 | |
+ | 5400D97E 7CA62810 | ||
+ | 7CA52910 7CA500D0 | ||
+ | 7CA42278 7C840378 | ||
+ | 3804FFFF 7C031B79 | ||
60000000 00000000 | 60000000 00000000 | ||
</pre></spoiler> | </pre></spoiler> | ||
− | [[ | + | {{User-Riidefi-Link}} |
+ | [[Category:Cheat Codes]] | ||
+ | [[Category:LE-CODE]] |
Latest revision as of 19:30, 12 October 2020
This is a cheat code created by Riidefi. This makes it easier for track authors to implement intersections without having to worry about unintended fall boundaries being triggered when someone on the lower part of the track gets too much air. It makes use of AREA type 10, which will serve as the conditional out of bounds. As of build 25, LE-CODE implemented it too.
Usage
Add an AREA of type 10 (0xA) to the KMP. The first and second AREA parameters, "P1" and "P2", define the checkpoint range: the area will be enabled if and only if a player is in the Cth checkpoint sector such that P1 <= C < P2.
NOTE: If both P1 and P2 are zero, this code is disabled, and the boundary is unconditionally enabled.
NOTE: If P1 > P2, the range functions in blacklist mode. The AREA will be disabled within P2 <= C < P1, and enabled everywhere else.
There are distributions that support both this and the KHacker's COoB cheat. Therefore the executing code (e.g. LE-CODE) must know which cheat to use. Therefore the value for the route should be set to 0xff (-1) if you use this cheat.
Cheat Codes
Custom Tracks:
3DS Wuhu Loop –
Adrastea Station –
Autumn Leavesway II –
CT Cemetery –
Dragonite's Island –
GCN Daisy Cruiser –
GCN Dino Dino Jungle –
GCN Dry Dry Desert –
GCN Mushroom City
GCN Rainbow Road –
GP Pac Mountain –
Honeybee Hideout –
Kartwood Creek –
Mine Shaft –
Mystery Valley –
Sunset Forest –
The Best Custom Track of 2019 –
Timeshift Temple
Toxic Labs –
White Garden
Cheat Code:
Conditional Out of Bounds