Data Realms Fan Forums
http://45.55.195.193/

Requesting Help ~ Creating New Terrain
http://45.55.195.193/viewtopic.php?f=8&t=12666
Page 1 of 1

Author:  Stallion [ Fri Nov 14, 2008 6:04 am ]
Post subject:  Requesting Help ~ Creating New Terrain

I've tried fiddling with the frustrating .ini files to no avail and even after reading all the guides I could find (and attempting to deconstruct the .ini files of other modders) I can't seem to get my new terrain into the game. Below is a copy of the .ini file, I'd really appreciate it if someone could help figure out where I'm going wrong at getting the map into the game.

Code:
//////////////////////////////////////////////////////////
// Horizontal Land

AddScene = Scene
   PresetName = Horiz Land2
   LocationOnPlanet = Vector
      X = 0
      Y = 0
   // Gravity acceleration, m/s^2
   GlobalAcceleration = Vector
      X = 0
      Y = 19.82

   // Terrain SceneLayer
   Terrain = SLTerrain
      PresetName = Horiz Land Terrain
      BitmapFile = ContentFile
         Path = NewScenes.rte/HorizLand2.bmp
      WrapX = 1
      WrapY = 0
      ScrollRatio = Vector
         X = 1.0
         Y = -1.0
      BackgroundTexture = ContentFile
         Path = Base.rte/Scenes/Textures/DirtDark.bmp
         
      /////////////////////////////////////////
      // Material frostings
      
      AddTerrainFrosting = TerrainFrosting
         TargetMaterial = Material
            CopyOf = Topsoil
         FrostingMaterial = Material
            CopyOf = Grass
         MinThickness = 5
         MaxThickness = 7
         InAirOnly = 1

      /////////////////////////////////////////
      // Terrain Debris which is scattered
      
      AddTerrainDebris = TerrainDebris
         CopyOf = Gold

      AddTerrainDebris = TerrainDebris
         CopyOf = Plants

      AddTerrainDebris = TerrainDebris
         CopyOf = Boulders

      /////////////////////////////////////////
      // List of TerrainObjects to apply
/*
      PlaceTerrainObject = TerrainObject
         CopyOf = Vertical Wall
         Position = Vector
            X = 1872
            Y = 512

      PlaceTerrainObject = TerrainObject
         CopyOf = Hangar A
         Position = Vector
            X = 1896
            Y = 560

      PlaceTerrainObject = TerrainObject
         CopyOf = L-Junction B
         Position = Vector
            X = 1800
            Y = 608

      PlaceTerrainObject = TerrainObject
         CopyOf = Vertical Wall
         Position = Vector
            X = 1800
            Y = 704

      PlaceTerrainObject = TerrainObject
         CopyOf = Vertical Wall
         Position = Vector
            X = 1776
            Y = 776

      PlaceTerrainObject = TerrainObject
         CopyOf = Vertical Wall
         Position = Vector
            X = 1752
            Y = 848

      PlaceTerrainObject = TerrainObject
         CopyOf = Vertical Wall
         Position = Vector
            X = 2088
            Y = 512

      PlaceTerrainObject = TerrainObject
         CopyOf = Stairs B
         Position = Vector
            X = 2088
            Y = 608

      PlaceTerrainObject = TerrainObject
         CopyOf = L-Junction D
         Position = Vector
            X = 2184
            Y = 656

      PlaceTerrainObject = TerrainObject
         CopyOf = T-Junction C
         Position = Vector
            X = 2184
            Y = 752

      PlaceTerrainObject = TerrainObject
         CopyOf = Doors A
         Position = Vector
            X = 2088
            Y = 752

      PlaceTerrainObject = TerrainObject
         CopyOf = End B
         Position = Vector
            X = 1992
            Y = 752

*/      
   // Background scene layer definitions
   AddBackgroundLayer = SceneLayer
      CopyOf = Near Layer
   AddBackgroundLayer = SceneLayer
      CopyOf = Clouds Layer
   AddBackgroundLayer = SceneLayer
      CopyOf = Sky Layer


Added [code] tags.

- Electro

Author:  uberhen [ Fri Nov 14, 2008 8:15 am ]
Post subject:  Re: Requesting Help ~ Creating New Terrain

Just FYI, the 'Code' button is there for a reason; it preserves all tabs and spaces. Use it or upload the .ini. Also, what specific error message are you given? If you have but one tab or space out of place, CC won't recognize that line of code, so you might be able to help yourself by re-tabbing the lines. :)

Author:  Stallion [ Fri Nov 14, 2008 11:46 am ]
Post subject:  Re: Requesting Help ~ Creating New Terrain

uberhen wrote:
Just FYI, the 'Code' button is there for a reason; it preserves all tabs and spaces. Use it or upload the .ini. Also, what specific error message are you given? If you have but one tab or space out of place, CC won't recognize that line of code, so you might be able to help yourself by re-tabbing the lines. :)


There's no error, it just won't show up in-game.

Author:  zalo [ Fri Nov 14, 2008 4:11 pm ]
Post subject:  Re: Requesting Help ~ Creating New Terrain

At the end of the folder name for your map, did you type ".rte" or
include an Index.ini inside of that folder that references to your map.ini?

If that doesn't work, upload the map folder, and I'll take a look at it since
it could be a problem with the Indentation and DRL doesn't preserve the tabbing.

May awesome days be yours.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/