Rel: Control terrain repeating from script
by John Vanderbeck · in Torque Game Engine · 04/17/2004 (6:48 am) · 27 replies
I've just finished coding and testing an enchancement to the Terrain engine that allows you to set whether or not the terrain endlessley repeats via the scrpit side of the house. The World Editor to be exact. You simple bring up the editor, select the terrain block, and toggle the repateTerrain option. Effects take place immediately upon hitting APPLY.
It seems to be working nice and solid so i'm going to release it as a resource here in about 10 minutes. In the menatime, here's a short video clip to wet your appetite.
MPEG Video (13.72mb)
Note: About 5 minutes to upload that file so if it isn't a valid link when you click, wait a few minutes and try again.
It seems to be working nice and solid so i'm going to release it as a resource here in about 10 minutes. In the menatime, here's a short video clip to wet your appetite.
MPEG Video (13.72mb)
Note: About 5 minutes to upload that file so if it isn't a valid link when you click, wait a few minutes and try again.
#22
Water issue is related to the terrain patch tho!
Lars
04/25/2004 (3:41 pm)
Fixed the collision, had nothing to do with this, sorry :-)Water issue is related to the terrain patch tho!
Lars
#23
04/25/2004 (3:43 pm)
I'm afraid i'm still not understanding what you mean with the water, and the above screenshot isn't very clear either :p
#24
What the screenshot clearly shows is that water is missing from the area where the terrain would have been if the "Repeat Terrain" was turned "On".
The water block doesn't fill the area where the terrain is removed from.
I don't know how to make it any clearer than that sorry :-)
Lars
04/25/2004 (4:57 pm)
I updated the above screenshot with some arrows and text.What the screenshot clearly shows is that water is missing from the area where the terrain would have been if the "Repeat Terrain" was turned "On".
The water block doesn't fill the area where the terrain is removed from.
I don't know how to make it any clearer than that sorry :-)
Lars
#25
04/25/2004 (5:16 pm)
Strange. In all the levels i've made, wherever the terrain WOULD have beem repeated but wasn't, the water block was there. To infinity.
#26
Not a big issue tho as you won't be able to leave our island and venture into the big blue, so you won't actually see it unless you get abit out there...
Lars
04/25/2004 (5:36 pm)
Hmm. I'll try messing with the waterblock and see if it helps.Not a big issue tho as you won't be able to leave our island and venture into the big blue, so you won't actually see it unless you get abit out there...
Lars
#27
There is a known issue with waterblocks if the terrain size is set to anything other than 8. It is probably that you haveyour terrain block set to a different value and you are getting holes in the waterblocks as a result.
05/21/2004 (7:47 am)
This is a kind of old post, but I thought I would put this in as a possible answer to the hole in the water issue.There is a known issue with waterblocks if the terrain size is set to anything other than 8. It is probably that you haveyour terrain block set to a different value and you are getting holes in the waterblocks as a result.
Torque Owner Lars Boldt
Hopefully this image will explain what I mean about the water. As you can see on the image, the water doesn't fill the space where the terrain would have been if repeat was on.
Lars