Feral Heart

Help & Guidance => Game Help => Topic started by: Quende on June 07, 2017, 05:04:50 pm

Title: Alright.. I want to scream
Post by: Quende 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?
Title: Re: Alright.. I want to scream
Post by: G4RG0YLE 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.
Title: Re: Alright.. I want to scream
Post by: Quende on June 07, 2017, 06:12:44 pm
Alright, i'll try this later. Thank you for your reply much appreciated.
Title: Re: Alright.. I want to scream
Post by: Quende 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
Title: Re: Alright.. I want to scream
Post by: FlyingGrass 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.