Overview Screenshots Downloads News Documentation Thanks Simugraph Home Page

H-World - Module file structure

H-World game modules should store all their files in one subdirectory. This is a proposal for a structure inside the modules directory. This structure is used by the default game module which contains "The Jungle" game.

File structure

Data directory

The data directory contains the item and monster configuration files, as well as level templates, floor textures and some more module specific image files.

It was originally meant to store all kinds of data needed by a game module, but due to the big amount of files, a substructure was needed. Still this is the big bag for all data that your module needs.

Data/custom directory

This was originally meant to be used for small customizations of game modules. It still can be used this way, but more important is the use to store all item/monster images used by the module.

Data/dialogs directory

All NPC dialogs are stored here.

Data/rooms directory

Room templates used by level templates, go in here.

Help directory

Module specific in-game help files go in here.

Save directory

Saved games and persistent level data is stored here.

Scripts directory

All Lua scripts reside in here.


Hansjörg Malthaner
Last modified: Wed Sep 22 12:18:26 CEST 2004