SpringBoard doesn’t come with any map features besides the engine-default geovent, so if you want to add them you first need to import them into your project.
To import new features you need to perform the following steps:
- Find existing feature sets (e.g. SpringFeatures) or make your own following the official Spring docs.
- Copy features into your project and restart.
Below is an example of how to import
SpringFeatures into a SpringBoard project.
- Download SF from https://github.com/Spring-Helper-Projects/spring-features/archive/master.zip extract it and open the folder.
- Open an existing project or create a new one. Then, open its folder using the “Open Project” button.
- Copy features, objects3d and unittexture folder to your project. You might want to remove the features you don’t need later.
- Press F8 for console window to show
- You should now be able to use features in your project
Exporting as Spring archive (recommended)¶
Exporting your project using the “Spring archive” export option will include all features and is the recommended way to export a SpringBoard project.
Manual export is only recommended if you want to customize the export process (perhaps you want to compile the map yourself using a third-party tool). In that case you can follow the below tutorial.
s11n export should be used if you want to export game objects (units, features, etc.) and load them in your standalone map. Install s11n as you would normally:
- Copy the s11n and LCS folders to the
libs/LCSfolders of the map (create destination directories as necessary).
- Copy s11n_gadget_load.lua from the
LuaGaia/Gadgets/of the map folder.
Then setup s11n to load your exported objects:
- Copy your exported s11n model file to map’s
- Copy s11n_load_map_features.lua to map’s
- Set the file path to your s11n model file in the newly copied
Including feature defs, compiling the map and setting mapinfo.lua is outside the scope of this guide. Please consult the Spring MapDev pages for that.