This tutorial is work in progress to describe the different XML elements that can be used for CEL and CELStart. When adding new tags please keep in alphabetical order.
Contents |
<addon> </addon>
Invokes a plugin
<addon plugin="cel.addons.celentity">
Used to create a CEL entity
Example
<addon plugin="cel.addons.celentity" entityname="menu_start_entity" >
<behaviour name="menu_behave" />
<propclass name="pcbillboard">
<property name="name" string="menu_start" />
<property name="materialname" string="menu_start" />
<property name="movable" bool="false" />
<property name="clickable" bool="true" />
<property name="restack" bool="false" />
<property name="width" long="61440" />
<property name="height" long="34800" />
<property name="x" long="19000" />
<property name="y" long="26600" />
</propclass>
</addon>
<file> </file>
Describes a file, for example the image file used in a texture.
<texture name="menu_start">
<file>/menu/menu_start.png</file>
<keepimage />
</texture>
<keepimage/>
Directive to keep the source image after texture is loaded, for example when using the texture as a billboard. Example
<texture name="menu_start">
<file>/menu/menu_start.png</file>
<keepimage />
</texture>
<materials> </materials>
Block that describes a number of materials.
<material> </material>
Describes a material.
Example
<material name="menu_start">
<texture>menu_start</texture>
</material>
== <texture> </texture> ==
Describes a texture
'''Example'''
<pre>
<texture name="menu_start">
<file>/menu/menu_start.png</file>
<keepimage />
</texture>
<textures> </textures>
Encapsulates a block of textures
<world> </world>
Used to encapsulate a world file
