Difference between revisions of "LE-CODE/Track FAQ"

From Custom Mario Kart
Jump to navigation Jump to search
(Created page with "This is a special help page for track editors. It explains, how to edit your tracks to use the extensions provided by LE-CODE. __TOC__ == <span id=ktpt2>Second KTPT</sp...")
(No difference)

Revision as of 06:32, 22 May 2019

This is a special help page for track editors. It explains, how to edit your tracks to use the extensions provided by LE-CODE.


Second KTPT

Issue

Usually, the start position of a track is placed very near to the finish line (CKPT lap counter). But some tracks use special start positions (starting boxes) far away from the finish line and sometimes with different direction. In this case, the finish line of the minimap is drawn at the wrong place.

Solution

LE-CODE provides a solution for this issue. It looks, if there is a second KTPT with player_id -1 is defined. If not defined, the finish line is drawn like ever.

If the second KTPT is defined, the point at offset #0 is used as start position, and the point at offset #1 to draw the finish line.

If you setup a second KTPT, search the relevant lap counter (section CKPT) and place the KTPT at the checkpoint line. The direction (y-rotation) of the KTPT is important. As of v2.03, command »wszst/wkmpt check« will tell you the rotation value if it is wrong.

Wiimm edited 15 tracks to insert a second KTPT. If you update such track and don't change the finish line, please copy (or leave) the second KTPT.