Game Development Community

[1.1a BUG] Terrain Does Not Save - RESOLVED

by Chris Sargent · in Torque 3D Professional · 10/21/2009 (12:12 am) · 16 replies

I created my water plane, then used the file>create terrain option. I selected 1024 with noise and I got this:

i963.photobucket.com/albums/ae120/ssgtsgt/screenshot_003-00000.png
I then placed a spawnmaker slightly above a section on the island. Save the mission and then used the toolbox to play the game. Once I hit play I selected the island mission and when it loads I get this for my island and the player just falls right through.

i963.photobucket.com/albums/ae120/ssgtsgt/screenshot_004-00000.png

I did not have this in 1.0 or beta 5 so I have no idea what is going on.

Thanks,

#1
10/21/2009 (6:05 pm)
Has anyone seen this occur and if so fill me in on why it is doing this?

Thanks,
#2
10/21/2009 (9:13 pm)
Sorry to leave you hanging today Chris. I saw your post this morning but the tasks I had at work today kept me away from the computer most of the day.

I'm going to try and see if I can replicate this later and figure out what's going on here. In the meantime my suggestion would be to check the .mis file and make sure it's pointing to the correct terrain. Also, did you move the terrain at all? I've seen some reports of collision with the terrain failing after the terrains been moved, though I haven't encountered that myself yet.
#3
10/22/2009 (11:28 pm)
Scott,

No problem. I did move the terrain a little bit to adjust what I wanted instead of moving the water plane. But even if I moved it, when I play the game my terrain should not appear as a flat rectangle when it looks like picture 1 before I save and exit the editor.
#4
10/23/2009 (12:46 am)
Well I was definitely able to reproduce it and confirm the bug. For some reason when creating a new terrain with noise it's not being saved correctly. Whatever it is it seems to be localized to new noise terrains, new flat terrains don't have this problem and moving the terrain doesn't seem to be a factor.
#5
10/23/2009 (4:54 am)
Did you try saving the terrain in the terrain editor, and then saving the mission? Or does it work with a different workflow?
#6
10/23/2009 (10:30 am)
@Sven
There isn't a save specific to terrain editor.

@Chris
Good news, I've found a work around. After you create your terrain play the game via the button in the editor. Doing this appears to be forcing the changes to apply and then press F11 to hop back into the editor and save your level.
#7
10/23/2009 (10:49 pm)
Scott,

Thanks very much.
#8
11/18/2009 (8:23 pm)
Scott,

I filed this work around for later on when I needed it. However, this does not work for me. I have done it a half a dozen times now, hit play and then back to the editor and save the level. When I go back to it, it is once again a flat terrain!

This isn't a real problem for me as I don't need to use the in-editor create terrain, but once in awhile it's good for just a quick terrain.
#9
12/11/2009 (7:02 pm)
I have duplicated this issue as well. I spent hours creating a beautiful terrain only to have the editor blow it away after I saved the level. It's very frustrating.
#10
12/11/2009 (7:23 pm)
@Robert, if you are having save issues, please note:

If you are saving a NEW level, make sure you type in the extension MANUALLY.

That is your_level_name.mis
#11
12/11/2009 (7:58 pm)
Thanks Steve. My mission saves fine. It's the terrains that don't seem to be savable.
#12
12/12/2009 (12:01 pm)
Ah I see what you mean!

Chris, can you move this to the 1.1alpha bug section and change the title to something akin to "[1.1a BUG] Terrain Does Not Save".
#13
12/12/2009 (12:57 pm)
My bad guys, I thought I had reported this one but it looks like I had left it out since the thread started before I was official. That won't happen this week. Thread tagged and title updated.
#14
12/14/2009 (10:38 pm)

Fixed for 1.1 Beta. Generating a terrain with noise did not mark terrain as having changes and thus caused terrain file not being saved out with the mission when not doing any other terrain edits.

@Robert Galante
This sounds like a different issue. Are you editing the heightfield and/or texturing and seeing your changes not persisted when saving the mission? Haven't seen this happen so far.
#15
12/15/2009 (6:43 pm)
Thanks Rene for the info...
#16
08/02/2010 (5:04 pm)
Fixed in 1.1 Beta 2