dim3 Forum

Full Version: Editor problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I've been having some problems with the editor.


First of all. When i make a new map the engine fails to recognise it. Untill i give it the name of an existing Dim3 map. Is this because it needs a script?
The editor should create a default script when it saves a map.

Second problem is that i can't seem to run maps from the Editor now. When i try the Editor crashes. Even wierder, next time I open the engine it opens and instantly plays that map skipping the menu as if i had opened the map from the Editor.

I tried running a new map not yet renamed to a Dim3 map and after the Editor crashed i tried to run the Engine. It too crashed saying that it could not open the map.



Are these bugs?
Redownload the engine, that'sa big no-no. I don't think it's a bug, I think some data got lost when you unzipped it all or somethin'...but then again, Brian, there's a small chance this is a bug? Or should I say 'a lot of bugs'?
I don't think anything is missing. I've been working with this copy for some time now and never had this problem. It could be a result of something I did, but I really doubt that I could have changed anything that would cause these problems.

It wasn't previosly giving me the headache with the 'run in engine'. Thats new and it affects even maps I made before. I've had the map naming problem only since 2.0. Then again, I don't think I made any maps before the 2.0 beta.
the crashing sounds like a download problem,
but I believe the new map needs to be adddressed in the Game.js script (dim3folder/data/scripts/Game/Game.js and also must be added manually to the map chooser interface by adding it to the map chooser area (towards the bottom) of interface.xml (in the settings folder) using the other maps as a template, but changing the position and image file of course.
Funny but i think it might be a problem with the copy of dim3 I am using. I made a fresh copy from the disk image and had no problems using the editor. Since I think I duplicated this copy twice I might have messed up somewhere in between. I'll either have to live with it or try to put all the data into a new copy of dim3.
Durandalski Wrote:First of all. When i make a new map the engine fails to recognise it. Untill i give it the name of an existing Dim3 map. Is this because it needs a script?
The editor should create a default script when it saves a map.

Are you just duplicating an existing map? If so, you need to duplicate the script. If you are making a new map, you will get an automatic script. If you change the name of the map, you'll need to change the name of the script.

Note that the "pick a map screen" is just a piece of the hud that's run by scripts, you'd have to edit that to get a new map in it.

Durandalski Wrote:Second problem is that i can't seem to run maps from the Editor now. When i try the Editor crashes. Even wierder, next time I open the engine it opens and instantly plays that map skipping the menu as if i had opened the map from the Editor.

Yeah, when you do the "run" in Editor it creates a file that Engine looks for. Since it crashed, the file stuck around. Engine always deletes the file after it uses it.

Send me the crash log!

Durandalski Wrote:I tried running a new map not yet renamed to a Dim3 map and after the Editor crashed i tried to run the Engine. It too crashed saying that it could not open the map.

Sounds like it, send me the log.

[>] Brian
no, it probably isn't, did you rename the engine? if you renamed it your game, then when you hit the run button it will crash because it can't find dim3 engine. is this what your talking about?
Oh yes, i did rename it. It was getting confusing cuz i had some older engines there too.

You still want the logs?
Durandalski Wrote:Oh yes, i did rename it. It was getting confusing cuz i had some older engines there too.

You still want the logs?

Was renaming it the cause of the crash? If so, I know where to look, otherwise, I'd like the logs.

[>] Brian
ggadwa Wrote:Yeah, when you do the "run" in Editor it creates a file that Engine looks for. Since it crashed, the file stuck around. Engine always deletes the file after it uses it.
Where is that file? just curious Rolleyes
Pages: 1 2
Reference URL's