Dungeon Master game engine
Posted: Sun Sep 18, 2011 12:42 pm
Hi,
I've been browsing this site and the Dunegon Master Encyclopaedia for a while and there are quite a lot of articles on the file formats and technical details of DM and CSB. What I could not find is some kind of description of the actual game engine, how the game does it's game loop, how the creatures are moved and so on. Did I miss something or does everyone just analyse the CSBwin sourcecode (which is a bit confusing in my opinion)?
While working on my own little DM engine I came across a few things I could not find anywhere.
like...
- how is the damage of thrown items calculated?
- how is the speed of some creatures measured?
- where is the damage value for the different kinds of doors?
- what about these "random wall decorations", how are they distributed among the maps? since every dungeon has a specific random seed, these decos are not truely random (= different every time you start a new game), right?
In the tech docu of the DM Encyclopaedia there is a file description of "item 559".
This item contains (among other things) the weight of each item in the game and the value of the food items.
But it says there that item 559 is only present in some DM versions so where is the weight stored in all the other versions?
Maybe I just missed something so thank you in advance for pointing me in the right direction...
bye,
Peter
I've been browsing this site and the Dunegon Master Encyclopaedia for a while and there are quite a lot of articles on the file formats and technical details of DM and CSB. What I could not find is some kind of description of the actual game engine, how the game does it's game loop, how the creatures are moved and so on. Did I miss something or does everyone just analyse the CSBwin sourcecode (which is a bit confusing in my opinion)?
While working on my own little DM engine I came across a few things I could not find anywhere.
like...
- how is the damage of thrown items calculated?
- how is the speed of some creatures measured?
- where is the damage value for the different kinds of doors?
- what about these "random wall decorations", how are they distributed among the maps? since every dungeon has a specific random seed, these decos are not truely random (= different every time you start a new game), right?
In the tech docu of the DM Encyclopaedia there is a file description of "item 559".
This item contains (among other things) the weight of each item in the game and the value of the food items.
But it says there that item 559 is only present in some DM versions so where is the weight stored in all the other versions?
Maybe I just missed something so thank you in advance for pointing me in the right direction...
bye,
Peter