Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - King Knuffel

Pages: [1]
1
Hi,

I have created my own maps and it took me way too long to make the dungeon layout with all the walls and copy paste the rooms and as soon as I was finished I found a easy way to do it that would have saved me a lot of work.

1)First draw the Dungeon in MS Paint (or an other image programm) in black and white. Each black pixel stands for a piece of a wall.

2)When you are done and think you have made an awesome dungeon start the Hammerwatch editor.

3) In Paint mark the drawing and copy the map that you have drawn (crl+c). Do not open the drawing with the Editor or copy the file into the editor it wont work. Just copy paste the map directly from paint into the editor.

4) Go back to the Hammerwatch editor and paste the painting (crl+v). Then there appears your drawing as a dungeon A themed wall.

5) If you dont want to always play in the dungeon A theme then save the file now as a Hammerwatch editor file (something.xml) open it with the Texteditor.
The file looks something like

Quote
<dictionary>
   <dictionary name="tilemap">
      <array name="tiledata"></array>
   </dictionary>
   <dictionary name="doodads">
      <array name="doodads">
         <dictionary>
            <int name="id">0</int>
            <string name="type">doodads/theme_a/a_h_16.xml</string>
            <vec2 name="pos">0 -5</vec2>
            <bool name="need-sync">False</bool>
         </dictionary>
      </array>
   </dictionary>
   <dictionary name="actors">
   </dictionary>
   <dictionary name="items">
   </dictionary>
   <dictionary name="scripting">
      <array name="nodes"></array>
   </dictionary>
   <dictionary name="lighting">
      <array name="lights"></array>
      <int-arr name="shadow-color">135 128 128 255</int-arr>
      <int-arr name="ambient-color">50 50 50 255</int-arr>
      <int-arr name="add-color">0 0 0 255</int-arr>
      <float name="shadow-length">1</float>
   </dictionary>
   <dictionary name="prefabs">
   </dictionary>
</dictionary>

Where each
Quote
   <int name="id">0</int>
            <string name="type">doodads/theme_a/a_h_16.xml</string>
            <vec2 name="pos">0 -5</vec2>
            <bool name="need-sync">False</bool>
stands for a piece of wall.

Now youse the find and replace function from the texteditor and replace a/a with the tileset you want. For example replace a/a with c/c and then save and close the file. If you open it again in the hammerwatch editor then you will see that all the theme a walls are now theme c walls. If you are doing that make sure it is one of the first things you do because if you replace it later things like a bridge will dissappeare because the bridge is only in theme a and there is no easy way to replace only the walls and no other things (you only could do it for each wall tile seperatley starting with the right wall and then on of the edges and so on.. by replacing the whole line like "doodads/theme_a/a_ledge_up_v2.xml" with "doodads/theme_c/c_ledge_up_v2.xml"


If you make dungeons that way it is much faster and more fun to generate them because the basic layout is done in a minute and you can put more energy in making evil traps and placing fearesome enemies.

2
Custom Maps / Re: [Campaign][WIP] : Requiem of Hammerwatch : alpha 0.8.2
« on: February 11, 2014, 01:47:44 PM »
Sorry my misstake, I lost my keys to the merchant or the worldmap not because they were reseted but it remains still a problem.

3
Custom Maps / Re: [Campaign][WIP] : Requiem of Hammerwatch : alpha 0.8.2
« on: February 11, 2014, 10:51:05 AM »
Although the map is very unfinished I like it.

You should change the Keys at the first level because if you got the bronze key and then leave the dungeon to buy some things in town the keys are reset to zero. If you didn´t open the bronze door buy that point that cause you to stuck in the game forever and you have to start it all over because there is no chance to get that key ever again (same to the golden key).
--> change that to trigger butons instead or make the players unable to leave the dungeon before they defeate the boss once they entered it. (or spawn key again if the reenter the dungeon)
I am pretty sure the same problem would appear with the keys in the 3thd lvl but I didn´t tried it there.

Make sure to change that bevore you enter this projekt for your test at the video game scool because there is nothing more frustrating than when you have to start a game all over again because of some bugs an in Hammerwatch you have only one savegame.

Pages: [1]