Author Topic: Can't Load Custom Levels (.hwm files?)  (Read 11227 times)

Oareo

  • Posts: 3
  • Maggot Crusher.
    • View Profile
Can't Load Custom Levels (.hwm files?)
« 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).

Xeronkar

  • Posts: 102
  • Boss scripter
    • View Profile
Re: Can't Load Custom Levels (.hwm files?)
« Reply #1 on: August 30, 2013, 03:44:19 AM »
The editor can just open the .xml files

Oareo

  • Posts: 3
  • Maggot Crusher.
    • View Profile
Re: Can't Load Custom Levels (.hwm files?)
« Reply #2 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.

Xeronkar

  • Posts: 102
  • Boss scripter
    • View Profile
Re: Can't Load Custom Levels (.hwm files?)
« Reply #3 on: August 30, 2013, 03:58:00 AM »
Just use the LevelPacker, drag and drop your entire level folder on the .exe

Oareo

  • Posts: 3
  • Maggot Crusher.
    • View Profile
Re: Can't Load Custom Levels (.hwm files?)
« Reply #4 on: August 30, 2013, 04:01:20 AM »
Ah, thank you!

Heretic

  • Moderator
  • Posts: 305
  • Castle Runner
    • View Profile
Re: Can't Load Custom Levels (.hwm files?)
« Reply #5 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)

KptnKook

  • Posts: 45
  • Immersive or DIE!!!!!
    • View Profile
Re: Can't Load Custom Levels (.hwm files?)
« Reply #6 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. :-\

Myran

  • Developer
  • Posts: 183
    • View Profile
Re: Can't Load Custom Levels (.hwm files?)
« Reply #7 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.

KptnKook

  • Posts: 45
  • Immersive or DIE!!!!!
    • View Profile
Re: Can't Load Custom Levels (.hwm files?)
« Reply #8 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>
« Last Edit: August 30, 2013, 10:16:56 PM by KptnKook »

Myran

  • Developer
  • Posts: 183
    • View Profile
Re: Can't Load Custom Levels (.hwm files?)
« Reply #9 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.

KptnKook

  • Posts: 45
  • Immersive or DIE!!!!!
    • View Profile
Re: Can't Load Custom Levels (.hwm files?)
« Reply #10 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

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.
« Last Edit: August 30, 2013, 11:21:23 PM by KptnKook »

KptnKook

  • Posts: 45
  • Immersive or DIE!!!!!
    • View Profile
Re: Can't Load Custom Levels (.hwm files?)
« Reply #11 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.  ::)

Gammer001

  • Posts: 8
  • Hyrule Savior.
    • View Profile
Re: Can't Load Custom Levels (.hwm files?)
« Reply #12 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.
(╯°□°)╯︵ ┻━┻