Installing the tools 2
Making karts or tracks for SuperTuxKart will first require you to install some Blender scripts.
Note that you generally need to use the exporter that matches the version of STK you are currently using (you cannot use exporters from 0.6 to create tracks for 0.7, etc...)
Locate Blender's scripts directory
First you need to locate the scripts directory of Blender, where everything will go
- Mac OS X: Right-click on blender, select show package contents, open Contents/MacOS/<version>/scripts/addons/ (for instance Contents/MacOS/2.60/scripts/addons/)
- Windows: C:\Program Files\Blender Foundation\Blender\2.59\scripts\addons\
- Linux and other Unices : this depends on your distro. Check
- ~/.blender/<version>/scripts/addons/ (for instance ~/.blender/2.59/scripts/addons/ this is a hidden folder so specify the address directly in your file manager)
- if a static download from blender.org, just place the scripts in <blender root>/<blender version>/scripts/addons (for example blender-2.60a-linux-glibc27-i686/2.60/scripts/addons)
Getting the scripts
SuperTuxKart 0.8.1 users, you can a version of the scripts suitable for this version here : http://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/0.8.1/blender-scripts-0.8.1.zip/download
Users of the latest development version, you will need 5 scripts :
- And finally, the stkdata folder which you must copy to the scripts/addons folder along with the scripts.
Find the latest versions in our media repository
Installing the scripts into Blender
All of these .py files may simply be added to Blender by placing them in the scripts directory mentioned above.
Then open Blender, and click on menu File > User Preferences. Go to the Add-Ons tab. Enable the following scripts :
- B3D (BLITZ3D) Model Exporter under category Import-Export
- SuperTuxKart Kart Exporter under category Import-Export
- SuperTuxKart Track Exporter under category Import-Export
- SuperTuxKart Material Exporter under category Import-Export
- SuperTuxKart Panel under category Object
After having done so, click on 'Save As Default at the bottom of the window so that you don't need to do this every time.
Blender stores settings in each .blend file; this means that if you open a .blend file that was started before you enabled the plugins, you will need to go in preferences for that particular blend and repeat the steps