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

From Custom Mario Kart
Jump to navigation Jump to search
(→‎Cheat Codes: quote "Korean people are smart enough to port it themselves")
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].
+
'''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.
  
 
== 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.
+
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.
  
 
== License ==
 
== License ==
Line 11: Line 12:
 
== Cheat Codes ==
 
== Cheat Codes ==
  
<spoiler text="Conditional OOB, PAL">
+
<spoiler text="Conditional OOB v1.1, PAL">
 
<pre>
 
<pre>
 
Conditional OOB v1.1, PAL [Riidefi]
 
Conditional OOB v1.1, PAL [Riidefi]
Line 38: Line 39:
 
60000000 00000000
 
60000000 00000000
 
</pre></spoiler>
 
</pre></spoiler>
<spoiler text="Conditional OOB, NTSC-U">
+
<spoiler text="Conditional OOB v1.1, NTSC-U">
 
<pre>
 
<pre>
 
Conditional OOB v1.1, NTSC-U [Riidefi]
 
Conditional OOB v1.1, NTSC-U [Riidefi]
Line 65: Line 66:
 
60000000 00000000
 
60000000 00000000
 
</pre></spoiler>
 
</pre></spoiler>
<spoiler text="Conditional OOB, NTSC-J">
+
<spoiler text="Conditional OOB v1.1, NTSC-J">
 
<pre>
 
<pre>
 
Conditional OOB v1.1, NTSC-J [Riidefi]
 
Conditional OOB v1.1, NTSC-J [Riidefi]
Line 92: Line 93:
 
60000000 00000000
 
60000000 00000000
 
</pre></spoiler>
 
</pre></spoiler>
<spoiler text="Conditional OOB, NTSC-K">
+
<spoiler text="Conditional OOB v1.1, NTSC-K">
 
<pre>
 
<pre>
Conditional OOB v1.0, NTSC-K [Riidefi]
+
Conditional OOB v1.1, NTSC-K [Riidefi]
C255F8CC 00000010
+
C255F8CC 00000016
3C80809B 8084BD28
+
7C630735 41A000A4
38BF0004 3CC0809A
+
3CA0809B 809F0018
80A50014 60C6BD28
+
8105BD28 5467103A
8084002C 80C60048
+
5467103A 80C5BD70
5467103A 88A50010
+
38A0FFFF 8108002C
80840000 80C6000C
+
88040010 81080000
54A5103A 7C84382E
+
8086000C 5400103A
7CA6282E 80840004
+
5400103A 7CC8382E
A0A5000A A0C40028
+
7C84002E 80C60004
A084002A 2C060000
+
A104000A A006002A
2C840000 4E823382
+
A0E60028 7C040034
7C053040 7C852040
+
7C004050 7CE60034
4EA02842 4E94AB82
+
54C6D97E 54C6D97E
3880FFFF 41940008
+
5484D97E 5484D97E
60830000 2C030000
+
7CC62038 54000FFE
 +
54000FFE 3086FFFF
 +
7CC43110 7C874010
 +
7C850190 7C800038
 +
7CC40378 3004FFFF
 +
7C802110 3804FFFF
 +
7C031B78 2C030000
 
60000000 00000000
 
60000000 00000000
 
</pre></spoiler>
 
</pre></spoiler>
  
 
[[category:Cheat Codes|!]]
 
[[category:Cheat Codes|!]]

Revision as of 18:02, 9 July 2020

Conditional out of bounds is a 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 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.

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 v1.1, PAL

Conditional OOB v1.1, NTSC-U

Conditional OOB v1.1, NTSC-J

Conditional OOB v1.1, NTSC-K