Skip to content
Salatiel edited this page Feb 8, 2020 · 2 revisions

Downloading Blender & Installing the SMC Addon

  1. Download Blender (version 2.61):
    Win 32: https://download.blender.org/release/Blender2.61/blender-2.61-release-windows32.zip
    Win 64: https://download.blender.org/release/Blender2.61/blender-2.61-release-windows64.zip
    Others: https://download.blender.org/release/Blender2.61/

  2. SMC Blender addon: https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/wrack/blender-smc-exporter

  3. Move the io_export_smc.py file to the folder blender-2.61-release-(...)/2.61/scripts/addons

  4. Run Blender, go to File > User Preferences > Addons, in the search field in the upper left corner type smc and press enter.

  5. Enable the checkbox of the option "Import-Export: Export Sauerbraten (.smc)" (if it is not visible, go back to step 3)

  6. Click on "Save As Default", now the option to export to .smc should already be available.

Exporting models to .SMC

  1. Back to the viewport, create your model and make sure to apply the rotation/scale/location (CTRL + A > Rotation & Scale and CTRL + A > Location).

  2. Go to File > Export and click "Sauerbraten (.smc)"

  3. In the bottom left corner you will notice a tab with two options "Grid Power" and "Cube Count", Grid Power defines the size that your model will have ingame, Cube Count is the amount of detail your model will have (I recommend 60/100, but you can enter any value you want, it will affect the export time).

  4. Save the .smc file inside the Sauerbraten root folder (needs to be a modified client with the importsmc command available).

Modified clients & Importing .SMC files

In order to access the importsmc command, it is necessary to have a modified client.

Try one of these below:
Fanatic Edition: https://github.com/fanaticclan/client
Wrack Sauerbraten: https://github.com/wrack/sauerbraten

Or compile the client on your own with this engine/octaedit.cpp file: https://gist.github.com/SalatielSauer/aba6781d9eaab84f203425f1acdd3e1d#file-octaedit-cpp

Ingame and in edit mode, select a cube and type /importsmc filename.smc, done.

If you want to compile, take a look: How to compile Sauerbraten using CodeBlocks (windows)
or
MinGW with GCC compilers
How to compile makefile using MinGW

Clone this wiki locally