You can use somthing like this script to generate your heightmap. You can make it as ramdom pressing spacekey and you could paint over it to adjusted as you need it.
pinta:
autocam off
cls
ink rgb(255,255,255),1
box 0,0,128,128
for i= 1 to 400
col=55+rnd(200)
ink rgb(col,col,col),1
b=rnd(128)
ba=rnd(128)
t=5+rnd(25)
box b,ba,b+t,ba+t
next i
ink rgb(0,0,0),1 rem mascara 88888888
box 128,0,256,128
box 0,128,150,256
rem 8888888888888888888888888888888888
get image 2,0,0,128,128,1
paste image 2,0,0
lock pixels
for x= 1 to 128
for z= 1 to 128
col=point(x,z)/50
if col>130000 then ink rgb(200,200,200),1:dot x+128+rnd(5),z+rnd(5)
if col>200000 then ink rgb(155,155,155),1:dot x+128+rnd(5),z+rnd(5)
if col>260000 then ink rgb(180,180,180),1:dot x+128+rnd(5),z+rnd(5)
if col>330000 then ink rgb(75,75,75),1:dot x+128+rnd(5),z+rnd(5)
if col>250000 then ink rgb(200+rnd(55),200+rnd(55),200+rnd(55)): dot 128+x,z
next z
next x
unlock pixels
get image 10,128,0,256,128
create bitmap 1,128,128
paste image 10,0,0
blur bitmap 1,6
get image 10,0,0,128,128
paste image 10,0,0
`*********************
for x= 1 to 128
for z= 1 to 128
cal=point(x,z)/50
if cal>300000 then ink rgb(255,255,255):dot x,z
if cal<230000 then ink rgb(180+rnd(10),180+rnd(10),180+rnd(10)):dot x,z
if cal<180000 then ink rgb(100+rnd(30),100+rnd(30),100+rnd(30)):dot x+rnd(1),z+rnd(1)
if cal<160000 then ink rgb(80+rnd(10),80+rnd(10),80+rnd(10)):dot x,z
if cal<120000 then ink rgb(60+rnd(10),60+rnd(10),60+rnd(10)):dot x,z
if cal<80000 then ink rgb(40+rnd(10),40+rnd(10),40+rnd(10)):dot x,z
if cal<40000 then ink rgb(20+rnd(10),20+rnd(10),20+rnd(10)):dot x,z
if cal<15000 then ink rgb(0+rnd(50),0+rnd(50),0+rnd(50)):dot x,z
next z
next x
`*********************
blur bitmap 1,4
get image 10,0,0,128,128
delete bitmap 1
cls
ink rgb(70,70,70),1
box 0,0,640,480
ink rgb(100,100,255),0
box 254,0,386,130
paste image 10,256,1
pe=2
do
if spacekey() then goto pinta
ink rgb(255,255,255),1
if controlkey()
get image 10,256,1,384,129,1
create bitmap 1,128,128
paste image 10,0,0
blur bitmap 1,6
get image 10,0,0,128,128,1
delete bitmap 1
paste image 10,256,1
save image "heightmap.bmp",10
endif
color=point(mousex(),mousey())/50
set cursor 0,20
box 0,140,50,180
print " SPACE change map ramdomly"
print " CONTROL save map"
print " MOUSE 1 PAINT"
print " MOUSE 2 TAKE COLOR "
print " Buttons 1 to 6 Pencil size "
rem pintar el mapa ***************************************************************
if inkey$()="1" then pe=1
if inkey$()="2" then pe=2
if inkey$()="3" then pe=3
if inkey$()="4" then pe=4
if inkey$()="5" then pe=5
if inkey$()="6" then pe=8
ink rgb(255,0,0),0
set cursor 5,155:print pe
rem paleta de colores
for i= 0 to 10
col=255-i*25.5
ink rgb(col,col,col),0
box i*10,100,i*10+10,110
next
if mouseclick()=2
color=point(mousex(),mousey())
inkcolor=rgb(rgbr(color),rgbg(color),rgbb(color))
endif
ink rgb(255,0,0),0
box 18,148,42,172 // borde rojo
Ink inkcolor,0
box 20,150,40,170 // cuadrado de color
if mouseclick()=1 and mousex()>255 and mousex()<382 and mousey()>0 and mousey()<127
for i= 1 to pe
ellipse mousex(),mousey(),i,i
next i
endif
rem *******************************************************************************
sync
loop
Cheers.
I'm not a grumpy grandpa
