I will share that script here too, but is already available in MapBuilder, in obstacleplace.c
now I use a bit refined grass normal setting function, if I have time I will put here...


Free world editor for 3D Gamestudio: MapBuilder Editor