Difference between revisions of "Manual:Zone Manual/Introduction"

From DikuMUD Wiki
Jump to navigation Jump to search
m (Testing wikisync changes)
(checked against the current code (wiki review 2026-11-15))
 
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
−
=== Giving credit where credit is due! ===
 
  
−
The, basic zone writing manual, you are reading now, didn't just come flying out of this authors head. In fact it is a conglomeration of several old texts which are no longer used.  I had first thought about quoting and giving credit to each person who had ever modified or created portions of the first documentation but because of the nature of the way they were built it was impossible to know who did what. I therefore have decided to create a list here of everyone who has ever worked on or had a hand in the development of the basic zone writing documentation and references.  I will also give a short summary for each.
+
=== 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.
  
−
I would also like to thank those listed below for their contribution to the development of one of the best mud servers on the internet today.
+
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.
  
−
;Original DIKU coding Team
+
=== What you need ===
−
:
+
* A copy of DikuMUD3 that builds (see [[Manual:Installation|Installation]]). The build puts <code>vmc</code> in <code>vme/bin/</code>.
−
* Hans Henrik Staerfeldt
+
* A text editor.
−
* Sebastian Hammer
+
* The macro headers in <code>vme/include/</code> (<code>macros.h</code> and the files it includes). Every zone includes them.
−
* Michael Seifert
+
* The zones that come with the server, in <code>vme/zone/</code>. They are the best examples of what works.
−
* Katja Nyboe
 
−
* Tom Madsen
 
−
* Lars Balker Rasmussen
 
  
−
You should all know these people they are not only the original DIKU mud
+
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.
−
developers but a few of them designed and developed the new VME
+
 
−
server. One or more of the previous mentioned people were the authors of
+
=== What this manual covers ===
−
the following texts that have been swallowed up by this book.
+
* [[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.
−
* ''abilities.txt''
+
* The [[Manual:Zone_Manual/Zone_Source_File|layout of a zone file]] and its [[Manual:Zone_Manual/Zone_Source_File/Zone_information_section|header]].
−
* ''guild.txt''
+
* The [[Manual:Zone_Manual/Unit_Building_Blocks|fields every unit has]]: symbol, names, title, descriptions and extras.
−
* ''monster.txt''
+
* [[Manual:Zone_Manual/The_Room_Section|Rooms]], [[Manual:Zone_Manual/The_NPC_Section|NPCs]] and [[Manual:Zone_Manual/The_Objects_Section|objects]].
−
* ''objects.txt''
+
* [[Manual:Zone_Manual/The_Reset_Section|Resets]]: loading NPCs and objects, equipping NPCs, doors.
−
* ''rooms.txt''
+
* [[Manual:Zone_Manual/Color_and_Formatting_Codes|Colour and formatting codes]] in descriptions.
−
* ''vmc.txt''
+
* 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
−
: One of the original administrators of Valhalla mud and now the administrator of the mud connector.  Andrew created the first zone tutorial, which was later included into the ''vmc.txt'' to clear up some things missing in the old ''vmc.txt''.  Again my thanks go out to Andrew for his contributions not only to this document but to the growth of the DIL programming language.
+
: Wrote the first zone tutorial, later merged into ''vmc.txt''.
 
;Ryan Holliday
 
;Ryan Holliday
−
: Made major updates to the ''tutorial.txt'' created by Andrew Cowan, which became version two of the tutorial.
+
: Revised the tutorial (version two).
 
;Peter Ryskin
 
;Peter Ryskin
−
: Wrote the original explanation of how to define exits.
+
: Wrote the first explanation of exits.
 
;John Clare
 
;John Clare
−
: Made major updates to the ''tutorial.txt'' created by Andrew Cowan and updated by Ryan Holliday, which became version three of the tutorial.
+
: Revised the tutorial (version three).
 
;Marc Bellemare
 
;Marc Bellemare
−
: An editor and an author Marc combined and revised the ''tutorial'' and the ''vmc.txt'' into one document making it less Valhalla specific and more for any mud running the VME server.
+
: Merged the tutorial and ''vmc.txt'' into one document.
 
;Jennifer Garuba
 
;Jennifer Garuba
−
: Created the first document on how to create shop keepers.  She also was one of the first builders to have the insite and to make it clear that a manual like this was needed.
+
: Wrote the first document on shopkeepers.
 
;Brian Spanton
 
;Brian Spanton
−
: Converted the original ''vmc.txt'' into HTMl, while at the same time fixing many inconsistencies and typos in it.
+
: Converted ''vmc.txt'' to HTML and fixed many errors in it.
 
;Kathy Perry
 
;Kathy Perry
−
: Wrote the original ''compiler howto'' to make it easier for new builders to compile their zone.  She was also the first builder to open my eyes to the fact we needed a true manual on how to build.
+
: Wrote the first guide to compiling a zone.
 
;Mark Pringle
 
;Mark Pringle
−
: Main editor, which spell checked and looked over my major grammer mistakes.  I am sure he didn't catch them all but at least the ugly ones were caught.
+
: Edited the manual.
 
;Morgan Shafer
 
;Morgan Shafer
−
: Wrote the guild definition primer which explained teachers.
+
: Wrote the guild primer that explained teachers.
−
 
+
;Ken Perry (Whistler)
−
===  Who should read this book? ===
+
: Combined the texts into this manual.
−
 
 
−
This book was designed to be read by anyone who is thinking of writing areas for a VME server.  If you have wrote for other mud servers you will still need to at least skim every chapter because the VME is like no other mud engine and has some very interesting differences.
 
−
 
 
−
=== What does this book cover? ===
 
  
−
The topics covered in this book are everything to do with writing an
+
More names are on the [[Manual:Credits|Credits]] page.
−
area for the VME server. While we do cover using DIL functions to make your
 
−
monsters, Rooms, and objects better and smarter we do not cover how to write the
 
−
DIL functions covered in the DIL manual.  The following
 
−
are topics covered by this book.
 
−
* compiling and debugging
 
−
* Macros using the CPP
 
−
* Overall Zone structure
 
−
* Writing rooms
 
−
* Writing Objects
 
−
* Writing Monsters
 
−
* Doing the resets
 
  
 
<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

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