Editing ZK Map Making Guide

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:
Also see:
+
Also see [[Map Creation]].
 
 
* [[Map Creation]]
 
* [https://docs.google.com/document/d/1PL8U2bf-c5HuSVAihdldDTBA5fWKoeHKNb130YDdd-w/edit# Advanced guide using WorldMachine], by Beherith
 
  
 
DISCLAIMER: This guide is a work in progress (particularly with respect to using particular pieces of software) but the basic framework here should give you a good start.
 
DISCLAIMER: This guide is a work in progress (particularly with respect to using particular pieces of software) but the basic framework here should give you a good start.
Line 19: Line 16:
 
* pymapconv - clone or download https://github.com/Beherith/springrts_smf_compiler somewhere, then copy pymapconv.exe and nvdxt.exe to a new directory to keep things simple
 
* pymapconv - clone or download https://github.com/Beherith/springrts_smf_compiler somewhere, then copy pymapconv.exe and nvdxt.exe to a new directory to keep things simple
 
* map blueprint - clone or download https://github.com/Aquanim/ZKMapBlueprint
 
* map blueprint - clone or download https://github.com/Aquanim/ZKMapBlueprint
 
 
[[File:Mapguide_download_aquanim_blueprint.png|Map blueprint download]]
 
 
  
 
== Create Images ==
 
== Create Images ==
Line 49: Line 42:
 
Troubleshooting:
 
Troubleshooting:
 
* If your map's minimap looks like it is from an old version of your map or a different map entirely, there is probably an old minimap file which the compiler is reading. In the directory where your compiler .exe is, delete any images which look like a minimap (probably something like mini.bmp and/or mini.dds) then recompile.
 
* If your map's minimap looks like it is from an old version of your map or a different map entirely, there is probably an old minimap file which the compiler is reading. In the directory where your compiler .exe is, delete any images which look like a minimap (probably something like mini.bmp and/or mini.dds) then recompile.
* If your map texture looks all pinkish ingame you probably renamed the .smf and .smt files. Regenerate them and be extra sure not to rename them this time. If the issue persists there might be other reasons this can happen, consult the #zkmap channel.
 
  
 
== Construct .sdd File ==
 
== Construct .sdd File ==
Line 110: Line 102:
 
* Something on the server has gone wrong. AFTER testing your map locally and finding that it works there, contact an admin. Uploading your map to a file-sharing service so the admin can look at it may help.
 
* Something on the server has gone wrong. AFTER testing your map locally and finding that it works there, contact an admin. Uploading your map to a file-sharing service so the admin can look at it may help.
  
=== For use in other Spring/Recoil games ===
+
=== Uploading to Springfiles for use in other Spring communities ===
 +
 
 +
* Make a Springfiles account at https://springfiles.com/
 +
* Pray to your deity of choice that whoever approves Springfiles accounts checks in this month
 +
 
 +
Alternatively, get somebody else who already has an account to upload the map for you. Your name will still be listed as the author and you should still be able to upload any later updates yourself.
  
Consult the developers of whatever game you play to find out where they keep their maps these days. Then upload there.
+
* Upload your map
 +
* Pray to your deity of choice that Springfiles is actually working this week
 +
* If your map is not listed at https://api.springfiles.com/ within 24 hours ask for help in the #zkmap channel
 +
* Eventually see your map on the ZK website - it will be unsupported by default so make sure you set your search filter accordingly
 +
* Test your map on the live server so there is a publically accessible replay or two - games against AIs are fine
 +
* Ask a moderator to support/feature your map
  
 
= Skeleton Of A Map =
 
= Skeleton Of A Map =
Line 125: Line 127:
  
 
== Springboard ==
 
== Springboard ==
 
[https://springboard-core.readthedocs.io/en/latest/installing.html Springboard Documentation]
 
 
[[Springboard Tutorial]] on this wiki (under construction)
 
 
=== Installation ===
 
[https://github.com/Spring-SpringBoard/SpringBoard-Core/ Github page]
 
Scroll down to the "Installing" section and get the appropriate installer.
 
  
 
== SpringMapEdit ==
 
== SpringMapEdit ==
 
No safe link to this known as of Jul 2023. RIP
 
  
 
== Nobiax Texture Pack ==
 
== Nobiax Texture Pack ==
Line 157: Line 149:
 
* Press Alt-M again to disable the widget and print a list of metal points to the infolog
 
* Press Alt-M again to disable the widget and print a list of metal points to the infolog
  
Then open your infolog.txt (in the main zero-k directory) after you exit to retrieve the startbox information for copying into map_metal_layout.lua. Check that the metal point values for each mex point are as you want them to be. It's probably a good idea to turn the widget off after you are done with it.
+
Then open your infolog.lua (in the main zero-k directory) after you exit to retrieve the startbox information for copying into map_metal_layout.lua. Check that the metal point values for each mex point are as you want them to be. It's probably a good idea to turn the widget off after you are done with it.
  
 
== Upspring ==
 
== Upspring ==
Line 169: Line 161:
 
This method of placing features requires you to have some s11n gadgets in /LuaRules/Gadgets and some s11n and lcs stuff in the /libs/ folder. If your map doesn't have these then get them from the blueprint or some other map.
 
This method of placing features requires you to have some s11n gadgets in /LuaRules/Gadgets and some s11n and lcs stuff in the /libs/ folder. If your map doesn't have these then get them from the blueprint or some other map.
  
* Put the files defining the features you want in your map file. This includes a definition in the /features subdirectory, model files in the /objects3d directory, and textures in the /unittextures directory. The easiest way to get these is to borrow them from existing maps or from the features library [https://github.com/Spring-Helper-Projects/spring-features here].
+
* Put the files defining the features you want in your map file. This includes a definition in the /features subdirectory, model files in the /objects3d directory, and textures in the /unittextures directory. The easiest way to get these is to borrow them from existing maps. There is a features library as well... ask around in #zkmap for a link then update this page.
 
* Load your map in Springboard
 
* Load your map in Springboard
 
* Delete any features you have marking mex locations, otherwise you will end up with two copies of them and that is bad.
 
* Delete any features you have marking mex locations, otherwise you will end up with two copies of them and that is bad.
Line 205: Line 197:
  
 
Good luck... I'm not sure anybody has come up with an entirely bug-free implementation of this yet. Banana Republic might be your best bet for a reference.
 
Good luck... I'm not sure anybody has come up with an entirely bug-free implementation of this yet. Banana Republic might be your best bet for a reference.
 
== Lobby/Website minimap image ==
 
 
This minimap image is generated from your map's texture, but unlike the ingame minimap does not have water drawn on it. If you would like your map's lobby/website image to be different, you need to create replacement images and provide them to somebody with the appropriate server access to overwrite the existing minimaps (not just any admin can do this; you are probably most likely to get a quick response from Aquanim or Anarchid). Ideally you only want to do this once, so wait until your map is up to a final release version before making the replacement image.
 
 
Required images for a map called "map name v1.0":
 
* A minimap image with the name map_name_v1.0.minimap.jpg with maximum height/width 1024.
 
* A thumbnail image with the name map_name_v1.0.thumbnail.jpg with maximum height/width 96.
 
'''IMPORTANT:''' Replace any spaces in your map name with underscores.
 
 
Find the default images for your map on the server to figure out reasonable dimensions. Screenshotting your ingame minimap and then rescaling it is a reasonable way to get a minimap image with water on it.
 
  
 
{{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)