Model Importing

This page will go over how to make a custom model for Super Mario 3D Land. For wanting to use SDK, head over to this page If you would like a video instead, you can watch it here

Prerequisite
You will need: CTR-Studio. The4thDimension KCLImporter

Making the BCMDL
This Section will require you to have CTR-Studio.
 * 1) Export your model as a .dae file.
 * 2) Open up CTR-Studio and open up a object file. (We will use FirstStepASideView.szs for this tutorial but any should work.)
 * 3) Collapse the Models folder so that FirstStepASideView is viewable.
 * 4) Right click on FirstStepASideView and click on replace.
 * 5) Replace the file with your dae file and make sure you uncheck the Use Original Materials button.
 * 6) Right click on the Textures folder and import all your textures. (The default settings should be the best)
 * 7) This step can be skipped if you know how to setup lighting otherwise on every material, uncheck Fragment Lighting and on the Combiner tab, change Pixel Lighting to Vertex Lighting.
 * 8) Rename all files if needed and save. (If the model appears to disappear, export InitClipping.byml, drag into The4thDimension, change the Radius and reimport.)

CreatorClassNameTable setup:
This Section will require you to have The4thDimension.
 * 1) Go to Tools -> CreatorClassNameTable editor.
 * 2) On Object name, type the name of the object which you are trying to add.
 * 3) Click Save.

Adding custom collision (KCL and PA)
This Section will require you to have KCLImporter.
 * 1) Export your custom collision model as .obj.
 * 2) In Blender export options, tick the Triangulate Faces button.
 * 3) Now import your .obj into KCLImporter.
 * 4) Set the Sound, Floor and Wall codes as you desire and export your .kcl and .pa.
 * 5) Now open up CTR-Studio and open your .szs file.
 * 6) Replace the .kcl and .pa by right clicking and saving the file.

Adding custom material animations
[WIP]

Miscellaneous
For wanting to use lighting, extract Shader.bcsdr from Shader.szs and place it in the LUTS folder in CTR-Studio. (If the folder doesn't exist, create it)