- Get folder with map that you want to import- it's name should be the name of the map that you want to import
- drag it to:
*user folder/Maps/*user paths on different os: https://docs.godotengine.org/en/stable/tutorials/io/data_paths.html#editor-data-paths
If you have any problems please write bug report under the issues page
Setup your scene similar to blank map scene (if you case your scene of blank map and everything works, you can skip this!)
- place
Map.csat the root of the scene and add fill it's references - place
terrain3DTrueExport.gdscript on node under terrain3D node and fill it's references (look at blank map scene) - add
res://addons/terrain_3d/tools/importer.gdscript to terrain 3D node - add
WholeMapExport.cs,Export3DScenes.csandRouteExport.csand fill it's references (look at blank map scene)
- Make sure all routes are referenced by map script(root of the scene)
- Ensure that all 3D models are under the node with
Export3DScenes.cs. not routes, terrain3D. only mesh instances (and lights)
Warning
Read before proceeding Running export will override all files saved under the directory with maps name.
- you can now run export on
WholeMapExport.csyour exports should be under: *userDirectory/Maps/**MapName/Terrain3D/ *user paths on different os: https://docs.godotengine.org/en/stable/tutorials/io/data_paths.html#editor-data-paths **MapName- name found on Map script that this script has reference to - to share your map just copy whole folder with map's name and paste it (in the same place) on the other device under Maps folder
- it should be automatically discovered next time you open the game
Warning
Read before proceeding Running import will override current terrain 3d, routes and mesh instances
- set
manualMapLoadNameinWholeMapExport.csto be name of map(folder) that you want to import. - click
manualMapLoadIf you have any problems please write bug report under the issues page