Difference between revisions of "Conditional Out of Bounds (Riidefi)"

From Custom Mario Kart
Jump to navigation Jump to search
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 v1.2, PAL">
+
<spoiler text="Conditional OoB v2.0, PAL">
 
<pre>
 
<pre>
Conditional OoB v1.2, PAL [Riidefi]
+
Conditional OoB v2.0, PAL [Riidefi]
C2571874 00000015
+
C2571874 00000014
2C030000 418000A0
+
7C630735 41A00094
3C80809C 80BF0018
+
3CC0809C 80BF0004
8104D6E8 5467103A
+
80A50000 8086D6E8
5467103A 80C4D730
+
80C6D730 5460103A
3880FFFF 8108002C
+
8084002C 88A50010
88050010 81080000
+
80840000 80C6000C
80A6000C 5400103A
+
54A5103A 7C84002E
5400103A 7CC8382E
+
7CA6282E 80840004
7CA5002E 80C60004
+
A0E5000A A1040028
A125000A A0E60028
+
A124002A 7D484850
A106002A 7CE50034
+
7D44FE70 7C805278
7D000034 54A5D97E
+
7CC40050 7CA84810
54A5D97E 5400D97E
+
7C894910 7D400034
5400D97E 7CA50378
+
7CA52038 7CA82A14
3005FFFF 7CC02910
+
55440FFE 7CA53850
7C074810 7CA40190
+
5400D97E 7CA62810
7C094010 7C040190
+
7CA52910 7CA500D0
7CA00038 7CC40378
+
7CA42278 7C840378
3004FFFF 7C802110
+
3804FFFF 7C031B79
3804FFFF 7C031B78
+
60000000 00000000
2C030000 00000000
 
 
</pre></spoiler>
 
</pre></spoiler>
<spoiler text="Conditional OoB v1.2, NTSC-U">
+
<spoiler text="Conditional OoB v2.0, NTSC-U">
 
<pre>
 
<pre>
Conditional OoB v1.2, NTSC-U [Riidefi]
+
Conditional OoB v2.0, NTSC-U [Riidefi]
C256CA24 00000015
+
C256CA24 00000014
2C030000 41A000A0
+
7C630735 41A00094
3C80809C 80BF0018
+
3CC0809C 80BF0004
81048F28 5467103A
+
80A50000 80868F28
5467103A 80C48F70
+
80C68F70 5460103A
3880FFFF 8108002C
+
8084002C 88A50010
88050010 81080000
+
80840000 80C6000C
80A6000C 5400103A
+
54A5103A 7C84002E
5400103A 7CC8382E
+
7CA6282E 80840004
7CA5002E 80C60004
+
A0E5000A A1040028
A125000A A0E60028
+
A124002A 7D484850
A106002A 7CE50034
+
7D44FE70 7C805278
7D000034 54A5D97E
+
7CC40050 7CA84810
54A5D97E 5400D97E
+
7C894910 7D400034
5400D97E 7CA50378
+
7CA52038 7CA82A14
3005FFFF 7CC02910
+
55440FFE 7CA53850
7C074810 7CA40190
+
5400D97E 7CA62810
7C094010 7C040190
+
7CA52910 7CA500D0
7CA00038 7CC40378
+
7CA42278 7C840378
3004FFFF 7C802110
+
3804FFFF 7C031B79
3804FFFF 7C031B78
+
60000000 00000000
2C030000 00000000
 
 
</pre></spoiler>
 
</pre></spoiler>
<spoiler text="Conditional OoB v1.2, NTSC-J">
+
<spoiler text="Conditional OoB v2.0, NTSC-J">
 
<pre>
 
<pre>
Conditional OoB v1.2, NTSC-J [Riidefi]
+
Conditional OoB v2.0, NTSC-J [Riidefi]
C25711F4 00000015
+
C25711F4 00000014
2C030000 41A000A0
+
7C630735 41A00094
3C80809C 80BF0018
+
3CC0809C 80BF0004
8104C748 5467103A
+
80A50000 8086C748
5467103A 80C4C790
+
80C6C790 5460103A
3880FFFF 8108002C
+
8084002C 88A50010
88050010 81080000
+
80840000 80C6000C
80A6000C 5400103A
+
54A5103A 7C84002E
5400103A 7CC8382E
+
7CA6282E 80840004
7CA5002E 80C60004
+
A0E5000A A1040028
A125000A A0E60028
+
A124002A 7D484850
A106002A 7CE50034
+
7D44FE70 7C805278
7D000034 54A5D97E
+
7CC40050 7CA84810
54A5D97E 5400D97E
+
7C894910 7D400034
5400D97E 7CA50378
+
7CA52038 7CA82A14
3005FFFF 7CC02910
+
55440FFE 7CA53850
7C074810 7CA40190
+
5400D97E 7CA62810
7C094010 7C040190
+
7CA52910 7CA500D0
7CA00038 7CC40378
+
7CA42278 7C840378
3004FFFF 7C802110
+
3804FFFF 7C031B79
3804FFFF 7C031B78
+
60000000 00000000
2C030000 00000000
 
 
</pre></spoiler>
 
</pre></spoiler>
<spoiler text="Conditional OoB v1.2, NTSC-K">
+
<spoiler text="Conditional OoB v2.0, NTSC-K">
 
<pre>
 
<pre>
Conditional OoB v1.2, NTSC-K [Riidefi]
+
Conditional OoB v2.0, NTSC-K [Riidefi]
C255F8CC 00000015
+
C255F8CC 00000014
2C030000 41A000A0
+
7C630735 41A00094
3C80809B 80BF0018
+
3CC0809B 80BF0004
8104BD28 5467103A
+
80A50000 8086BD28
5467103A 80C4BD70
+
80C6BD70 5460103A
3880FFFF 8108002C
+
8084002C 88A50010
88050010 81080000
+
80840000 80C6000C
80A6000C 5400103A
+
54A5103A 7C84002E
5400103A 7CC8382E
+
7CA6282E 80840004
7CA5002E 80C60004
+
A0E5000A A1040028
A125000A A0E60028
+
A124002A 7D484850
A106002A 7CE50034
+
7D44FE70 7C805278
7D000034 54A5D97E
+
7CC40050 7CA84810
54A5D97E 5400D97E
+
7C894910 7D400034
5400D97E 7CA50378
+
7CA52038 7CA82A14
3005FFFF 7CC02910
+
55440FFE 7CA53850
7C074810 7CA40190
+
5400D97E 7CA62810
7C094010 7C040190
+
7CA52910 7CA500D0
7CA00038 7CC40378
+
7CA42278 7C840378
3004FFFF 7C802110
+
3804FFFF 7C031B79
3804FFFF 7C031B78
+
60000000 00000000
2C030000 00000000
 
 
</pre></spoiler>
 
</pre></spoiler>
  
 
[[Category:Cheat Codes]]
 
[[Category:Cheat Codes]]

Revision as of 12:36, 11 July 2020

This article is about Riidefi's cheat code. For other cheat codes with the same name, see 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 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.

Cheat Codes

Conditional OoB v2.0, PAL

Conditional OoB v2.0, NTSC-U

Conditional OoB v2.0, NTSC-J

Conditional OoB v2.0, NTSC-K