Hammerwatch Forum
Technical Support => Bug Reports => Topic started by: Grizwhirl on August 13, 2013, 06:09:27 PM
-
Whenever I try to test a level in the editor the level fails to load.
-
Is it your level? I mean, is it possible to start the example level?
-
No, the example level fails to load as well.
-
How did you test the level? Using the buttons in the editor or did you play it via the hammerwatch.exe in the editor folder?
Or you moved the maps into the folder of the normal game?
Is there an error.txt?
-
Running the level from the editor is where the game crashes. I can compile the level and put it in the Hammerwatch level folder, but that is cumbersome when i'm testing inter-connected scripts. I attached an error.txt in my initial post
-
Same for me
-
you can run the debug launcher and test it without compiling the map, but it does not make it as easy to load as the editor, hope myran can get this fixed soon
alternatively i remember hipshot telling me about a bat file he used to test , i could never get it to work but maybe you can.
just create a test document and put in
@Echo off
Echo Level_* file:
set /p Input=
Echo Class (knight/ranger/wizard/warlock):
set /p Input2=
"hammerwatch.exe" l editor\greyfall\levels\level_%Input%.xml c %Input2% r 1920x1080
change greyfull to your maps folder and save it as a bat.
this does require that your maps levels be be named level_example.xml
-
I prever the "start at camera" button.
Debug needs cheatcodes :D
-
If you right click Hammerwatch in your steam library and go in to properties, betas and select "testing - Public testing" (no password), it should download a patch for the game, it contains a few crash fixes and a few editor fixes, it might help.
The debug version does have cheats, if you open the console (with the standard ~/§ button depending on keyboard layout) theres a bunch of commands you can use, like "god" and "noclip" (use tab to list)
-
The debug version does have cheats, if you open the console (with the standard ~/§ button depending on keyboard layout) theres a bunch of commands you can use, like "god" and "noclip" (use tab to list)
Ok, thanks, I didn't know that^^ I think that's different on my german keyboard, I will try.
-
recently discovered that if i copy the whole hammer-watch game folder into program files the run from camera and test buttons in the editor work fine, it would seem that it dosent like the steam folder. Myran is working on a fix for this but in the mean time copying the game folder could be a workaround.
just make sure you don't miss any patches.
-
Thanks moving the folder helped. I set up the opt in beta so ill keep an eye on the patches
-
I have this same sort of issue. I can make and a run a map fine, but if I save it and then close and reopen the editor I can't run the map anymore.