Editing Map Creation

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
Maps are 7z archives which, at their most basic, consist of three image files packaged in a particular way. They can be found in <code>Zero-K/Maps</code> and be zipped or unzipped with [https://www.7-zip.org/download.html 7zip]. Maps can contain more than their three image files, including:
+
Also see:
 +
 
 +
* [[ZK Map Making Guide]]
 +
* [https://docs.google.com/document/d/1PL8U2bf-c5HuSVAihdldDTBA5fWKoeHKNb130YDdd-w/edit# Advanced guide using WorldMachine], by Beherith
 +
 
 +
Maps are 7z archives which, at their most basic, consist of three image files packaged in a particular way. They can be found in <code>Zero-K/Maps</code> and be zipped or unziped with [https://www.7-zip.org/download.html| 7zip]. Maps can contain more than their three image files, including:
 
* Metal spot layout.
 
* Metal spot layout.
 
* Start area configuration.
 
* Start area configuration.
Line 5: Line 10:
 
* Arbitrary code and units changes that can arbitrarily modify the game. See [[Mod Creation]].
 
* Arbitrary code and units changes that can arbitrarily modify the game. See [[Mod Creation]].
  
== Creating maps ==
+
= Creating maps =
<Removed some links to the old Spring wiki since you would probably get malware if you go there.>
+
Beginner mapping tutorial for SpringRTS is located here: https://springrts.com/wiki/Mapdev:Tutorial_Simple
  
Ask for help in #zkmap in on the [//discord.gg/xCUAvnQT4Z| Zero-K Discord server].
+
Ask for help in #zkmap in on the [https://discord.gg/xCUAvnQT4Z| Zero-K Discord server].
  
=== Startboxes ===
+
Here are some SpringRTS (the engine) links [https://springrts.com/wiki/Mapdev:Main] [https://springrts.com/wiki/Map,_Game,_And_Unit_Development_Programs#Map_Creation]
{{See|Startbox API}}
 
  
Startboxes are loaded from /mapconfig/map_startboxes.lua and can be generated ingame with the Startbox Editor widget included with the game. {{key combo|Alt|F11}} to toggle.
+
== Startboxes ==
  
=== Metal Configuration and Spot Graphics  ===
+
Startboxes are loaded from /mapconfig/map_startboxes.lua and can be generated ingame with the Startbox Editor widget included with the game. Alt-F11 to toggle.
  
Metal spots on maps are done via Lua configs. They can be generated ingame with the dbg_mouse_to_mex_portable.lua widget, available at [//github.com/ForbodingAngel/mexes_grounddecal_autoplacer TheMooseIsLoose's github.]  
+
Full guide for the startbox editor here: [[Startbox API]]
  
Download that repo as a zip and extract into your map folder. Load the map in ZK, enable cheats, and then enable Mouse to Mexes in your {{key combo|Alt|F11}} widget menu. Click to create new metal spots, the values and positions will be automatically saved to your game data directory. Copy and paste the content from MexSpots_YourMap to your <code>/mapconfig/map_metal_layout.lua</code>.
+
== Metal Configuration and Spot Graphics  ==
  
== Running maps ==
+
Metal spots on maps are done via Lua configs. They can be generated ingame with the dbg_mouse_to_mex_portable.lua widget, available at [https://github.com/The-Yak/mexes_grounddecal_autoplacer | TheMooseIsLoose's github.]
=== Local testing ===
 
To run a map locally put it in <code>Zero-K/Maps</code> then start the game. Untick '<samp>Only featured maps</samp>' in <code>Settings → Lobby</code> and start a singleplayer skirmish game. Select 'Advanced', click 'Change Map' and select your map from the list.
 
  
=== Multiplayer ===
+
Download that repo as a zip and extract into your map folder. Load the map in ZK, enable cheats, and then enable Mouse to Mexes in your alt-f11 widget menu. Click to create new metal spots, the values and positions will be automatically saved to your game data directory. Copy and paste the content from MexSpots_YourMap to your /mapconfig/map_metal_layout.lua
 +
 
 +
 
 +
 
 +
= Running maps =
 +
== Local testing ==
 +
To run a map locally put it in <code>Zero-K/Maps</code> then start the game. Untick 'Only featured maps' in <code>Settings -> Lobby</code> and start a singleplayer skirmish game. Select 'Advanced', click 'Change Map' and select your map from the list.
 +
 
 +
== Multiplayer ==
 
Upload your map to https://springfiles.springrts.com/upload/ to make it downloadable and playable by others. Some admin action to feature/support the map may also be required.
 
Upload your map to https://springfiles.springrts.com/upload/ to make it downloadable and playable by others. Some admin action to feature/support the map may also be required.
  
== See also ==
+
= Links =
* [[ZK Map Making Guide]]
+
 
* [https://docs.google.com/document/d/1PL8U2bf-c5HuSVAihdldDTBA5fWKoeHKNb130YDdd-w/edit# Advanced guide using WorldMachine], by Beherith
 
 
* [[User:Aquanim/WaterMapDesign|Some subjective comments on design of sea maps, by Aquanim]]
 
* [[User:Aquanim/WaterMapDesign|Some subjective comments on design of sea maps, by Aquanim]]
  
 
{{Navbox manual}} [[Category: Development]]
 
{{Navbox manual}} [[Category: Development]]

Please note that all contributions to Zero-K are considered to be released under the Creative Commons Attribution-ShareAlike (see Zero-K:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)