User:Atlas/Normal Snow Off-road

From Custom Mario Kart
< User:Atlas
Revision as of 21:56, 17 August 2022 by Atlas (talk | contribs) (Created page with "There is no KCL flag for normal snow off-road in Mario Kart Wii. To solve this, we can swap an existing normal off-road effect (such as flag 0x03, variant 6) with ''rk...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

There is no KCL flag for normal snow off-road in Mario Kart Wii. To solve this, we can swap an existing normal off-road effect (such as flag 0x03, variant 6) with rk_snowHDirt and place it inside EnvFire's BREFF (rk_EnvFire.breff).

Step 1: getting the effect

To start with, we need to get the original snow off-road effect. This effect is located in Common.szs's RKRace.breff. Using Wiimm's SZS Tools, we can run the following command to extract the BREFF's effects:

wszst extract RKRace.breff

We will get a folder named RKRace.breff.d. From there, we want to take the file named rk_snowHDirt from the files folder. We will now rename this file to rk_stone, which is the normal off-road effect we will override.

Step 2: changing the KCL flag

In our course's KCL file(s), we need to replace any heavy snow off-road flag (0x04, variant 5) with flag 0x03, variant 6. There are many ways of doing this, watch any CT tutorial that covers KCL editing and you should know how to do it.

Step 3: replacing the effect

We now want to take rk_EnvFire.breff from any course that has it and add the rk_stone effect we just extracted. To do this, we need to extract the BREFF with the following command:

wszst extract rk_EnvFire.breff

Then we need to place the rk_stone file in the rk_EnvFire.breff.d/files folder we got. If you don't want the actual fire effect to show in game, you can get rid of rk_EnvFire. To recompile the BREFF, we run the following command:

wszst create rk_EnvFire.breff.d -o


Step 4: adding EnvFire

If the course doesn't have the Envfire object already, add it to the KMP, as well as the BREFF/BREFT files in its respective folder (that is, effect/EnvFire). Congratulations, now your course has normal snow off-road!

If you're lazy like me, you can get a rk_EnvFire.breff file I made with the effect already in by clicking here.