Anyone saved a level with the Level Builder?
by Joe Rossi · in Torque Game Builder · 02/19/2006 (6:19 pm) · 9 replies
I'm not sure what I'm doing wrong here, but no files are created when I try to save levels with the Level Builder. Is there a specific name or file extension we are supposed to save levels with?
I keep getting something like this in the console:
I keep getting something like this in the console:
Loading compiled script tools/leveleditor/gui/testScreen.gui. exec: invalid script file name /test. or Loading compiled script tools/leveleditor/gui/testScreen.gui. Missing file: /test.lvl!What are you people doing to save levels?
#2
02/20/2006 (1:01 pm)
Nope, nothing.. I'm using the original Beta 1.1 if that makes a difference.
#3
Ex:
Your level file name : test.cs
In your script :
exec("test.cs");
02/20/2006 (5:12 pm)
What I mean is if you save your test file with .cs extension instead of .lvl. Maybe it will work because when you create a level file, this file contain torquescript. Maybe I'm wrong too. I begin with torque :)Ex:
Your level file name : test.cs
In your script :
exec("test.cs");
#4
Am I alone here? Can anyone say they have saved a level?
02/20/2006 (9:08 pm)
Yes thank you Steve, I understood what you meant by that :D I tried to save as test.cs, but it didn't create a level file. I'm starting to think that saving/loading of levels is not yet implemented.. Am I alone here? Can anyone say they have saved a level?
#5
EDIT: I'm using the 1.1 Beta
02/20/2006 (11:11 pm)
I've saved a level. It even had "lvl" as the extension.EDIT: I'm using the 1.1 Beta
#6
02/21/2006 (2:14 am)
OK, I just downloaded a fresh Beta 1.1, went to the "games" directory and fired up T2D.exe. I created a bunch of random default stuff and clicked "File->Save As..", then entered a filename and clicked ok. No level file was saved.. I tried that a few times with no success. What am I doing wrong? :/
#7
There might be a bug with saving things without first selecting a directory.
02/21/2006 (8:52 am)
What directory are you saving your level into? It looks like I'm unable to save levels into the project root directory. It works fine saving them into /T2D/data/levels, try selecting that folder with the file selector and saving it there. There might be a bug with saving things without first selecting a directory.
#8
02/21/2006 (12:52 pm)
Yes! That was it Drew. For some reason it won't save to the root directory by default. You do have to select a directory first, and it can be any directory. Thank you for the help!
#9
02/21/2006 (5:10 pm)
That is a Torque specific thing, Torque will prevent you from saving to your root directory, just like it will prevent you from saving outside of your game directory... its more of a security thing than anything. Glad you got the problem figured out though, sorry I came in late.
Torque Owner Steve Nolet