Difference between revisions of "LE-CODE/Track FAQ"
Line 12: | Line 12: | ||
=== Solution === | === Solution === | ||
− | [[LE-CODE]] provides a solution for this issue. It | + | [[LE-CODE]] provides a solution for this issue. It a second [[KMP#KTPT|KTPT]] at index #1 with player_id -1 is defined, it is used as alternative draw position for the finish line. The point at offset #0 is still used for start position. |
− | |||
− | |||
If you setup a second KTPT, search the relevant lap counter (section [[KMP#CKPT|CKPT]]) and place the KTPT at the checkpoint line. The direction (y-rotation) of the KTPT is important. As of v2.03, command »'''<tt>wszst/wkmpt check</tt>'''« will tell you the rotation value if it is wrong. | If you setup a second KTPT, search the relevant lap counter (section [[KMP#CKPT|CKPT]]) and place the KTPT at the checkpoint line. The direction (y-rotation) of the KTPT is important. As of v2.03, command »'''<tt>wszst/wkmpt check</tt>'''« 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 ( | + | [[Wiimm]] edited 15 tracks to insert a second KTPT. If you update such track and don't change the finish line, please copy the second KTPT (leave it unchanged). |
− | |||
[[category:LE-CODE]] | [[category:LE-CODE]] | ||
[[category:Track/LE-CODE|!]] | [[category:Track/LE-CODE|!]] | ||
[[category:FAQ]] | [[category:FAQ]] |
Revision as of 09:59, 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 a second KTPT at index #1 with player_id -1 is defined, it is used as alternative draw position for the finish line. The point at offset #0 is still used for start position.
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 the second KTPT (leave it unchanged).