Hammerwatch Forum

Custom mapping and Mods => Editor Discussion => Topic started by: Oareo on August 30, 2013, 03:38:25 AM

Title: Can't Load Custom Levels (.hwm files?)
Post by: Oareo on August 30, 2013, 03:38:25 AM
I tried following the tutorial here, but nothing appears in game. Not even the example. Only

levels/campaign.hwm
levels/defense.hwm

I tried putting a folder in this levels folder, as well as in the editor folder (as the guide says).
Title: Re: Can't Load Custom Levels (.hwm files?)
Post by: Xeronkar on August 30, 2013, 03:44:19 AM
The editor can just open the .xml files
Title: Re: Can't Load Custom Levels (.hwm files?)
Post by: Oareo on August 30, 2013, 03:54:33 AM
I can open the levels just fine in the editor. I can test run the levels just fine in the editor.

But when I try to play it for real (in the game), they don't appear.
Title: Re: Can't Load Custom Levels (.hwm files?)
Post by: Xeronkar on August 30, 2013, 03:58:00 AM
Just use the LevelPacker, drag and drop your entire level folder on the .exe
Title: Re: Can't Load Custom Levels (.hwm files?)
Post by: Oareo on August 30, 2013, 04:01:20 AM
Ah, thank you!
Title: Re: Can't Load Custom Levels (.hwm files?)
Post by: Heretic on August 30, 2013, 09:29:35 AM
What is required for that to work? What are the minimum requirements for it to pack a .hwm? And on top of that, I have a .hwm that is not showing up in the game either :/ (But Greywatch, Doom 1.4, etc show up just fine)
Title: Re: Can't Load Custom Levels (.hwm files?)
Post by: KptnKook on August 30, 2013, 01:56:12 PM
the maps can be started in debug mode... i dont know what the other's did, so that the map can be loaded in normal mode. :-\
Title: Re: Can't Load Custom Levels (.hwm files?)
Post by: Myran on August 30, 2013, 08:59:02 PM
All the level packer should need is a folder containing a correct info.xml and a level.xml. Also every level referenced in the level.xml must exist.
Title: Re: Can't Load Custom Levels (.hwm files?)
Post by: KptnKook on August 30, 2013, 10:11:33 PM
i have a simple map and didn't change much of the example .xml files.

the levelpacker also packs the level without error and gives me a levelfile as expected. but i can only see it in menu, when i open it from debug gamemode.

i don't see the difference between the levels .xml files from some games i can play and mine.

here's the code:
Quote
<levels start="1">
   <act name="lvl.act1">
      <level id="1" res="levels/TheUnseenLands_Shipwreck_1.xml" name="lvl.floor?floor=1" />
   </act>
</levels>
Title: Re: Can't Load Custom Levels (.hwm files?)
Post by: Myran on August 30, 2013, 10:55:58 PM
And you put the .hwm in your levels folder? You can post the .hwm and I'll take a look if you want.
Title: Re: Can't Load Custom Levels (.hwm files?)
Post by: KptnKook on August 30, 2013, 11:18:08 PM
thanks for taking the time!

i know there is a big chance that i only did something wrong and not able to find it...

here is the .hwm, info and -level.xml and also the editormap
http://www.mediafire.com/?pvla8djyqt04gg5 (http://www.mediafire.com/?pvla8djyqt04gg5)

i put the according .hwm into to the levels folder in the main hammerwatch folder. i still can only access the map via debug mode.
Title: Re: Can't Load Custom Levels (.hwm files?)
Post by: KptnKook on September 01, 2013, 12:56:47 AM
it actually works for me now.

i did not change anything. only copied some other maps out of the folder? they somehow clash with each other?
i dont know, but the map is shown now.  ::)
Title: Re: Can't Load Custom Levels (.hwm files?)
Post by: Gammer001 on January 06, 2014, 04:52:22 AM
All the level packer should need is a folder containing a correct info.xml and a level.xml. Also every level referenced in the level.xml must exist.
I don't have these files and I don't know why.