Conditional Out of Bounds (Riidefi)

From Custom Mario Kart
Revision as of 18:52, 9 July 2020 by Tock (talk | contribs)
Jump to navigation Jump to search

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.2, PAL

Conditional OOB v1.2, NTSC-U

Conditional OOB v1.2, NTSC-J

Conditional OOB v1.2, NTSC-K