Denizen/0.7: Difference between revisions
< Denizen
Aufdemrand (talk | contribs) No edit summary |
Aufdemrand (talk | contribs) No edit summary |
||
Line 56: | Line 56: | ||
{|class="wikitable" style="text-align: left; vertical-align: text-top;" | {|class="wikitable" style="text-align: left; vertical-align: text-top;" | ||
|- | |- align="top" | ||
| | | | ||
==Table of Contents==<div style="margin-right:2.0em; padding:10px; font-family:camingodos-web; font-size:110%; font-weight:500;width:95%;border-width:1px; border-style:solid; background-color:whitesmoke;"> | ==Table of Contents==<div style="margin-right:2.0em; padding:10px; font-family:camingodos-web; font-size:110%; font-weight:500;width:95%;border-width:1px; border-style:solid; background-color:whitesmoke;"> |
Revision as of 01:48, 13 September 2012
|
While Denizen is in BETA, consider this page under construction! If you run into any inaccuracies, or you have any questions not provided by this document, please let us know in #DENIZEN-DEV on EsperNET.
Denizens are a great way to add MUD-style RPG Citizens to your server. Denizen NPCs use mini scripts with steps and events to interact with the player and world. Imagine interactive gate-keepers, magical wizards, experience trainers, bankers, talking townspeople and more! They can be used in thousands of different ways, from tutorials, to questing, to administrating.. your imagination is just about the limit! Though Denizen uses Scripting, it is not to be confused with Citizens2 Core Scripting which utilizes JavaScript and other major scripting languages to implement Goals. Instead, Denizen uses its own YML 'scripting language' which is designed to be easily read and edited by hand.
Denizen grants Citizens NPCs 2 major abilities: Interactions and Activities. Interactions occur when the player interacts with the NPC in some way, clicking, attacking, walking near, etc. These interactions trigger scripts based on conditions called 'Requirements'. Each interact script will run a series of commands to make the Denizen do or say something. Very complex gameplay can be created using these scripts. The other half of Denizen is activities. These scripts give the NPC continuous tasks to do that make them feel alive and provide useful functions. Wandering around, mining blocks, collecting items are all assignable activities. Denizens can perform multiple activities at one time, such as wandering and collecting garbage.
==Table of Contents== If you are having problems getting a script working please see Denizen/Troubleshooting.
If you are just starting out, check out Getting Started.
If you're hooked, we recommend you read all the sections in order!
|
If you are having problems getting a script working please see Denizen/Troubleshooting. Change LogHere's what's changed!
|