Thread: GK Terrain
View Single Post
  #2  
Old 12-07-2012, 03:11 AM
cyan3 cyan3 is offline
Registered User
cyan3's Avatar
Join Date: Nov 2005
Location: England
Posts: 2,919
cyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant future
Quote:
Originally Posted by greggiles View Post
After generating a gmap using the Terrain Generator, is there a way to manipulate the height of the ground via Graal editor?

I already have my map down and I want to smooth out a part of it.
You can edit the terrain in the level editor if you load the gmap using an NPC script. The code below in the PHP tags should display the terrain in the editor with + signs that can be dragged to increase or decrease the height of the terrain.

PHP Code:
//#CLIENTSIDE 
if (created) { 
removetiledefs
addtiledef picso2.png,,0
loadmap <mapname>;

Edit: It is also possible to adjust the terrain with more precision by opening the nw files in a text editor and editing the values between HEIGHTS and HEIGHTSEND.

HTML Code:
GLEVNW01
BOARD 0 59 64 0 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALYLILZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
BOARD 0 60 64 0 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKIKPK4LZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
BOARD 0 61 64 0 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKIKfKcKJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
BOARD 0 62 64 0 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALoKpKsK4LZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
BOARD 0 63 64 0 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKIK8K9KJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
HEIGHTS
-9,-9.199103,-6.75348,-5.989041,-5.39811,-5.31243,-6.02231,-7.48845,-9
-7.809034,-7.907582,-4.041552,-2.094102,-1.860217,-3.97436,-2.349522,-4.82965,-7.872246
-5.317629,-5.919947,-4.465134,-1.518277,2.255427,2.68023,-2.246057,-2.672366,-8.241459
-4.084151,-4.463924,-4.300854,-1.267892,0.8243203,2.604145,-2.774229,-2.833819,-4.440935
-2.04995,-1.942909,-3.455682,-0.9224968,2.394568,0.7131252,-3.65461,-2.993888,-2.755904
-1.296921,-2.195355,0.651484,-0.102754,1.284953,-0.9629025,0.1463762,0.9875636,0.3814467
2.319204,1.480761,2.09862,1.752551,1.218703,1.111533,2.621422,3.546274,3.1322
6.062353,6.139744,4.494535,5.023921,4.217975,5.116597,4.8672,4.370885,4.920545
9,7.993682,8.147653,6.736805,7.360621,8.798235,8.619749,6.676979,6
HEIGHTSEND

Last edited by cyan3; 12-07-2012 at 03:21 AM.. Reason: can also edit nw files
Reply With Quote