Difference between revisions of "ENPT Settings"
m |
|||
Line 41: | Line 41: | ||
Not used in battle arenas. | Not used in battle arenas. | ||
|- | |- | ||
− | | align=center | 10 || Only found in battle arenas. Meaning is unknown. | + | | align=center | 10 || Only found in standard routes of battle arenas. Meaning is unknown. |
+ | |- | ||
+ | | align=center | 20 || Only found in [[Dispatch Point]]s of battle arenas. Meaning is unknown. | ||
|} | |} | ||
Revision as of 08:20, 14 August 2018
- File formats
- KMP File Format & Sections
- AREA type
- Cameras
- ENPT Settings
- ITPT Settings
- Item Settings - Item Boxes
- Item Settings - Objects
- Lists
- Tutorials
- KMP Editing
- KMP Editing/Cameras
- Start Position
- Check Point
- Respawn Point
- Cannon
- Presence flags
- Enemy routes in battle arenas
- Testing a Track
- Visual Review with »wkmpt DRAW«
- Tools
This page describes the ENPT settings of a KMP file. These settings control how the cpu acts, settings can force drift, item use, restrict to item in box and maybe even more.
Settings at offset 0x10 (2 bytes)
Value | Meaning |
---|---|
0 | Default. |
1 | At start of route: Only enter if you have an offroad cutting item. |
2 | Use (offroad cutting) item. |
3 | Wheelie. |
4 | End wheelie. |
5 | Unknown |
Values 0x32–0x35, 0x37–0x39, 0x3B–0x3D, 0x3F, 0x41, 0x42, 0x46, 0x48, 0x49, 0x4B and 0x4C only found in winningrun_demo.
Battle arenas by Nintendo use values 0, 5, 10, 15, 20, 30 — looks like a weight or scale.
Settings at offset 0x12 (1 byte)
Value | Meaning |
---|---|
0 | Default. |
1 | End drift. |
2 | Forbidden drift, zigzag without drifting (unsure). Not used in battle arenas. |
3 | Force drift: The enemies will drift until the drift route is finished and the mini turbo is enabled. Use it for long curves (~1.5 sec). The drift direction depends on the angle in the first drift point (previous direction = previous to current point; next direction = current to next point).
Not used in battle arenas. |
10 | Only found in standard routes of battle arenas. Meaning is unknown. |
20 | Only found in Dispatch Points of battle arenas. Meaning is unknown. |
Settings at offset 0x13 (1 byte)
The byte on 0x13 is a bit field - only the four highest bits are being used.
Highest bit (*(0x13) & 0x80): Unsure again, look here. In-game name "kinokoK".
2nd bit (*(0x13) & 0x40): Unknown. In-game name "Eflag2". Only found in winningrun_demo
3rd bit (*(0x13) & 0x20): Unknown. In-game name "Eflag3". Only found in winningrun_demo
4th bit (*(0x13) & 0x10): In combination with Eflag2: Stop. Only found in winningrun_demo
Battle arenas by Nintendo use only bit 0x80.
Recommendation
Set both parameters to value 0 and the AI will make good decisions about wheelies and drifting. The only exceptions are the values 1 and 2 at offset 0x10 for the offroad decision.
Combinations
If looking into all 32 racing tracks (not _d files) of Mario Kart Wii, we can found the following setting combinations. The slot numbers should help a further analysis.
count | Setting 1 | setting 2 | setting 3 | found in (slot numbers) |
---|---|---|---|---|
1948 | 0 | 0 | 0x00 | all tracks |
245 | 0 | 0 | 0x80 | 11 12 13 23 24 32 34 41 44 51 52 81 82 83 84 |
114 | 0 | 1 | 0x00 | 11 13 31 32 33 34 44 51 52 53 61 62 72 73 82 84 |
33 | 0 | 1 | 0x80 | 24 34 51 82 84 |
271 | 0 | 2 | 0x00 | 12 13 14 22 24 31 32 33 34 41 42 43 44 51 52 53 61 63 72 81 83 84 |
63 | 0 | 2 | 0x80 | 12 24 32 34 41 44 51 81 83 84 |
163 | 0 | 3 | 0x00 | 11 22 24 31 32 33 34 41 42 44 51 53 62 72 73 82 |
121 | 0 | 3 | 0x80 | 24 34 41 51 82 84 |
20 | 1 | 0 | 0x00 | 13 23 32 41 44 51 52 54 62 63 64 81 82 83 |
3 | 1 | 0 | 0x80 | 11 82 |
2 | 1 | 1 | 0x80 | 32 82 |
1 | 1 | 2 | 0x00 | 22 |
22 | 2 | 0 | 0x00 | 13 22 32 |
4 | 2 | 2 | 0x00 | 13 22 32 |
103 | 3 | 0 | 0x00 | 11 13 21 22 23 24 31 32 33 42 43 44 51 52 53 61 62 72 74 81 82 83 |
6 | 3 | 0 | 0x80 | 11 51 82 |
5 | 3 | 1 | 0x00 | 53 |
4 | 3 | 1 | 0x80 | 24 |
11 | 3 | 2 | 0x00 | 43 53 61 81 |
52 | 4 | 0 | 0x00 | 11 13 21 22 23 24 31 32 33 42 43 51 52 53 61 72 74 81 82 83 |
3 | 4 | 0 | 0x80 | 13 51 81 |
4 | 4 | 1 | 0x00 | 11 72 82 |
2 | 4 | 1 | 0x80 | 82 |
6 | 4 | 2 | 0x00 | 24 33 53 61 |
1 | 4 | 3 | 0x80 | 24 |
4 | 5 | 0 | 0x00 | 52 63 |
1 | 5 | 0 | 0x80 | 52 |