Game Development Community

How to mirror the whole world like this ?

by Browser_ice · in Torque Game Engine · 10/16/2007 (1:35 pm) · 4 replies

My first look at the TGE 1.5.1 I saw the terrain being mirrored. That gave me an idea into my current design I want to but I need to find out if the whole thing can be mirrored like below (terrain, DTS, DIF, ...).


world is like this :

AB
CD

Can it be set (without code changes) to be like this :

DC-CD-DC
BA-AB-BA
-
BA-AB-BA
DC-CD-DC
-
DC-CD-DC
BA-AB-BA

So evrything is REALLY mirrored.

#1
10/16/2007 (2:01 pm)
I don't think so,
but you could fake it by constructing your world so that the fundamental block is
AB
CD
so when TGE repeats it you'll get
ABBAABBA
CDDCCDDC
CDDCCDDC
ABBAABBA
ABBAABBA
CDDCCDDC
CDDCCDDC
ABBAABBA
#2
10/16/2007 (2:04 pm)
That is how I want to do it. The '-' were simply visual aids to distinguish the block.

So how can I mirror it like this ?

And can this be done with everything that is in the mission including DTS, DIF or just the terrain ?
#3
10/16/2007 (2:09 pm)
Oops, i drew the wrong asci picture.
i meant, pre-mirror your world once by hand.
ie, so the core world is
ABBA
CDDC
CDDC
ABBA
#4
10/16/2007 (2:12 pm)
The terrain is tilling.
It means the square of 2,048 x 2,048 World Units you can shape within the editor (F11 and then terrain editor) will repeat forever.
You can force the terrain to remain a single square of 2,048 x 2,048 WU, with TerrainTilling set to '0' somewhere in the mission. (Sorry don't remember where at the moment).

Also, baked shadows from .dif buildings from the main terrain will be repeated on other terrain instances, so you will have to be creative to hide those shadows. I personally use rocks and FxFoliageReplicator.

There are no solutions for your idea.