WorldTemplateGuideline
World Template Authoring Guideline
Overview
There are minor differences between normal world files and template world files. All world files should be kept in a single folder.
The followings shows mandatory and optional world files in a world folder.
| filename |
requried |
desc |
| [worldname].worldconfig.txt |
REQUIRED |
This is the entry point of the world |
| flat.txt |
|
This is the default world tile. It may have a different file name if worldconfig.txt says so. But in most cases, it is called flat.txt and contains the default terrain heightfield, terrain textures, etc. |
| preview.jpg |
|
when opening or previewing a world, this is the image to be shown. |
| WorldInfo? .html |
|
this is an mcml page describing the purpose of the world. It will be shown when previewing a world in some places. usually it contains author, copyright info, and world description. |
For a complete example, please see worlds/templates/empty/flatgrassland.
Common files
In order to reuse world data, world templates can assume that the following files are always installed. they are all inside the /_emptyworld/ folder.
| file |
description |
| flat.raw |
most frequently used file if you just want to reference a flat land elevation height field file. |
Topic revision: r1 - 2008-02-29 - 15:26:12 -
LiXizhi