Custom Track Tutorial/Animations

From Custom Mario Kart: Double Dash Wiki!!
Jump to navigation Jump to search

Programs:

While all the above steps are mandatory for a custom course to load, animations are not. Nevertheless, animations are an easy way to add movement and excitement to a stage.

Animation Used for animating Skybox Support Other Notes
BTK scaling, rotation, and translation of textures Yes (named coursename_sky.btk) Up to two (named coursename_course.btk and coursename_course_02.btk) can be added to any course slot
BRK TEV color registers of a material Yes (named coursename_sky.brk) Require a specific material setup in the .bmd
BTP texture swaps Untested/No If you plan on animating more than 2 materials using a .btp file google "j3d animation editor tarsa129"

BTK / BRK Specifics

  • These files have keyframes, meaning that an animator only needs to specify values at specific, important frames.
  • Every material animation in the same file will share the same duration and loop mode
  • Tangent values define what the value will be in between the keyframes
    • For Bezier Interpolation, set the tangent at "0"
    • For linear interpolation, set the second tangent of the current keyframe and the first tangent of the next keyframe to be (next value - current value) / (next time - current time)

BTP Specifics

  • In .btp files, every frame of an animation must have a defined value
  • The values in a .btp file correspond to the order of the textures in the texheader .json file
    • Specifying "0" for a frame in the .btp file will cause the texture at the 0th index in the texheader file (the first one) to be loaded in for that frame.
  • Each material animation, even in the same file, has its own duration. There is no loop mode for .btp files.

Other Necessary Files

Other File Formats
File Format Description Tool Examples
.ght Staff Ghost info / inputs Each file in Filesystem/StaffGhosts
.ast Course background music Any file in Filesystem/AudioRes/Stream
.bti Course thumbnail, logo, and name Wiimm's SZS Tools by Wiimm - used for converting between various image formats