Difference between revisions of "Templates"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
Line 1: Line 1:
 
* Templates are files which describe properties of objects to be created in the world.
 
* Templates are files which describe properties of objects to be created in the world.
 
* A template is the building plan, the blueprint for an object
 
* A template is the building plan, the blueprint for an object
* You can create as many instances of these objects as your server allows:<br>
+
* You can create as many instances of these objects as your server allows:<br/>1000 rabbits, if you wish from a single rabbit template, or cultists opr whatever.
1000 rabbits, if you wish from a single rabbiot template, or cultists opr whatever.
 
 
* Templates are described in files, one template per file only, so there are many.
 
* Templates are described in files, one template per file only, so there are many.
 
* These file live in a special directory called "templates" inside your mods directory.
 
* These file live in a special directory called "templates" inside your mods directory.
 
* The basic file format is XML, so you have the rules for XML tags and attributes.
 
* The basic file format is XML, so you have the rules for XML tags and attributes.
* Do not use special characters in the names for your templates, it can cause weird bugs<br>
+
* Do not use special characters in the names for your templates, it can cause weird bugs<br/>Forbidden characters in template names: "&"
Forbidden characters in template names: "&"
 

Revision as of 12:25, 1 November 2016

  • Templates are files which describe properties of objects to be created in the world.
  • A template is the building plan, the blueprint for an object
  • You can create as many instances of these objects as your server allows:
    1000 rabbits, if you wish from a single rabbit template, or cultists opr whatever.
  • Templates are described in files, one template per file only, so there are many.
  • These file live in a special directory called "templates" inside your mods directory.
  • The basic file format is XML, so you have the rules for XML tags and attributes.
  • Do not use special characters in the names for your templates, it can cause weird bugs
    Forbidden characters in template names: "&"