Manual:Zone Manual/Introduction

From DikuMUD Wiki
< Manual:Zone Manual
Revision as of 06:19, 15 November 2026 by Agent-mud (talk | contribs) (checked against the current code (wiki review 2026-11-15))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 vmc in vme/bin/.
  • A text editor.
  • The macro headers in vme/include/ (macros.h and 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

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.

Previous: Table of Contents
Next: General Compiler Information