Improved documentation

This commit is contained in:
Daniel 2019-03-01 14:45:54 +01:00
parent 443d54f95e
commit 87b4b09c70
2 changed files with 8 additions and 6 deletions

View File

@ -10,12 +10,13 @@ them with yet another script from the editor.
<h4>How to export a map</h4> <h4>How to export a map</h4>
The current script only work for content placed into the The current script only work for content placed into the
"CarlaRoot/Unreal/CarlaUE4/Content/Carla/ExportedMaps" folder, inside the unreal's project "CarlaRoot/Unreal/CarlaUE4/Content/Carla/ExportedMaps" folder (this can be overriden with
structure. Once all the changes are saved in the editor and the maps to export --map flag), inside the unreal's project structure. Once all the changes are saved in the
are located in that folder, running editor and the maps to export are located in that folder, by the name of the map or the
name provided with the --file flag, so, running
```sh ```sh
make export-maps make export-maps ARGS="--map=/Path/To/Awesome/Map --file=AwesomeMap"
``` ```
will clean, cook and pack the necessary assets with the maps. Please, note that will clean, cook and pack the necessary assets with the maps. Please, note that

View File

@ -49,8 +49,9 @@ RoadRunnerFiles/
└── MapToImport02.xodr └── MapToImport02.xodr
``` ```
Under RoadRunnerFiles, place each "Export" folder obtained from RoadRunner and Under <i>RoadRunnerFiles</i> folder located at the Carla Root, place each "Export"
rename it with the name of the map to be imported. It have to match the <b>.fbx</b> folder obtained from RoadRunner and rename it with the name of the map to be imported.
It have to match the <b>.fbx</b>
and <b>.xodr</b> files. and <b>.xodr</b> files.
Now, simply go into the PythonAPI/util folder and run <b>generate_map.py</b> Now, simply go into the PythonAPI/util folder and run <b>generate_map.py</b>