Game Development Community

Torque World/Terrian Editor

by Ryan Zec · in General Discussion · 08/01/2003 (4:23 pm) · 8 replies

I have been playing around with the World/Terrian editor that come with torque engine and was wornding if I could set up the map so if I was to walk in 1 dirction for let say 10 min I would come back to the place I started. Something like if I wanted to make a example of the world in the game so if I have a plane I could fly around the world in 1 direction and come back into the same place. Plus just wornding with is the mission space in the editor ( the place inside the red box) and how do I make the mission space the entire map? I hope I explained myself so you know what I am talking about.

#1
08/01/2003 (5:59 pm)
And easy (easier?) way to do it would be to just set up triggers on the map, and move the user's location to a new spot, exactly the same place on the other side of the map. Otherwise, no, Torque doesn't have a way of doing it automatically that I know of.
#2
08/01/2003 (6:14 pm)
Thanks Davis, that is what I thought. I anyone else knows how to do that a easier way I would like that. Thanks for your help.
#3
08/01/2003 (10:45 pm)
Well here's the deal. Torque has, by default repeating terrain. Which means you create one terrain "square" or block, and then it repeats itself...I will try to draw this with my super-ascii skills...
______
[--b--]
[a...c]
[__d__]

Ok ignore the dots in the middle, but basically there is your block, and so you see the 'c' boundry, on the other side of that boundry will be 'a' again in shape, but you can just go on forever.

What I would do would be to set up triggers, like Davis said, and have it warp you back to the other side...if you did it at the right time, it *probably* wouldn't be too noticeable. Maybe.

You could also mess with the out of bounds event.
#4
08/02/2003 (6:31 am)
But only the terrain repeats... All the buildings on teh terrain only have shadows burnt into the terrain (but no buildings) if you get into any of the other squares.

It make a spherical world that work properly you'd have to use triggers or out of bounds functions to keep you in the right part of the terrain.
#5
08/02/2003 (7:17 am)
Pat: Hm - I didn't think of the out-of-bounds event. That would probably be the way to go - wait until it's triggered, then transport the user to just the other side.
#6
08/02/2003 (1:10 pm)
I think i just might just make the world inside 1 deep hole. so i will jet have a cliff going directly up so they can move anymore.
#7
08/20/2003 (5:16 am)
There is a resource that will make the missions area visible, and other resources to make the player bounce off the mission 'walls' I personally quite like that approach... of course it depends totally on the type of game you're making, but cliffs in Torque look ugly IMHO...
#8
08/20/2003 (11:14 am)
Only problem is that you could "suddenly" appear in the midst of a battle near the edge. One second you are there, and suddenly gone.

Not very beatiful if you ask me.