E2150 - Map Editor: Difference between revisions
Koniecpolski (talk | contribs) (bold link) |
Koniecpolski (talk | contribs) (added a warning) |
||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
=== Overview === |
|||
⚫ | |||
* [https://1drv.ms/u/s!Ajzl8qm2fVDygYxZGB1GtWV3BhTdHQ?e=1uNVKn Manual] |
|||
__NOTOC__ |
|||
* [https://1drv.ms/u/s!Ajzl8qm2fVDy6jpIL5wqlzJ8vAoo?e=YlbDNl BMP Templates] |
|||
==== Useful links ==== |
|||
* [https://1drv.ms/u/s!Ajzl8qm2fVDygY0OkM9RFqJ8YPlXgA?e=4pzK5d Altitude Templates] |
|||
* [https://insideearth2150.github.io/Documentation/Maps%20(Levels)/Manual/editor-handbuch.html Earth 2150 - Editor Manual] |
|||
* [https://github.com/InsideEarth2150/Files/tree/main/Guides/Map%20Creation/BMP%20Templates BMP Templates] |
|||
* [https://github.com/InsideEarth2150/Files/tree/main/Guides/Map%20Creation/Altitude%20Templates Altitude Templates] |
|||
==== Requirements ==== |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
* Size: |
|||
⚫ | |||
** large: 192 * 256, |
|||
⚫ | |||
==== Creating map draft ==== |
|||
⚫ | |||
it is possible to import BMP images as a height map. |
|||
⚫ | |||
⚫ | |||
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 : |
|||
⚫ | |||
⚫ | |||
⚫ | |||
You can also use that command with an additional number parameter |
|||
⚫ | |||
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. |
|||
⚫ | |||
⚫ | |||
To delete/revert something: |
|||
hold shift and click on it |
|||
⚫ | |||
⚫ | |||
Map! |
|||
editor.singleplayer 1 |
|||
Larger Zoom Out: |
|||
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. |
|||
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 |
|||
⚫ | |||
on. The editor should now load the heights from the image. Attention: with one |
|||
successful loading of the image, the console remains "open" i.e. you |
|||
could enter further commands (this can be recognized by a flashing line |
|||
bottom left, top of the minimap). You can close this again with Escape. |
|||
⚫ | |||
Mapping with an image editing program is natural |
|||
⚫ | |||
that the image is saved as an 8-bit grayscale BMP. |
|||
⚫ | |||
⚫ | |||
⚫ |
Latest revision as of 19:55, 5 April 2022
With the console command "Editor.LoadBmp filename.bmp" it is possible to import BMP images as a height map. Visit the Map Creation Tutorial for guidance in creating your own maps.
Useful links
Requirements
However, the picture must meet some conditions:
- 72 dpi resolution
- 256 grayscale (8 bit)
- Size:
- Extra large: 256 * 256 ,
- large: 192 * 256,
- small: 92 * 92 [pixels]
Creating map draft
Warning: the accessible area is slightly smaller than that Map! On templates the limit is shown as a rectangle outline.
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:
Game might turn to NOT RESPONDING if height difference between adjacent pixels will be too big
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 :
Editor.LoadBmp filename.bmp
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
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
Larger Zoom Out:
graph.zoom.max=500