Difference between revisions of "Conditional Out of Bounds (Riidefi)"
Line 4: | Line 4: | ||
== 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> | 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. | + | 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. | ||
== License == | == License == | ||
Line 10: | Line 11: | ||
== Cheat Codes == | == Cheat Codes == | ||
− | <spoiler text="Conditional OoB | + | <spoiler text="Conditional OoB v2.0, PAL"> |
<pre> | <pre> | ||
− | Conditional OoB | + | Conditional OoB v2.0, PAL [Riidefi] |
− | C2571874 | + | C2571874 00000014 |
− | + | 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 | |
− | 3804FFFF | + | 60000000 00000000 |
− | |||
</pre></spoiler> | </pre></spoiler> | ||
− | <spoiler text="Conditional OoB | + | <spoiler text="Conditional OoB v2.0, NTSC-U"> |
<pre> | <pre> | ||
− | Conditional OoB | + | Conditional OoB v2.0, NTSC-U [Riidefi] |
− | C256CA24 | + | C256CA24 00000014 |
− | + | 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 | |
− | 3804FFFF | + | 60000000 00000000 |
− | |||
</pre></spoiler> | </pre></spoiler> | ||
− | <spoiler text="Conditional OoB | + | <spoiler text="Conditional OoB v2.0, NTSC-J"> |
<pre> | <pre> | ||
− | Conditional OoB | + | Conditional OoB v2.0, NTSC-J [Riidefi] |
− | C25711F4 | + | C25711F4 00000014 |
− | + | 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 | |
− | 3804FFFF | + | 60000000 00000000 |
− | |||
</pre></spoiler> | </pre></spoiler> | ||
− | <spoiler text="Conditional OoB | + | <spoiler text="Conditional OoB v2.0, NTSC-K"> |
<pre> | <pre> | ||
− | Conditional OoB | + | Conditional OoB v2.0, NTSC-K [Riidefi] |
− | C255F8CC | + | C255F8CC 00000014 |
− | + | 7C630735 41A00094 | |
− | + | 3CC0809B 80BF0004 | |
− | + | 80A50000 8086BD28 | |
− | + | 80C6BD70 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 | |
− | 3804FFFF | + | 60000000 00000000 |
− | |||
</pre></spoiler> | </pre></spoiler> | ||
[[Category:Cheat Codes]] | [[Category:Cheat Codes]] |
Revision as of 12:36, 11 July 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.
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.
License
CTGP and LE-CODE are exempt from the GPLv3 license. They may instead license this code under the MIT license. In doing so, they may alter, supplement or entirely remove this copyright notice.