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

From Custom Mario Kart
Jump to navigation Jump to search
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Conditional out of bounds''' is a [[Cheat Code|cheat code]] created by [[Riidefi]] that 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_.28Fall_Boundary.29|AREA type 10]] which will serve as the conditional out of bounds. Riidefi plans to update this code and the latest version can be found at [https://mkwii.com/showthread.php?tid=1547&action=lastpost mkwii.com].
+
{{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.
  
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.
+
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.'''
 
 
== License ==
 
 
 
This code is released under the GPL-3 License with exceptions for CTGPR and LE-Code Distributions which can use the MIT License.
 
  
 
== Cheat Codes ==
 
== Cheat Codes ==
 
+
<spoiler text="Conditional OoB v2.0, PAL">
<spoiler text="Conditional OOB, PAL">
 
 
<pre>
 
<pre>
Conditional OOB, PAL [Riidefi]
+
Conditional OoB v2.0, PAL [Riidefi]
C2571874 00000010
+
C2571874 00000014
3C80809C 8084D6E8
+
7C630735 41A00094
38BF0004 3CC0809B
+
3CC0809C 80BF0004
80A50014 60C6D6E8
+
80A50000 8086D6E8
8084002C 80C60048
+
80C6D730 5460103A
5467103A 88A50010
+
8084002C 88A50010
 
80840000 80C6000C
 
80840000 80C6000C
54A5103A 7C84382E
+
54A5103A 7C84002E
 
7CA6282E 80840004
 
7CA6282E 80840004
A0A5000A A0C40028
+
A0E5000A A1040028
A084002A 2C060000
+
A124002A 7D484850
2C840000 4E823382
+
7D44FE70 7C805278
7C053040 7C852040
+
7CC40050 7CA84810
4EA02842 4E94AB82
+
7C894910 7D400034
3880FFFF 41940008
+
7CA52038 7CA82A14
60830000 2C030000
+
55440FFE 7CA53850
 +
5400D97E 7CA62810
 +
7CA52910 7CA500D0
 +
7CA42278 7C840378
 +
3804FFFF 7C031B79
 
60000000 00000000
 
60000000 00000000
 
</pre></spoiler>
 
</pre></spoiler>
<spoiler text="Conditional OOB, NTSC-U">
+
<spoiler text="Conditional OoB v2.0, NTSC-U">
 
<pre>
 
<pre>
Conditional OOB, NTSC-U [Riidefi]
+
Conditional OoB v2.0, NTSC-U [Riidefi]
C256CA24 00000010
+
C256CA24 00000014
3C80809C 80848F28
+
7C630735 41A00094
38BF0004 3CC0809B
+
3CC0809C 80BF0004
80A50014 60C68F28
+
80A50000 80868F28
8084002C 80C60048
+
80C68F70 5460103A
5467103A 88A50010
+
8084002C 88A50010
 
80840000 80C6000C
 
80840000 80C6000C
54A5103A 7C84382E
+
54A5103A 7C84002E
 
7CA6282E 80840004
 
7CA6282E 80840004
A0A5000A A0C40028
+
A0E5000A A1040028
A084002A 2C060000
+
A124002A 7D484850
2C840000 4E823382
+
7D44FE70 7C805278
7C053040 7C852040
+
7CC40050 7CA84810
4EA02842 4E94AB82
+
7C894910 7D400034
3880FFFF 41940008
+
7CA52038 7CA82A14
60830000 2C030000
+
55440FFE 7CA53850
 +
5400D97E 7CA62810
 +
7CA52910 7CA500D0
 +
7CA42278 7C840378
 +
3804FFFF 7C031B79
 
60000000 00000000
 
60000000 00000000
 
</pre></spoiler>
 
</pre></spoiler>
<spoiler text="Conditional OOB, NTSC-J">
+
<spoiler text="Conditional OoB v2.0, NTSC-J">
 
<pre>
 
<pre>
Conditional OOB, NTSC-J [Riidefi]
+
Conditional OoB v2.0, NTSC-J [Riidefi]
C25711F4 00000010
+
C25711F4 00000014
3C80809C 8084C748
+
7C630735 41A00094
38BF0004 3CC0809B
+
3CC0809C 80BF0004
80A50014 60C6C748
+
80A50000 8086C748
8084002C 80C60048
+
80C6C790 5460103A
5467103A 88A50010
+
8084002C 88A50010
 
80840000 80C6000C
 
80840000 80C6000C
54A5103A 7C84382E
+
54A5103A 7C84002E
 
7CA6282E 80840004
 
7CA6282E 80840004
A0A5000A A0C40028
+
A0E5000A A1040028
A084002A 2C060000
+
A124002A 7D484850
2C840000 4E823382
+
7D44FE70 7C805278
7C053040 7C852040
+
7CC40050 7CA84810
4EA02842 4E94AB82
+
7C894910 7D400034
3880FFFF 41940008
+
7CA52038 7CA82A14
60830000 2C030000
+
55440FFE 7CA53850
 +
5400D97E 7CA62810
 +
7CA52910 7CA500D0
 +
7CA42278 7C840378
 +
3804FFFF 7C031B79
 
60000000 00000000
 
60000000 00000000
 
</pre></spoiler>
 
</pre></spoiler>
<spoiler text="Conditional OOB, NTSC-K">
+
<spoiler text="Conditional OoB v2.0, NTSC-K">
 
<pre>
 
<pre>
Conditional OOB, NTSC-K [Riidefi]
+
Conditional OoB v2.0, NTSC-K [Riidefi]
C255F8CC 00000010
+
C255F8CC 00000014
3C80809B 8084BD28
+
7C630735 41A00094
38BF0004 3CC0809A
+
3CC0809B 80BF0004
80A50014 60C6BD28
+
80A50000 8086BD28
8084002C 80C60048
+
80C6BD70 5460103A
5467103A 88A50010
+
8084002C 88A50010
 
80840000 80C6000C
 
80840000 80C6000C
54A5103A 7C84382E
+
54A5103A 7C84002E
 
7CA6282E 80840004
 
7CA6282E 80840004
A0A5000A A0C40028
+
A0E5000A A1040028
A084002A 2C060000
+
A124002A 7D484850
2C840000 4E823382
+
7D44FE70 7C805278
7C053040 7C852040
+
7CC40050 7CA84810
4EA02842 4E94AB82
+
7C894910 7D400034
3880FFFF 41940008
+
7CA52038 7CA82A14
60830000 2C030000
+
55440FFE 7CA53850
 +
5400D97E 7CA62810
 +
7CA52910 7CA500D0
 +
7CA42278 7C840378
 +
3804FFFF 7C031B79
 
60000000 00000000
 
60000000 00000000
 
</pre></spoiler>
 
</pre></spoiler>
  
[[category:Cheat Codes|!]]
+
{{User-Riidefi-Link}}
 +
[[Category:Cheat Codes]]
 +
[[Category:LE-CODE]]

Latest revision as of 19:30, 12 October 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. 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

Conditional OoB v2.0, PAL

Conditional OoB v2.0, NTSC-U

Conditional OoB v2.0, NTSC-J

Conditional OoB v2.0, NTSC-K