Difference between revisions of "Slot"

From Custom Mario Kart
Jump to navigation Jump to search
(some research with jasperr)
(4 intermediate revisions by 2 users not shown)
Line 298: Line 298:
 
=== Unique ===
 
=== Unique ===
 
* An audience ambience plays in the background indefinitely if the [[KCL flag#Sound Trigger (0x18)|KCL Sound Trigger]] is not used.
 
* An audience ambience plays in the background indefinitely if the [[KCL flag#Sound Trigger (0x18)|KCL Sound Trigger]] is not used.
 +
 +
=== Special ===
 +
* The object {{obj-ref|sound_audience}} will properly play SFX on this slot, among a few other slots.
  
 
=== Music ===
 
=== Music ===
Line 312: Line 315:
 
=== Special ===
 
=== Special ===
 
* There is always a white fog in the middle of the screen and other random clouds of fog throughout the course. However, the fog on the screen can be replaced with an [[AREA]] that uses spores.
 
* There is always a white fog in the middle of the screen and other random clouds of fog throughout the course. However, the fog on the screen can be replaced with an [[AREA]] that uses spores.
* [[KCL flag#Off-road (0x03)|Sand off-road]] is dark gray.
+
* [[KCL flag#Off-road (0x03)|Sand off-road]] is dark green.
 
* [[KCL flag#Jump Pad (0x08)|Jump Pad with variant 4]] has SFX, but the SFX works in the {{obj-ref|kinoko_bend}} object KCL, regardless of slots.
 
* [[KCL flag#Jump Pad (0x08)|Jump Pad with variant 4]] has SFX, but the SFX works in the {{obj-ref|kinoko_bend}} object KCL, regardless of slots.
  
Line 319: Line 322:
 
* An audience ambience plays in the background indefinitely if the [[KCL flag#Slot 1.4 (Toad's Factory)|KCL Sound Trigger]] is not used.
 
* An audience ambience plays in the background indefinitely if the [[KCL flag#Slot 1.4 (Toad's Factory)|KCL Sound Trigger]] is not used.
 
* [[KCL flag#Slot 1.4 (Toad's Factory)|KCL Sound Trigger]] can be used to trigger alternate channels in a multi-channel [[BRSTM]] among other sound effects. This can also cause problems with BRSTMs that do not have multiple channels.
 
* [[KCL flag#Slot 1.4 (Toad's Factory)|KCL Sound Trigger]] can be used to trigger alternate channels in a multi-channel [[BRSTM]] among other sound effects. This can also cause problems with BRSTMs that do not have multiple channels.
 +
 +
=== Special ===
 +
* The object {{obj-ref|sound_audience}} will properly play SFX on this slot, among a few other slots.
  
 
== <span id=2.1>Slot 2.1 (Mario Circuit)</span> ==
 
== <span id=2.1>Slot 2.1 (Mario Circuit)</span> ==
Line 335: Line 341:
 
* The cannon sound and little wooden gate sounds can be heard when encountered.
 
* The cannon sound and little wooden gate sounds can be heard when encountered.
 
* Post-effect fog clears up at around 45 seconds.
 
* Post-effect fog clears up at around 45 seconds.
 +
* The object {{obj-ref|sound_audience}} will properly play SFX on this slot, among a few other slots.
  
 
== <span id=2.4>Slot 2.4 (Wario's Gold Mine)</span> ==
 
== <span id=2.4>Slot 2.4 (Wario's Gold Mine)</span> ==
Line 345: Line 352:
 
* There are some tracks that do not work on this slot (such as tracks based on Dry Dry Ruins). It is unknown why.
 
* There are some tracks that do not work on this slot (such as tracks based on Dry Dry Ruins). It is unknown why.
 
* Objects {{obj-ref|sunDS}}, {{obj-ref|FireSnake}} and {{obj-ref|pylon01}} only work on this slot and [[#Slot 7.1 (DS Desert Hills)|7.1]].
 
* Objects {{obj-ref|sunDS}}, {{obj-ref|FireSnake}} and {{obj-ref|pylon01}} only work on this slot and [[#Slot 7.1 (DS Desert Hills)|7.1]].
* The object {{obj-ref|sound_audience}} only works properly on this slot.
+
* The object {{obj-ref|sound_audience}} will properly play SFX on this slot, among a few other slots.
 +
* [[KCL flag#Weak Off-road (0x02)|Gravel Weak Offroad]] is orange.
  
 
== <span id=3.2>Slot 3.2 (Koopa Cape)</span> ==
 
== <span id=3.2>Slot 3.2 (Koopa Cape)</span> ==
Line 359: Line 367:
 
=== Special ===
 
=== Special ===
 
* [[Objects]] {{obj-ref|VolcanoBall1}} and {{obj-ref|VolcanoPiece}} have SFX.
 
* [[Objects]] {{obj-ref|VolcanoBall1}} and {{obj-ref|VolcanoPiece}} have SFX.
 +
* [[KCL flag#Weak Off-road (0x02)|Gravel Weak Offroad]] does not include the rock particles.
 +
* [[KCL flag#Weak Off-road (0x02)|Dirt Weak Offroad]] is red.
  
 
== <span id=4.1>Slot 4.1 (Dry Dry Ruins)</span> ==
 
== <span id=4.1>Slot 4.1 (Dry Dry Ruins)</span> ==
Line 369: Line 379:
 
== <span id=4.2>Slot 4.2 (Moonview Highway)</span> ==
 
== <span id=4.2>Slot 4.2 (Moonview Highway)</span> ==
 
=== Unique ===
 
=== Unique ===
* [[KCL flag#Sound Trigger (0x18)|KCL Sound Trigger]] can be used to trigger alternate channels in a multi-channel [[BRSTM]] among other sound effects. This can also cause problems with BRSTMs that do not have multiple channels.
+
* [[KCL flag#Sound Trigger (0x18)|KCL Sound Trigger]]'s can be used to trigger alternate channels in a multi-channel [[BRSTM]] among other sound effects. This can also cause problems with BRSTMs that do not have multiple channels.
  
 
=== Special ===
 
=== Special ===
* Tracks work only if there is at least one instance of {{obj-ref|kart_truck car_body|a normal car ''and'' a truck}}, and the ''course_model.brres'' has materials with the following names:
+
* Tracks work only if there is at least one instance of {{obj-ref|0xd1,0xd0|a normal car and a truck}}.
 +
*  Materials under the [[MDL0]] must have the following names; in order starting from the first material:
 
** Goal_Merg
 
** Goal_Merg
 
** Iwa
 
** Iwa
Line 386: Line 397:
 
** siba00
 
** siba00
 
* Getting hit by anything grants the driver invincibility to cars and trucks for a short duration of time.
 
* Getting hit by anything grants the driver invincibility to cars and trucks for a short duration of time.
* The wheels of traffic hazards only animate on this slot.
+
* The wheels of cars, trucks and {{obj-ref|0xde|bomb cars}} only animate on this slot.
  
 
== <span id=4.3>Slot 4.3 (Bowser's Castle)</span> ==
 
== <span id=4.3>Slot 4.3 (Bowser's Castle)</span> ==
Line 413: Line 424:
  
 
== <span id=5.2>Slot 5.2 (DS Yoshi Falls)</span> ==
 
== <span id=5.2>Slot 5.2 (DS Yoshi Falls)</span> ==
 +
=== Special ===
 +
* [[KCL flag#Off-road (0x03)|Grass off-road]] is a darker color.
 +
 
=== Unique ===
 
=== Unique ===
 
* A bird ambience plays in the background indefinitely.
 
* A bird ambience plays in the background indefinitely.
Line 427: Line 441:
 
=== Special ===
 
=== Special ===
 
* [[KCL flag#Off-road (0x03)|Sand off-road]] has a lighter color (lighter than [[#Slot 2.1 (Mario Circuit)|Mario Circuit]]).
 
* [[KCL flag#Off-road (0x03)|Sand off-road]] has a lighter color (lighter than [[#Slot 2.1 (Mario Circuit)|Mario Circuit]]).
 +
* The object {{obj-ref|sound_audience}} will properly play SFX on this slot, among a few other slots.
  
 
== <span id=6.1>Slot 6.1 (N64 Sherbet Land)</span> ==
 
== <span id=6.1>Slot 6.1 (N64 Sherbet Land)</span> ==
Line 442: Line 457:
 
=== Special ===
 
=== Special ===
 
* Only courses including the object {{obj-ref|HeyhoShipGBA}} can run at this slot and those tracks don't work on other slots.
 
* Only courses including the object {{obj-ref|HeyhoShipGBA}} can run at this slot and those tracks don't work on other slots.
 +
* The camera changes to a bird's eye view below Y coordinate 3000.
  
 
== <span id=6.3>Slot 6.3 (DS Delfino Square)</span> ==
 
== <span id=6.3>Slot 6.3 (DS Delfino Square)</span> ==

Revision as of 20:36, 26 January 2020

Slots are the places that Nintendo tracks or Custom Tracks run on. Mario Kart Wii has 32 track slots organized into 8 cups with 4 tracks each. The slots are numbered from 1.1 (first cup, first track) up to 8.4 (eighth cup, fourth track). Nearly all slots have special features.

Race Courses
Cup Slot Track Music ID Special Slot ID
Mushroom Cup.png
Mushroom Cup
1.1 Luigi Circuit 0x75[1] 0x08
1.2 Moo Moo Meadows 0x77 0x01
1.3 Mushroom Gorge 0x79 0x02
1.4 Toad's Factory 0x7B 0x04
Flower Cup.png
Flower Cup
2.1 Mario Circuit 0x7D[1] 0x00
2.2 Coconut Mall 0x7F 0x05
2.3 DK Summit 0x81 0x06
2.4 Wario's Gold Mine 0x83 0x07
Star Cup.png
Star Cup
3.1 Daisy Circuit 0x87 0x09
3.2 Koopa Cape 0x85 0x0F
3.3 Maple Treeway 0x8F 0x0B
3.4 Grumble Volcano 0x8B 0x03
Special Cup.png
Special Cup
4.1 Dry Dry Ruins 0x89 0x0E
4.2 Moonview Highway 0x8D 0x0A
4.3 Bowser's Castle 0x91 0x0C
4.4 Rainbow Road 0x93 0x0D
Shell Cup.png
Shell Cup
5.1 GCN Peach Beach 0xA5 0x10
5.2 DS Yoshi Falls 0xAD 0x14
5.3 SNES Ghost Valley 2 0x97 0x19
5.4 N64 Mario Raceway 0x9F 0x1A
Banana Cup.png
Banana Cup
6.1 N64 Sherbet Land 0x9D 0x1B
6.2 GBA Shy Guy Beach 0x95 0x1F
6.3 DS Delfino Square 0xAF 0x17
6.4 GCN Waluigi Stadium 0xA9 0x12
Leaf Cup.png
Leaf Cup
7.1 DS Desert Hills 0xB1 0x15
7.2 GBA Bowser Castle 3 0x9B 0x1E
7.3 N64 DK's Jungle Parkway 0xA1 0x1D
7.4 GCN Mario Circuit 0xA7 0x11
Lightning Cup.png
Lightning Cup
8.1 SNES Mario Circuit 3 0x99 0x18
8.2 DS Peach Gardens 0xB3 0x16
8.3 GCN DK Mountain 0xAB 0x13
8.4 N64 Bowser's Castle 0xA3 0x1C
  1. 1.0 1.1 Slot 1.1 and 2.1 use the same background music files.

The arena slots are arranged into 2 cups with 5 arenas each.

Battle Stages
Stages Slot Arena Music ID Special Slot ID Special value
Wii Stages.png
Wii Stages
1.1 Block Plaza 0xB7 0x21 15,000
1.2 Delfino Pier 0xB5 0x20 24,000
1.3 Funky Stadium 0xB9 0x23 30,000
1.4 Chain Chomp Wheel 0xBB 0x22 15,000
1.5 Thwomp Desert 0xBD 0x24 12,000
Retro Stages.png
Retro Stages
2.1 SNES Battle Course 4 0xC3 0x27 20,000
2.2 GBA Battle Course 3 0xC5 0x28 20,000
2.3 N64 Skyscraper 0xC7 0x29 20,000
2.4 GCN Cookie Land 0xBF 0x25 10,000
2.5 DS Twilight House 0xC1 0x26 12,000

The special value is defined in a table at 808c9a58 (PAL). Its meaning is unknown. Maybe something like special slot effects in VS?

There are 5 other slots reserved for Galaxy Colosseum and the winning/losing scenes.

Other
Track Music ID Special Slot ID
Galaxy Colosseum 0xC9 0x36
winningrun_demo 0x37
loser_demo 0x38
draw_demo 0x39
ending_demo 0x75 0x3A

Special Slots

Most tracks run on all slots, with exceptions of slots 4.2, 6.1 and 6.2; additionally, some tracks only run at slots 3.1, 5.3 and 7.1. Here are the rules for these special slots:

  • Tracks can only run on slot 4.2 if they have at least one instance of kart_truck and car_body, and have materials with specific names in the course_model.brres. (More...)
  • Tracks can only run on slot 6.1 if ice.brres is present; furthermore this object is necessary to activate the icy water fall boundary flag, which only works at this slot.
  • Tracks can only run on slot 6.2 if HeyhoShipGBA is used; also objects HeyhoShipGBA and HeyhoBallGBA only work on this slot.
  • Tracks using objects sunDS, FireSnake or pylon01 only work on slots 3.1 and 7.1.
  • The object poihana sometimes doesn't work on slot 5.1; curiously, the object is used on this slot by Nintendo.
  • Tracks using objects obakeblockSFC, obakeblock2SFC and obakeblock3SFC only work on slot 5.3 if these objects are intended with fall animation, but here they are not scalable; on all other slots these objects can be scaled but they are unsolid and without animation. Wiimms SZS Tools use them to make item and enemy routes visible during gameplay or to mark positions.
  • All other slots are different for KCL Sound Triggers, particular sounds or GFX for KCL flags or what effects they give to tracks.

Slot Expansion

It is possible to expand the track selection list to include more slots. It should be noted that new slots have no unique slot features, but can use special slot effects and music slots.

Unique and Special Slot Features

Slot 1.1 (Luigi Circuit)

Unique

  • An audience ambience plays in the background indefinitely if the KCL Sound Trigger is not used.

Special

  • The object sound_audience will properly play SFX on this slot, among a few other slots.

Music

  • Slot 2.1 uses the same background music files.

Slot 1.2 (Moo Moo Meadows)

Unique

  • During the opening cameras, sounds of cows and bells can be heard.

Slot 1.3 (Mushroom Gorge)

Unique

  • Wind ambience plays in the background indefinitely if the KCL Sound Trigger is not used.

Special

  • There is always a white fog in the middle of the screen and other random clouds of fog throughout the course. However, the fog on the screen can be replaced with an AREA that uses spores.
  • Sand off-road is dark green.
  • Jump Pad with variant 4 has SFX, but the SFX works in the kinoko_bend object KCL, regardless of slots.

Slot 1.4 (Toad's Factory)

Unique

  • An audience ambience plays in the background indefinitely if the KCL Sound Trigger is not used.
  • KCL Sound Trigger can be used to trigger alternate channels in a multi-channel BRSTM among other sound effects. This can also cause problems with BRSTMs that do not have multiple channels.

Special

  • The object sound_audience will properly play SFX on this slot, among a few other slots.

Slot 2.1 (Mario Circuit)

Special

Music

  • Slot 1.1 uses the same background music files.

Slot 2.3 (DK Summit)

Unique

  • An audience ambience plays in the background indefinitely if the KCL Sound Trigger is not used.

Special

  • It is always snowing, which can only be disabled with AREA type 1.
  • The cannon sound and little wooden gate sounds can be heard when encountered.
  • Post-effect fog clears up at around 45 seconds.
  • The object sound_audience will properly play SFX on this slot, among a few other slots.

Slot 2.4 (Wario's Gold Mine)

Unique

  • KCL Sound Trigger can be used to trigger alternate channels in a multi-channel BRSTM among other sound effects. This can also cause problems with BRSTMs that do not have multiple channels.

Slot 3.1 (Daisy Circuit)

Special

  • The object cruiserR only works properly on this slot; it might work in other slots, but not the way it is supposed to.
  • There are some tracks that do not work on this slot (such as tracks based on Dry Dry Ruins). It is unknown why.
  • Objects sunDS, FireSnake and pylon01 only work on this slot and 7.1.
  • The object sound_audience will properly play SFX on this slot, among a few other slots.
  • Gravel Weak Offroad is orange.

Slot 3.2 (Koopa Cape)

Unique

  • KCL Sound Trigger can be used to trigger alternate channels in a multi-channel BRSTM among other sound effects. This can also cause problems with BRSTMs that do not have multiple channels.

Slot 3.3 (Maple Treeway)

Special

Slot 3.4 (Grumble Volcano)

Special

Slot 4.1 (Dry Dry Ruins)

Unique

  • KCL Sound Trigger can be used to trigger alternate channels in a multi-channel BRSTM among other sound effects. This can also cause problems with BRSTMs that do not have multiple channels.

Special

Slot 4.2 (Moonview Highway)

Unique

  • KCL Sound Trigger's can be used to trigger alternate channels in a multi-channel BRSTM among other sound effects. This can also cause problems with BRSTMs that do not have multiple channels.

Special

  • Tracks work only if there is at least one instance of a normal car and a truck.
  • Materials under the MDL0 must have the following names; in order starting from the first material:
    • Goal_Merg
    • Iwa
    • Iwa_alfa
    • Nuki_Ryoumen
    • WallMerg00
    • moon_kabe0000
    • moon_road00
    • road
    • road01
    • road02
    • road03
    • siba00
  • Getting hit by anything grants the driver invincibility to cars and trucks for a short duration of time.
  • The wheels of cars, trucks and bomb cars only animate on this slot.

Slot 4.3 (Bowser's Castle)

Unique

  • KCL Sound Trigger can be used to trigger alternate channels in a multi-channel BRSTM among other sound effects. This can also cause problems with BRSTMs that do not have multiple channels.

Special

Slot 4.4 (Rainbow Road)

Unique

Special

  • Sounds of the cannon can be heard.
  • The camera has a different angle while taking a cannon.
  • KCL flags 0x00F7 and 0x00B6 have a special sound when drifting.
  • KCL flag 0x009E has a special sound on collision.
  • Hitting the backside of something drivable with a Bullet Bill results in a fall boundary. Therefore height and settings if the item route have to be determined very accurate.

Slot 5.1 (GCN Peach Beach)

Special

Slot 5.2 (DS Yoshi Falls)

Special

Unique

  • A bird ambience plays in the background indefinitely.

Slot 5.3 (SNES Ghost Valley 2)

Special

  • The original track has 645 global objects, 602 of which are obake blocks. The average number of objects in all other tracks is 73; this is the only slot that supports that many objects. Using the track in other slots would cause objects to malfunction, e.g. invisible item boxes.
  • Objects obakeblockSFC, obakeblock2SFC and obakeblock3SFC are solid and animated only on this slot, but they aren't scalable; on other slots they are scalable but they are unsolid and not animated.

Slot 5.4 (N64 Mario Raceway)

Unique

  • An audience ambience plays in the background indefinitely if the KCL Sound Trigger is not used.

Special

Slot 6.1 (N64 Sherbet Land)

Unique

Special

  • Only courses including ice.brres run at this slot.

Slot 6.2 (GBA Shy Guy Beach)

Unique

  • A marine ambience with seagulls plays in the background indefinitely.

Special

  • Only courses including the object HeyhoShipGBA can run at this slot and those tracks don't work on other slots.
  • The camera changes to a bird's eye view below Y coordinate 3000.

Slot 6.3 (DS Delfino Square)

Unique

  • A Pianta audience ambience plays in the background indefinitely if the KCL Sound Trigger is not used.

Special

Slot 6.4 (GCN Waluigi Stadium)

Unique

  • An audience ambience plays in the background right away, but only for a few seconds.

Special

  • Applauses for each trick can be heard.
  • The GFX color of Mud off-road is grey.

Slot 7.1 (DS Desert Hills)

Special

Slot 7.2 (GBA Bowser Castle 3)

Special

  • A thunderstorm ambience plays in the background right away, but only for a few seconds.
  • Sand off-road is red.

Slot 7.3 (N64 DK's Jungle Parkway)

Unique

  • A jungle ambience plays in the background indefinitely if the KCL Sound Trigger is not used.

Special

Slot 7.4 (GCN Mario Circuit)

Unique

  • During the opening cameras, sounds of a Chain Chomp can be heard.

Slot 8.1 (SNES Mario Circuit 3)

Special

Slot 8.2 (DS Peach Gardens)

Unique

  • During the opening cameras, sounds of Chain Chomps can be heard.
  • A bird ambience plays in the background indefinitely.

Special

  • KCL flag 0x0021 is a lighter color.

Slot 8.3 (GCN DK Mountain)

Unique

  • A jungle ambience plays in the background indefinitely if the KCL Sound Trigger is not used.

Special

Slot 8.4 (N64 Bowser's Castle)

Unique

  • Random coughs of the Bowser roar and lava environment sounds can be heard.
  • KCL Sound Trigger for the Bowser roar is present.

Battle slots

The battle slots each have different coin limits and different coin respawn layouts. An exact table of all the coin layouts for the battle tracks can be found here

On Funky Stadium and Chain Chomp Wheel Slots, no matter the game mode, it is impossible to get a boost start (as in the vanilla game, the battle start on boost panels)