Author Topic: Alright.. I want to scream  (Read 1294 times)

Offline Quende

  • Curious Wanderer
  • *
  • Posts: 25
  • Floof-O-Meter: 0
    • View Profile
Alright.. I want to scream
« on: June 07, 2017, 05:04:50 pm »
So, i've spent hours on a map and worked so hard on it and the next day when I go into map creator I get "Unable to load Terrain.cfg"

???

What happen? it was doing fine yesterday when I closed out & came back. Why is it all of a sudden today it just stopped working?

Offline G4RG0YLE

  • Elder Grey Pelt
  • ****
  • Posts: 3,431
  • Country: gb
  • Floof-O-Meter: 170
  • Avatar © Felicia on Discord ♡
    • View Profile
Re: Alright.. I want to scream
« Reply #1 on: June 07, 2017, 05:34:23 pm »
If you go into the map folder for a specific that you made you have a few different .cfg files and a material file.

You have 2 files with the name terrain in them.

yourmapnameTerrain.cfg
yourmapnameTerrain.material

If you get the message you mentioned above it's either that you do not have any yourmapnameTerrain.cfg file in your map folder it can load up, or the codes in it can not be read. An example of a working one is this(Take note that you cannot plainly copy and paste it and it will work as before as this code is for a completely different map).

Code: [Select]
PageSource=Heightmap
Heightmap.image=blackscreenTerrain.png
PageSize=513
TileSize=65
MaxPixelError=3
PageWorldX=2000
PageWorldZ=2000
MaxHeight=600
MaxMipMapLevel=5
VertexNormals=yes
VertexProgramMorph=no
LODMorphStart=0.2
CustomMaterialName=Terrain/blackscreenRLL

If you're missing a mapnameTerrain.cfg in your map folder for your custom map, then you can copy a terrain.cfg file from another map folder, paste it into your own. Open up the cfg file you just copied with NOTEPAD Edit the pageworldx, z, and maxheight to the size you used to have in the map maker, change the custommaterial to the name you have on the terrain.material file, save it, and then start the game and it should work enough to change your ground textures and stuff again. There's probably some things that could go wrong and please make sure all names are the same and link to the right material and configs as it will not work otherwise.

The error your posted is directly linked to the cfg terrain file inside of your custom map folder for that specific map.

© short ' cakes on Discord ♡

Offline Quende

  • Curious Wanderer
  • *
  • Posts: 25
  • Floof-O-Meter: 0
    • View Profile
Re: Alright.. I want to scream
« Reply #2 on: June 07, 2017, 06:12:44 pm »
Alright, i'll try this later. Thank you for your reply much appreciated.

Offline Quende

  • Curious Wanderer
  • *
  • Posts: 25
  • Floof-O-Meter: 0
    • View Profile
Re: Alright.. I want to scream
« Reply #3 on: June 07, 2017, 06:20:10 pm »
And now i'm really confused because I do have the

mymapnameTerrain.cfg and the material. I don't get why it's not working


Alright.. Nevermind, found the reason. I opened it with notepad and it was empty. The problem is I know the map size but i'm unsure of what I used for the height
« Last Edit: June 07, 2017, 06:25:23 pm by Quende »

Offline FlyingGrass

  • ~🛠 The avant-garde doctor of mechanical beings. 🔧 🔬
  • Elder Grey Pelt
  • ****
  • Posts: 2,516
  • Country: 00
  • Floof-O-Meter: 121
  • Avatar=Me|Signature=Me
    • FlyingGrass
    • channel/UCA7RfqQ1KLl4s8JhxIXNs_Q
    • View Profile
    • Mechanicafeles Discord link
Re: Alright.. I want to scream
« Reply #4 on: June 07, 2017, 06:40:50 pm »
Don't worry, I have a very tall object in one of my maps and that map's Terrain.cfg has not been altered while open.
« Last Edit: June 07, 2017, 07:10:33 pm by FlyingGrass »

My presets.

Good things take time, so I'll take an eternity and create something so good that the human brain can't handle the sheer goodness of it.