SquareSize 8 problem
by Mike Henry · in Torque Game Engine · 10/09/2006 (9:19 am) · 9 replies
I know this question has been posted in the past, but I can't find it anywhere.
I need to reduce the terrain size down to about a quartermile on a side,
but changing the TerrainBlock.SquareSize to anything other than 8 will abort the program.
Is there a way to make that work, or another way to reduce the grid size?
And where can I find a reference on the TerrainBlock, that explains each of the fields?
(Note: I posted this on Mission/Terrain Editing but I don't think that's the right place so I removed it.)
I need to reduce the terrain size down to about a quartermile on a side,
but changing the TerrainBlock.SquareSize to anything other than 8 will abort the program.
Is there a way to make that work, or another way to reduce the grid size?
And where can I find a reference on the TerrainBlock, that explains each of the fields?
(Note: I posted this on Mission/Terrain Editing but I don't think that's the right place so I removed it.)
About the author
Engineer technician in electronics plant. Plus part time map software and trailguide author and photographer.
#2
10/09/2006 (11:17 am)
Hmm...I experience none of these problems.
#3
10/09/2006 (11:29 am)
I have also problem with anything other then "8 SquareSize" :( It messes up my waterblock.
#4
10/16/2006 (12:04 pm)
I rewrote portions of the waterblock in TGE 1.5 to support blocksizes < 8 (though I believe the size still needs to be a power of two - 8, 4, 2). Not only is the terrain smaller but the geometric and texture detail is much higher, so this is extremely handy (I know I'll be using it :).
#5
10/16/2006 (12:38 pm)
Mike, are you changing your sqauresize with the ingame editor or editing the mission file dire3ctly and then loading TGE? If you atre getting a crash when you use the ingame editor try modifying your mission file with a text editor and then loading it in Torque.
#6
Both ways it aborts, sometimes with a warning, sometimes not.
11/03/2006 (8:33 am)
I tried it both ways - editing the in-game editor and editing the mission file directly. Both ways it aborts, sometimes with a warning, sometimes not.
#7
11/03/2006 (8:46 am)
Whats the warning?
#8
I removed my waterblock (which was a 2048x2048 ocean) and tried it, and it worked with a squaresize 4 but aborted at 2.
The warning I get is the standard Windows aborted-program message, sometimes I get it, sometimes not.
Maybe I'll give 1.5 a try, I can live without the ocean, but I still need the squaresize 2.
11/18/2006 (9:54 am)
I have release 1.4.2, but other postings complain of similar waterblock problems on 1.5I removed my waterblock (which was a 2048x2048 ocean) and tried it, and it worked with a squaresize 4 but aborted at 2.
The warning I get is the standard Windows aborted-program message, sometimes I get it, sometimes not.
Maybe I'll give 1.5 a try, I can live without the ocean, but I still need the squaresize 2.
#9
11/21/2006 (9:53 am)
Ok, I think I found something. I was trying to resize an existing terrain that had buildings, trees and ocean on it. When I started with a fresh terrain it reduced to squaresize 2 correctly. So it looks like I can not reduce the terrain so that objects are moved to outside the base square.
Torque Owner Paul /*Wedge*/ DElia