Game Development Community

Help making an island

by Nic Biondi · in Artist Corner · 01/29/2004 (12:14 pm) · 6 replies

I am trying to map an island but I don't know how to stop the map from repeating in all four directions. I want the water to continue, but I dont want the player to get the wrong assumption that they are allowed to go to different islands.

Is there a way to fix this in the in-game map editor

#1
01/29/2004 (12:26 pm)
To repeat, from what i understand tehres no way around it
but!, you can make a huge huge huge map by editing the area in teh mission file
#2
01/29/2004 (1:17 pm)
How about making the island as a DTS model?
// If you only put 1 in the map the empty water will be all that repeats.

OR.. You could do what I do.. Put on your best tail and... "Monkey with the datablocks." :)
// These snips are from the starter.racing "racing.mis" and will apply to any large map.


new MissionArea(MissionArea) {
      area = "-1024 -1024 2048 2048";
      flightCeiling = "300";
      flightCeilingRange = "20";
         locked = "true";
   };

Play with area here as it will determine the size of the mission area box.
// You'll also want to play with flightCeiling if you plan on having aircraft.

Then I would try playing with the variables in 2 of the following lines..

new TerrainBlock(Terrain) {
         rotation = "1 0 0 0";
         scale = "1 1 1";
         detailTexture = "~/data/terrains/details/detail1";
         terrainFile = "./racing.ter";
         squareSize = "8";
         bumpScale = "1";
         bumpOffset = "0.01";
         zeroBumpScale = "8";
            position = "-1024 -1024 0";
            locked = "true";
      };

1. I'd play with scale and try "10 10 1".
// This should make something 10x bigger in the X & Y directions... Will it be the terrain?

2. I'd play with squaresize This determines the scale that the terrain texture is applied.
// For underwater the terrain texture is not as important because the water prevents you from seeing
// very far.
#3
02/19/2004 (11:35 am)
1. Just make a normal terrain, with a higher place (an island) in the center of.

2. After that lets make a waterblock, and lift it to the necessary level to hide the lower terrain.

3. For at last, increase a little on the fog level and density, and voila the result is an island in a great oceanlike waterblock :)
#4
02/20/2004 (11:23 pm)
You might want to modify the terrain renderer so it doesn't tile the terrain, too.
#5
03/20/2006 (9:06 am)
We can stop repeating terrain tiles in 1.4? thought it was only possible with the new atlas in TSE
#6
03/20/2006 (12:31 pm)
Hi all,

I think there is a TDN article describing how to do this, but here are some quick links, with some discussion about some of the related issues/techniques.

www.garagegames.com/mg/forums/result.thread.php?qt=38606

www.garagegames.com/mg/forums/result.thread.php?qt=38468

Good luck and have fun,

Aaron E.