Difference between revisions of "Manual:Zone Manual/Introduction"
m (Testing wikisync changes) |
(checked against the current code (wiki review 2026-11-15)) |
||
| Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
| − | |||
| − | + | === What this manual is for === | |
| + | This manual teaches you to write zones for a DikuMUD3 server. A zone is one area of the game world: its rooms, the objects and NPCs in it, and the resets that load them. You write the zone as a text file and compile it with vmc, the zone compiler; the server loads the result when it boots. | ||
| − | + | If you have built areas for other MUD servers, still skim every chapter. DikuMUD3 zones are written offline in an editor, not online, and many details differ from other servers. | |
| − | + | === What you need === | |
| − | : | + | * A copy of DikuMUD3 that builds (see [[Manual:Installation|Installation]]). The build puts <code>vmc</code> in <code>vme/bin/</code>. |
| − | * | + | * A text editor. |
| − | + | * The macro headers in <code>vme/include/</code> (<code>macros.h</code> and the files it includes). Every zone includes them. | |
| − | + | * The zones that come with the server, in <code>vme/zone/</code>. They are the best examples of what works. | |
| − | |||
| − | * | ||
| − | * | ||
| − | + | To try a zone in the game you need a server of your own: compile the zone, add it to <code>vme/etc/zonelist</code>, and restart the server. [[Manual:Zone_Manual/General_Compiler_Information|General Compiler Information]] explains how. | |
| − | + | ||
| − | + | === What this manual covers === | |
| − | the | + | * [[Manual:Zone_Manual/General_Compiler_Information|Compiling]] a zone and reading vmc's errors, and the [[Manual:Zone_Manual/General_Compiler_Information/The_VMC_pre-processor|pre-processor]]: comments, macros and include files. |
| − | + | * The [[Manual:Zone_Manual/Zone_Source_File|layout of a zone file]] and its [[Manual:Zone_Manual/Zone_Source_File/Zone_information_section|header]]. | |
| − | + | * The [[Manual:Zone_Manual/Unit_Building_Blocks|fields every unit has]]: symbol, names, title, descriptions and extras. | |
| − | + | * [[Manual:Zone_Manual/The_Room_Section|Rooms]], [[Manual:Zone_Manual/The_NPC_Section|NPCs]] and [[Manual:Zone_Manual/The_Objects_Section|objects]]. | |
| − | + | * [[Manual:Zone_Manual/The_Reset_Section|Resets]]: loading NPCs and objects, equipping NPCs, doors. | |
| − | + | * [[Manual:Zone_Manual/Color_and_Formatting_Codes|Colour and formatting codes]] in descriptions. | |
| − | + | * A short introduction to [[Manual:Zone_Manual/The_DIL_Section|DIL]], the script language. How to write DIL is in the [[Manual:DIL Manual|DIL Manual]]; this manual only shows how to put ready-made DIL programs on your rooms, objects and NPCs. | |
| + | |||
| + | Along the way the chapters build one example zone, the dragon station, a room at a time. | ||
| + | |||
| + | === Credits === | ||
| + | This manual grew out of several older texts: ''abilities.txt'', ''guild.txt'', ''monster.txt'', ''objects.txt'', ''rooms.txt'' and ''vmc.txt'', written by the DikuMUD and Valhalla developers, among them Hans Henrik Staerfeldt, Sebastian Hammer, Michael Seifert, Katja Nyboe, Tom Madsen and Lars Balker Rasmussen. Others who wrote or edited parts of it: | ||
;Andrew Cowan | ;Andrew Cowan | ||
| − | : | + | : Wrote the first zone tutorial, later merged into ''vmc.txt''. |
;Ryan Holliday | ;Ryan Holliday | ||
| − | : | + | : Revised the tutorial (version two). |
;Peter Ryskin | ;Peter Ryskin | ||
| − | : Wrote the | + | : Wrote the first explanation of exits. |
;John Clare | ;John Clare | ||
| − | : | + | : Revised the tutorial (version three). |
;Marc Bellemare | ;Marc Bellemare | ||
| − | : | + | : Merged the tutorial and ''vmc.txt'' into one document. |
;Jennifer Garuba | ;Jennifer Garuba | ||
| − | : | + | : Wrote the first document on shopkeepers. |
;Brian Spanton | ;Brian Spanton | ||
| − | : Converted | + | : Converted ''vmc.txt'' to HTML and fixed many errors in it. |
;Kathy Perry | ;Kathy Perry | ||
| − | : Wrote | + | : Wrote the first guide to compiling a zone. |
;Mark Pringle | ;Mark Pringle | ||
| − | : | + | : Edited the manual. |
;Morgan Shafer | ;Morgan Shafer | ||
| − | : Wrote the guild | + | : Wrote the guild primer that explained teachers. |
| − | + | ;Ken Perry (Whistler) | |
| − | + | : Combined the texts into this manual. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | More names are on the [[Manual:Credits|Credits]] page. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<div style='padding-top: 30px; padding-bottom: 20px; text-align: left;float:left;width:50%;'>[[Manual:Zone_Manual|Previous: Table of Contents]]</div> | <div style='padding-top: 30px; padding-bottom: 20px; text-align: left;float:left;width:50%;'>[[Manual:Zone_Manual|Previous: Table of Contents]]</div> | ||
<div style='padding-top: 30px; padding-bottom: 20px; text-align: right;float:right;width:50%;'>[[Manual:Zone_Manual/General_Compiler_Information|Next: General Compiler Information]]</div> | <div style='padding-top: 30px; padding-bottom: 20px; text-align: right;float:right;width:50%;'>[[Manual:Zone_Manual/General_Compiler_Information|Next: General Compiler Information]]</div> | ||
Latest revision as of 06:19, 15 November 2026
Contents
Introduction
What this manual is for
This manual teaches you to write zones for a DikuMUD3 server. A zone is one area of the game world: its rooms, the objects and NPCs in it, and the resets that load them. You write the zone as a text file and compile it with vmc, the zone compiler; the server loads the result when it boots.
If you have built areas for other MUD servers, still skim every chapter. DikuMUD3 zones are written offline in an editor, not online, and many details differ from other servers.
What you need
- A copy of DikuMUD3 that builds (see Installation). The build puts
vmcinvme/bin/. - A text editor.
- The macro headers in
vme/include/(macros.hand the files it includes). Every zone includes them. - The zones that come with the server, in
vme/zone/. They are the best examples of what works.
To try a zone in the game you need a server of your own: compile the zone, add it to vme/etc/zonelist, and restart the server. General Compiler Information explains how.
What this manual covers
- Compiling a zone and reading vmc's errors, and the pre-processor: comments, macros and include files.
- The layout of a zone file and its header.
- The fields every unit has: symbol, names, title, descriptions and extras.
- Rooms, NPCs and objects.
- Resets: loading NPCs and objects, equipping NPCs, doors.
- Colour and formatting codes in descriptions.
- A short introduction to DIL, the script language. How to write DIL is in the DIL Manual; this manual only shows how to put ready-made DIL programs on your rooms, objects and NPCs.
Along the way the chapters build one example zone, the dragon station, a room at a time.
Credits
This manual grew out of several older texts: abilities.txt, guild.txt, monster.txt, objects.txt, rooms.txt and vmc.txt, written by the DikuMUD and Valhalla developers, among them Hans Henrik Staerfeldt, Sebastian Hammer, Michael Seifert, Katja Nyboe, Tom Madsen and Lars Balker Rasmussen. Others who wrote or edited parts of it:
- Andrew Cowan
- Wrote the first zone tutorial, later merged into vmc.txt.
- Ryan Holliday
- Revised the tutorial (version two).
- Peter Ryskin
- Wrote the first explanation of exits.
- John Clare
- Revised the tutorial (version three).
- Marc Bellemare
- Merged the tutorial and vmc.txt into one document.
- Jennifer Garuba
- Wrote the first document on shopkeepers.
- Brian Spanton
- Converted vmc.txt to HTML and fixed many errors in it.
- Kathy Perry
- Wrote the first guide to compiling a zone.
- Mark Pringle
- Edited the manual.
- Morgan Shafer
- Wrote the guild primer that explained teachers.
- Ken Perry (Whistler)
- Combined the texts into this manual.
More names are on the Credits page.