Author Topic: Editor run crash  (Read 7716 times)

cojobe

  • Posts: 2
  • Maggot Crusher.
    • View Profile
Editor run crash
« on: January 02, 2014, 04:37:22 AM »
I have made a level, and when I go into tools>run or even run from camera, it crashes tells me that it has crashed and to send file to an email. I have tried moving my whole hammerwatch folder to desktop, program files, and even program filesx86 and I still come up with the same issue every time.
Thanks for any help given! :)

Hipshot

  • Developer
  • Posts: 455
  • Level Designer
    • View Profile
Re: Editor run crash
« Reply #1 on: January 02, 2014, 02:45:31 PM »
You are probably missing some xmls you need, did you look at this one?

http://www.youtube.com/watch?v=TUx9jSEE58E

Zeus

  • Posts: 2
  • Maggot Crusher.
    • View Profile
Re: Editor run crash
« Reply #2 on: January 02, 2014, 06:08:01 PM »
It appears i also am missing the example folder, info.xml, levels.xml, icon.png.

I used steam to verify game cache and its saying its all fine but the folders and files are still missing.

RoseyNineOneOne

  • Posts: 4
  • Maggot Crusher.
    • View Profile
Re: Editor run crash
« Reply #3 on: January 02, 2014, 10:15:03 PM »
I, too, am having this problem. Crash on testing, no example folder, etc.

Hipshot

  • Developer
  • Posts: 455
  • Level Designer
    • View Profile
Re: Editor run crash
« Reply #4 on: January 02, 2014, 10:35:22 PM »
So, inside:
Steam\SteamApps\common\Hammerwatch

there's no

\editor\example

?


RoseyNineOneOne

  • Posts: 4
  • Maggot Crusher.
    • View Profile
Re: Editor run crash
« Reply #5 on: January 02, 2014, 10:38:13 PM »
Correct, there is no folder.

Hipshot

  • Developer
  • Posts: 455
  • Level Designer
    • View Profile
Re: Editor run crash
« Reply #6 on: January 02, 2014, 10:42:05 PM »
Hmm, I don't even have that folder... that's strange...

RoseyNineOneOne

  • Posts: 4
  • Maggot Crusher.
    • View Profile
Re: Editor run crash
« Reply #7 on: January 02, 2014, 10:45:01 PM »
Okay, I figured it out by browsing about. You need to make a new folder for your map, name your map when you save it as level_mapname, and make to XML files:
info.xml:
Code: [Select]
<info>
<name>Script test level</name>
<description></description>
<lives>10</lives>
</info>

and

levels.xml:
Code: [Select]
<levels start="1">
<act name="lvl.act1">
<level id="1" res="test_puzzle.xml" name="Puzzle test" />
</act>
</levels>

Hipshot

  • Developer
  • Posts: 455
  • Level Designer
    • View Profile
Re: Editor run crash
« Reply #8 on: January 02, 2014, 10:50:55 PM »
Yea, here's the files from the survival level.

It's strange that I don't have the example folders anymore myself though...

cojobe

  • Posts: 2
  • Maggot Crusher.
    • View Profile
Re: Editor run crash
« Reply #9 on: January 03, 2014, 06:10:10 AM »
Got it to work! I did what RoseyNineOneOne did
Many thanks!
Okay, I figured it out by browsing about. You need to make a new folder for your map, name your map when you save it as level_mapname, and make to XML files:
info.xml:
Code: [Select]
<info>
<name>Script test level</name>
<description></description>
<lives>10</lives>
</info>

and

levels.xml:
Code: [Select]
<levels start="1">
<act name="lvl.act1">
<level id="1" res="test_puzzle.xml" name="Puzzle test" />
</act>
</levels>

NekoBaron

  • Posts: 124
  • Scripting Wizard
    • View Profile
Re: Editor run crash
« Reply #10 on: January 03, 2014, 04:43:26 PM »
It's strange that I don't have the example folders anymore myself though...
They've gone completely or just from the steam version? because I left a back up of hammer watch on my desktop and still have them ( I'm sure a few of us do).