Gamestudio Links
Zorro Links
Newest Posts
Please consider
by DriftWood
Today at 03:10
Draw stuff from other thread
by Superku
Yesterday at 23:25
Partial fills with MT4 in live trading?
by Sphin
Yesterday at 19:06
New Zorro version 1.83
by DdlV
Yesterday at 13:55
Cubemaps losing mipmaps
by Quad
Yesterday at 12:37
Zorro & virtual desktops & Installation
by jcl
Yesterday at 10:59
ccyStrength() only working for some Currencies
by sdh309795gaas
07/18/18 05:02
AUM Magazine
Latest Screens
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Forgotten Tales - Demo version
Who's Online
16 registered (alibaba, 3run, kvm, jenGs, Denn15, Hopoe, oligodar, DJ_Algo, 4 invisible), 503 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
DJ_Algo, tang, stuvwx210277, refltr, hillab
18002 Registered Users
Topic Options
Rate This Topic
#439626 - 04/06/14 01:37 Game Maker Terrain editor 2 (GMTE2) to GST terrain (MED)
NeoDumont Offline
Junior Member

Registered: 05/21/13
Posts: 82
Hi Folks !

Here are some results I got from trying to use the Gamemaker Terrain editor 2 (GMTE2) for a Gamestudio terrain . The approach of the GMTE2 is a little different from the one MED uses. GMTE modifies the terrain and sprays a texture (soft borders) on it at the same time. You can quickly select another texture with rising or lowering the terrain, beside some other nice features. Check out GMTE2, its a free program. GMTE2 is patch/ texture tile oriented and originally made for use with Gamemaker (TM). However there is one anoying thing with GMTE2:. There is no undo function. MED has one, beside some other nice features.

Anyway, I created a terrain in GMTE2 succesfully and imported it in MED with the following parameters best, having in mind a single large terrain, like in the nice little car demo supplied with GST:

Create a new terrain in GMTE2 with the following parmeters:

Widh of terrain (in patches): 128
Height of new terrain(in patches): 256
Amount of patches per model: 16
Amount of texture pixels per patch: 16

Now select your textures and spray your terrain.

Export the terrain texture colormap.png with the following params:

Width (in pixels): 512
Height (in pixels): 1024

If an error message occours, press ignore.

Export the heightmap now, no params req.

Load the colormap.png from the GMTE2 main directory into your favourite paintprogram. The size of the colormap you will see is indicated as 513 x 1025 pixels. (Small flaw of the exporter ?, Don't know)
Resize it to 512 x 1024 pixels and finetune or change it as you like and then save it as a bmp or tga file, ready to be used for a terrain skin in MED.

Load the heightmap.png into your paintprogram. Again you need to rescale the 129x256 to 128x256. Add or change details to the heightmap and save it as a bmp. 128x256 for a heightmap may look very small to you, but it does well do the job.

Open MED and create a terrain from the heighmap.bmp via -->Import-->create terrain from image.
Set vertices horizontal to 80.
Set Vertices vertical to 160.
Set Traingle size horizontal to 100.
Set triangle size vertical to 100.

Now add the colormap.bmp terrain skin in the skin editor (File-->Import-->Skin Image).

Edit the terrain, add a detail skin or else, if needed.

Thats all.

I tried to us higher values for the terrain and terrain texture in GMTE2, but the values above seem to be the limit of GMTE2, well at least on my system/graphic card.


I did this on an Athlon XP 1.2 GHZ, 1.5 GB Ram and an ATI Radeon 9600/X1050 256 MB, GST 7 Extra, MED 6.86

Best wishes !

#470598 - 01/24/18 01:13 Re: Game Maker Terrain editor 2 (GMTE2) to GST terrain (MED) [Re: NeoDumont]
NeoDumont Offline
Junior Member

Registered: 05/21/13
Posts: 82
Ok, just a small update concerning the mini tutorial about gamemaker terrain editor terrain to Gamestudio hmp.

Same as above, but this time I exported the mesh instead of the hightmap.

I used the default values in the 'new terrain' requester: 128,128,16,32. then sprayed some terrain and exported the colormap first with 2048x2048 in size.
After that, instead of using the height map, I exported the terrain as an .obj file. The result is saved in the objexport folder of GMTE. Because the .obj file here is fragmented in triangles I joined them in Meshlab (free, wonderful tool) via
Cleaning+Repairing-->Merge Close Vertices to get one single mesh. Then I saved the terrain as a .3ds file and imported it in MED and put the colormap (needs to be converted to
become exactly 2048x2048) on it.

Thats all.

Best wishes !



If you dont know GMTE: There is a youtube video showing how GMTE works.

If you cant find GMTE on the net anymore feel free to ask me. I can put it on my Webspace for download. GMTE is open source freely distributable Software.


Moderator:  aztec, Blink, HeelX 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at)