Mapping.xml 1.5 KB

1234567891011121314151617181920212223242526272829
  1. <Document>
  2. # Guide to Mapping
  3. For the full guide with a tutorial, please check the wiki.
  4. ## The TL;DR
  5. Here is a quick rundown of the steps you need to go through to make a new map, in case you need a refresher or you're already familiar with the mapping process. Otherwise, scroll down to the tutorial.
  6. 1. When you're ingame, spawn as an observer. Open the console using backslash key and type [color=orange]mapping 10 Maps/civ/template.yml[/color]. This will open the template map, which has some presets predefined.
  7. 2. Expand the map if you need to, first select a floor tile and hold CTRL and drag it to expand. Remember to enclose the new area in indestructible walls, normally [color=orange]WallRockIndestructible[/color]. If you do so, remember to run [color=orange]fixgridatmos[/color] in the console.
  8. 3. Map to your heart's content. Don't forget to add:
  9. - Spawns for all factions
  10. - An observer spawn somewhere
  11. - Capturable area(s), if applicable
  12. - Grace walls
  13. 4. Save the map using [color=orange]savemap 10 mapname.yml[/color]. The file will be created in [color=orange]bin/Content.Server/Data[/color]. Move it to the map folder in [color=orange]Resources/[/color] afterwards.
  14. 5. Create a new map metadata in [color=orange]Resources/Prototypes/Maps[/color] and edit it accordingly. Don't forget to define an ID, the preset and the jobs.
  15. 6. Edit the map file and add the ID you defined above to the station section.
  16. 7. [bold]Test it!![/bold]
  17. </Document>