Amd Map Specification

Talk about helbreath here.
Post Reply
Drajwer
<3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

Im working on Pit Editor for Helbreath and i looked deeper into client source... i finished loading maps :)


.AMD hbmap specification:

Header (MAPSIZE X=x MAPSIZEY=y TILESIZE=10) <span style='color:blue'>size: 256 bytes</span>
im not sure about TILESIZE, it exists and it isnt used :blink:
Sprite frames etc. is after Header (starts from 256 byte and goes to file end).


Every Sprite is length 10 bytes and the bytes is:
0 byte = tile sprite
2 byte = tile sprite frame
4 byte = obj sprite
6 byte = obj sprite frame
8 byte = can move (byte and 0x80)
10 byte = teleport (byte and 0x40)

[][] [][] [][] [][] [][] [][] [][] [][] [][] [][]

soon i finish sprite loading and map drawing, then i do "pit editor" things like selecting area and putting npc on it.

Any ideas to "Pit Editor" ?

THanks
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
diuuude
Outpost bitch
Posts: 592
Joined: Wed Dec 28, 2005 11:57 pm

Post by diuuude »

Hum... if you want to increase the ease of use of your tool, it should be a good idea to define spawn area drawing a rect directly with the mouse on the map, and then drag / drop the npc you want to spawn in the area you just defined...

I think you can do it easilly!


By the Way Drajwer, if you have some spare time and you're ok for coding a new tool for sprite creation, i'd be really interested !!

Pak builder sucks, you need many other tools if you want to create a new sprite from the scratch and you waste atleast 30% of the whole sprite creation time switching between the tools...

If you have some free time anyday, PM me and i'll try to explain you what would be really usefull for making good sprites in an easier way !
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

diuuude wrote: Hum... if you want to increase the ease of use of your tool, it should be a good idea to define spawn area drawing a rect directly with the mouse on the map, and then drag / drop the npc you want to spawn in the area you just defined...

I think you can do it easilly!


By the Way Drajwer, if you have some spare time and you're ok for coding a new tool for sprite creation, i'd be really interested !!

Pak builder sucks, you need many other tools if you want to create a new sprite from the scratch and you waste atleast 30% of the whole sprite creation time switching between the tools...

If you have some free time anyday, PM me and i'll try to explain you what would be really usefull for making good sprites in an easier way !
Yes... now i did maptile loading and full map loading to mem and press shift ctrl f9 and... delphi crashed and fucking Auto Save doesnt work..

yes, i think about that. Draw rect and drag/drop npc. Mining stones should be cool :)
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
diuuude
Outpost bitch
Posts: 592
Joined: Wed Dec 28, 2005 11:57 pm

Post by diuuude »

Great :)

I can't wait to see it !
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

Im mad at Borland (Inprise) Delphi . Should start coding again yesterday.
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

Hmm i just rewrite half of code and heres the result (just funny rects instead of sprites)

Image

its aresden farm :D
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
Post Reply