Game Development Community

Definitive answer on non-repeating terrain for non-licensees?

by Greg Kefalas · in Artist Corner · 03/11/2005 (3:06 am) · 2 replies

Heya folks. As I mentioned in the thread title, I am NOT an engine licensee; I'm currently getting my feet quite wet making some user-created maps for Blockland, that block building game. Though - I have ideas knocking around in my noggin as we all do, and Torque would be the way to do 'em, we'll leave that for another day and get to the point. :)

After searching the resources and the forums, it seems that the only definitive answer on non-repeating terrain is either dead links or in licensee-only sections of the forums/site. I don't know if answers like that aren't allowed to be posted in public areas, but if that's not a rule, could someone clarify if it's possible to and how to turn repeating off without access to the source code? Would this be possible to do in .cs scripts? And, barring a way to turn the repeating off, making the green box (which I guess is the terrain bounds) huge in its place to make the repetitions start far far away would be a pretty awesome consolation solution.

* I know I could just conceivably set the blocksize to something larger, say, 32, but then the waterblocks get busted and (same thing) no definitive fix for that seemed to be around either. Plus, terrain still repeats.

* Making the terrainblock's scale values larger makes a nice "fall through the Earth" effect so that's right out.

* I can't just shorten the fog distance to something crazy like 100 or 200 as the terrain bitmap uses almost all of the 256x256 area.

* It also seemed that, if I used a heightmap to generate my terrain, going over to the repeated terrains and flatten 'em using a brush caused my main terrain area to also get wiped out; that's bad too.

My only solution if this is undoable is to create a giganticly high - and I mean gigantic - simple DTS vertical plane and place it at the edges of the terrain, allowing only the most dedicated explorers to escape the bounds of my island.

Like I said if it's a no-no to answer this type of stuff since I'm not a licensee I apologize. Thanks in advance, folks!

About the author

Recent Threads


#1
03/11/2005 (5:18 am)
You can't turn off repeating terrain without access to the source code, it takes a modification to the way torque handles terrains, and is a pretty in-depth mod of the engine's core code.

Also your idea about a large DTS shape is prolly out of the question, the engine would choke, puke and die.

What you should do, is buy the engine and then you have access to the source, believe me it's totally worth it.

In the meantime, try setting up your mission area properly, I can't quite remember how off the top of my head, but seems to me the mission area can be defined to have a property similar to a wall, or forcefield.
Then erect a fence around the area you want players kept in.
#2
03/11/2005 (11:31 am)
Thanks for the reply! As far as the forcefield goes, for anyone finding this thread searching for the same answers, this link has more info:
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=result&qtm=mission%20area

You ned the source, however, to make those modifications.