Game Development Community

Punching Terrain-holes for Buildings?

by Steven Peterson · in Torque Game Engine · 10/30/2005 (3:45 pm) · 7 replies

Ok, I tried using set-empty to clear the terrain for a building thats partially underground. Unfortunetly, a single tile is much to big and imprecise for my buildings. I end up with holes all the way around the building.

I saw this on a search, but it sounds imperfect:
http://www.garagegames.com/mg/forums/result.thread.php?qt=1695

How do people get more finite control over terrain holes these days?

THanks,
Raven

#1
10/30/2005 (3:50 pm)
You could use difs that look like terrain around your structure. A kind of patch for your building.
#2
10/30/2005 (4:03 pm)
It's really hard to get a texture on a dif to match a terrain texture, I've tried to make foxholes and such, but no real luck so far. Good luck.
#3
10/30/2005 (8:08 pm)
I looked at the TLK demo and they just put a big concrete-block of "trim" around their tunnel. They did it stylishly so no-one would no. Mine hasn't turned out so well yet, but we'll see.
#4
10/31/2005 (12:04 am)
Some methods I recommend.

Make a brush that is the same size as the terrain hole. Just so you know how big its going to be when your creating your structures.

As you've said use a trim and try and make it look like part of the structure. Extend your structure brushes, usually with buildings I compile them with a brush underneath the building (just give it a generic concrete texture), but usually you want this to be a non-visible area.

The only real method to prevent holes, I've found is to just be creative, would be nice if terrain could be "snapped to a DIF" :P.
#5
10/31/2005 (7:04 am)
If it is not usable, what is intended the "show terrain inside" option for?
#6
10/31/2005 (7:18 am)
@Gustavo, www.garagegames.com/mg/forums/result.thread.php?qt=14753 read the post by Brian Ramage.
#7
10/31/2005 (9:52 am)
Thank you, Joseph. Very usefull.