Home MORPH Syntax Hierarchies
  Sponsored by Magnetar Games Main Specification Forum Syntax

MORPH Syntax

Element <Hierarchies>
Attributes
None.
Content
The purpose of the hierarchies branch of the DSL is to specify many-to-many relationships that cannot be represented with the Prototypes section alone. All objects mentioned in the hierarchies are references to Prototypes or ObjectClasses declared in other sections.

Element <(ClassSet)>
Attributes
None.
Content
This is an optional category container for nodes. The name of the element may be the class name appended with "Set" or it may be the class's PluralName. The ClassSet element is optional on all levels and may be omitted by the DSL.

Element <(Class)>
Attributes
Content
None.
This class represents a placeholder for a class declared in the Prototypes or ObjectClasses section. When a class references a prototype, the element name itself is the object class name, and the prototype is referenced using the "Ref" attribute.

Attribute "Ref" - xs:NMTOKEN - required
This attribute must reference the name of a Prototype declared in the Prototypes section.