hi chafari thanks for the code I'm just about to start looking into this, but I have got to say revenant chaos did beat you to the punch with this code snippet, however I like using the code snippets from the web as uac messes with dbp a lot when running two versions of dbpo so thanks again.
revenant chaos thanks for the link, I can't wait to try BlitzTerrain out.
Edit
chafari I don't superpose you have a copy of this code with English comments do you?
Edit
My best to translate this into English, so if its not 100% I has some problems sorting it out.
`ADJUSTMENT OF A TANK WITH THE LAND: EXAMPLE 2
create bitmap 1,50,50:for i= 1 to 1550:ink rgb(230,95,55),0:line rnd(60),i,i,rnd(130)
next i:blur bitmap 1,6:get image 1,10,10,50,50:delete bitmap 1
make matrix 1,10000.0,10000.0,25,25
prepare matrix texture 1,1,1,1
randomize matrix 1,350.0
rem set matrix height 1,12,12,700.0
update matrix 1
set ambient light 20
`CHIVATO CREATING OBJECTS AND OBJECT SHIELDED
make object sphere 1,0
make object sphere 5,0
`------------------------------------------------------
`---ARMORED OBJECT WITH A FEW LIMBS-------------
make object box 2,50,5,80:color object 2,rgb(50,100,100)
make object box 3,40,20,50
make mesh from object 1,3 :delete object 3
add limb 2,1,1 :add limb 2,2,1
scale limb 2,2,10,10,120 :offset limb 2,2,0,22,30:offset limb 2,1,0,10,0
color limb 2,2,rgb(0,0,200):color limb 2,1,rgb(0,50,170)
x#=500
z#=500
sync on
do
if upkey()=1 then x#=newxvalue(x#,a#,1) : z#=newzvalue(z#,a#,1)
if downkey()=1 then x#=newxvalue(x#,a#,-1) : z#=newzvalue(z#,a#,-1)
if leftkey()=1 then a#=wrapvalue(a#-1)
if rightkey()=1 then a#=wrapvalue(a#+1)
`calculate the coordinates "Y" of the two informers
yb#=get ground height(1,object position x(1),object position z(1))
yb2#=get ground height(1,object position x(5),object position z(5))
`calculate the "y"of the car
y#=get ground height(1,x#,z#)
`positioned himself to the objects
position object 1,x#,yb#+40,z#
position object 2,x#,y#+30,z#
position object 5,x#,yb2#,z#
`rotate objects
yrotate object 1,a#
yrotate object 2,a#
yrotate object 5,a#
`move the object that carries the armored sneak to calculate the inclination
move object 1,80
`move to the second informer, who finds the nails
move object left 5,30
`we make the point to the coordinates shielded sneak
`Only this, we have achieved the intended effect
point object 2,object position x(1),object position y(1),object position z(1)
`we make the armored alavee is left, the Algur the armored
`ture 'sneak least ..... TACHANNN
roll object left 2,y#-yb2#
`Position the camera behind the object
cx#=newxvalue(x#,wrapvalue(a#+180),300)
cz#=newzvalue(z#,wrapvalue(a#+180),300)
cy#=get ground height(1,cx#,cz#)+100.0
position camera cx#,cy#+200,cz#
'focuses the camera at the subject
point camera x#,y#,z#
sync
loop
Soul sucking devils, twisting the body's of the damned, slivering slim drips from every poor, sin licking at ears, and a smell so bad it stings the eyes, welcome to the darkness.