E2150 - Map Editor: Difference between revisions

added a warning
(no table of contents)
(added a warning)
 
(9 intermediate revisions by 3 users not shown)
Line 3:
__NOTOC__
==== Useful links ====
* [https://insideearth2150.github.io/Documentation/Maps%20(Levels)/Manual/editor-handbuch.html Earth 2150 - Editor Manual]
* [https://1drv.ms/u/s!Ajzl8qm2fVDygYxZGB1GtWV3BhTdHQ?e=1uNVKn Manual]
* [https://1drvgithub.mscom/uInsideEarth2150/s!Ajzl8qm2fVDy6jpIL5wqlzJ8vAoo?e=YlbDNlFiles/tree/main/Guides/Map%20Creation/BMP%20Templates BMP Templates]
* [https://1drvgithub.mscom/uInsideEarth2150/s!Ajzl8qm2fVDygY0OkM9RFqJ8YPlXgA?e=4pzK5dFiles/tree/main/Guides/Map%20Creation/Altitude%20Templates Altitude Templates]
 
==== Requirements ====
Line 16:
** small: 92 * 92 [pixels]
 
==== Creating map draft map ====
 
Warning: the accessible area is slightly smaller than that Map! On templates the limit is shown as a rectangle outline.
Line 22:
You can use all the effects and aids that you have Photoshop offers. Guides are particularly useful, and the ability to To mirror things. When mirroring, you have to use layers copy, mirror and then reassemble the layers).
The brighter the pixel is, the higher the corresponding point is later on the map. To produce staircases, you can do this very easily with the gradient tool or the blur filter. Just do the area where there is a staircase should select, then either draw a gradient or the Gaussian Apply blur.
 
'''Warning:'''
<pre style="color: red; font-weight: bold; font-size: 20px">
Game might turn to NOT RESPONDING if height difference between adjacent pixels will be too big
</pre>
'''It's better to make natural walls less steep, if you want the map to be playable :)'''
 
Having the basics of the card so very simple and done quickly, you save the image as a bitmap (BMP) in the TMP main folder. Then you start TMP and go to the editor. Here you open a new one Card with the dimension that corresponds to the size of the image. Now press to hit the enter key and type :
Line 27 ⟶ 33:
The editor should now load the heights from the image. Now you can add textures, raw materials, starting points and other details.
 
You can also use that command with an additional number parameter
Mapping with an image editing program is natural also possible with programs other than Photoshop, it just has to be considered that the image is saved as an 8-bit grayscale BMP.
Editor.LoadBmp filename.bmp 8
Since the default value is 16, putting 8 will cause loading the .bmp file with halved values of heights (8 is ½ of 16). You may want to experiment on that.
 
Mapping with an image editing program is natural also possible with programs other than Photoshop, it just has to be considered that the image is saved as an 8-bit grayscale BMP.
 
==== Editor Tricks ====
 
To delete/revert something:
hold shift and click on it
Editing Singleplayer Maps:
editor.singleplayer 1
wiki_editor
340

edits