Editing Mapping 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 46: Line 46:
 
For this tutorial we will be creating a 4x4 size map, which is relatively small. Typically maps will be 8x8 (for a 1v1) or larger, but entirely depends on the game you are targeting.
 
For this tutorial we will be creating a 4x4 size map, which is relatively small. Typically maps will be 8x8 (for a 1v1) or larger, but entirely depends on the game you are targeting.
 
<ol>
 
<ol>
<li>Heightmap dimensions in pixels = Spring Map Size * 64 + 1. In our case a 4x4 map yields a image resolution of 257x257 pixels
+
<li>Check the [[Mapdev:height|height]] page to get our image dimensions. In our case a 4x4 map yields a image resolution of 257x257 pixels
 
<li>Create a 257x257 greyscale image using your image editor
 
<li>Create a 257x257 greyscale image using your image editor
 
<li>Draw the terrain</li>
 
<li>Draw the terrain</li>
 
<li>Save the image to your working directory, call it heightmap.png
 
<li>Save the image to your working directory, call it heightmap.png
 
</ol>
 
</ol>
 
+
{{Tip|Black represents the lowest elevation on the map, white represents the highest, in between lies all the shades of grey. Hard edges in the image will be cliffs, and smooth gradients will be ramps.}}
 
 
{| style="text-align:left;"
 
!Tips:
 
|-
 
|Black represents the lowest elevation on the map, white represents the highest, in between lies all the shades of grey. Hard edges in the image will be cliffs, and smooth gradients will be ramps.
 
|-
 
|More info available at https://springrts.com/wiki/Mapdev:height
 
|}
 
 
<center>
 
<center>
 
{| class="wikitable"  
 
{| class="wikitable"  

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)

Templates used on this page: