Modifying Terrain in a circle

Blitz3D Forums/Blitz3D Programming/Modifying Terrain in a circle

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Thanks for the tips! One more problem though. I'm trying to have it increase the height every time the code is called, with TerrainY (I've tried with TerrainHeight, same problem though) and adding the height variable on top of the TerrainY

For xr=-radius To radius
   For zr=-radius To radius
      If (xr*xr + zr*zr) < (radius*radius)
         ModifyTerrain ter,x+xr,z+zr,TerrainY(ter,x+xr,y,z+zr)+height
      EndIf
   Next
Next


After I do that the 'mount' wont get any higher, it just makes a bunch of points (no bigger than the initial heigh variable) and shifts them around everytime it is called. Thanks for any help!

EDIT: Just messing around, it seems like TerrainY makes the points, and TerrainHeight slowly decreaces the height, although it reamins even across all the points.