Game Development Community

Terrain Question

by Carl A Harris · in Torque 3D Professional · 06/23/2010 (7:06 pm) · 1 replies

What I'm interested in doing. Is allowing a player to dig at a single vertex. The dig option would not adjust the vertex drastically. Perhaps allowing the player or players, to dig down and create their own foxholes or find an entrance to a buried temple.

I know that we can modify terrains in the terrain editor. Which means that there must be a way for the server to make terrain changes.

So, does anyone have any ideas on how, if at all, this can be done?

#1
06/24/2010 (12:06 am)
Hi Carl,

I also wanted a “dig” function for the terrain a short while back.

Since trying to create my own I found that the Terrain Editor was easy enough to convert into a “Deformer”, the only issue with it is that it’s not going to work on a multiplayer game, and I believe it would take a little bit of work to make it work…

There is plenty of functionality in the terrain editor but I also added the options to process multiple events in one, so you could lower the height, smooth it and change out the texture of the deformed area all in one process tick

I wrote it for a project I am now not working on, and will probably release it as a resource soon… …maybe this week….