Problem with Torque 3D and packaging
by Jovani Adolfo · in Torque 3D Beginner · 06/29/2012 (11:07 pm) · 12 replies
When I compile a game to web, installer, or Zip, one of the terrains just deletes, no trace, no errors that I know of, just vanished. As if the terrain was not compiled with the game.
#2
06/30/2012 (12:17 pm)
Not a lot to go with here... have you verified that the terrain file itself is valid? Maybe try re-saving the mission after a terrain edit and then run the project packager again.
#3
06/30/2012 (12:30 pm)
Have you added anything to the exclude list in the packager? This could be caused by a wild card that's a bit too over zealous. Oh and I tweaked the subject of the thread a bit to help direct some more eyes this way.
#4
06/30/2012 (2:15 pm)
I don't think that I have but I'll check in a bit.
#5
@ Scott Burns: No not that I know of here are my excluded files:
*/tools*
.obj
.exp
.ilk
.pch
.sbr
.psd
.max
07/01/2012 (1:23 pm)
It's only one terrain that gets deleted, not the rest (I have two other terrains; neither is deleted)@ Scott Burns: No not that I know of here are my excluded files:
*/tools*
.obj
.exp
.ilk
.pch
.sbr
.psd
.max
#6
07/01/2012 (4:14 pm)
I need help guys I want to get this problem through so that I don't have to deal with it during the release.
#7
07/02/2012 (2:01 am)
Are you seeing in any errors or warnings in the console -- double check the console.log if the game is crashing on you. Have you ensured that the Terrain block in the level's .mis file is pointing to the correct .ter file?
#8
07/02/2012 (8:53 am)
No, and how do you check?
#9
07/02/2012 (9:37 am)
Nevermind; It has the right .ter file I'm pretty sure, I don't think it's working after compiling yet.. I haven't really checked.
#10
PROBLEM SOLVED AND FIXED!
07/23/2012 (10:01 am)
I fixed it. I had the */tools* folder on the excluded list, for some reason the terrain file was in the tools folder.PROBLEM SOLVED AND FIXED!
#11
The tools folder is excluded by default as they're not supposed to be distributed to the end user. What you'll need to do is move the terrain files that were saved there out to the terrains folder in the project so that the tools can be excluded when packaging. There will be some paths in the scripts that you'll need to update when relocating the files as well. Off the top of my head it would be the mission file, probably the materials definitions depending on which terrain materials were used. There might be a couple others, but if there are there should be console errors for them to make them stick out like sore thumbs.
07/23/2012 (10:14 am)
Sorry I didn't swing back around to this one in a while, I was posting from the airport previously at the beginning of my vacation. The tools folder is excluded by default as they're not supposed to be distributed to the end user. What you'll need to do is move the terrain files that were saved there out to the terrains folder in the project so that the tools can be excluded when packaging. There will be some paths in the scripts that you'll need to update when relocating the files as well. Off the top of my head it would be the mission file, probably the materials definitions depending on which terrain materials were used. There might be a couple others, but if there are there should be console errors for them to make them stick out like sore thumbs.
#12
07/23/2012 (10:16 am)
Yeah I was going to do that.
Torque 3D Owner Jovani Adolfo