Changes between Version 2 and Version 3 of Entity


Ignore:
Timestamp:
Jun 27, 2012, 6:41:35 AM (12 years ago)
Author:
historic_bruno
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Entity

    v2 v3  
    1515== Modifying entities ==
    1616
    17 Currently there is no special editor for entity templates (as there is for actors), so it's best to use a decent text editor like Notepad++ on Windows.
     17Currently there is no special editor for entity templates (as there is for actors), so it's best to use a decent text editor like Notepad++ on Windows. Existing entity templates can be used as examples, along with the [http://svn.wildfiregames.com/entity-docs/ entity documentation].
     18
     19== Special entities ==
     20
     21There are also special entities which are not in the same category as units and structures. Players are considered to be entities in the game, as are formations. There is a so-called "system entity" which is created at the start of a game, it's associated with certain global system components like player manager and territory manager, which are not related to a single entity or player.
    1822
    1923== Entity XML format ==
     
    5862It can be seen that this template inherits from "template_unit" (and all of its parents, too).
    5963
    60 Entity templates must comply with the [http://relaxng.org/ schema] or they won't validate, causing an error when trying to use the entity in-game or Atlas. Each component adds to the schema those elements which it allows to be specified in the template, as documented [http://svn.wildfiregames.com/entity-docs/ here].. An element may be required or optional, it may have attributes or not; and its data may be restricted in type, limited to a set of predefined choices, or it may allow arbitrary text.
     64Entity templates must comply with the [http://relaxng.org/ schema] or they won't validate, causing an error when trying to use the entity in-game or Atlas. Each component adds to the schema those elements which it allows to be specified in the template, as documented [http://svn.wildfiregames.com/entity-docs/ here]. An element may be required or optional, it may have attributes or not; and its data may be restricted in type, limited to a set of predefined choices, or it may allow arbitrary text.
    6165
    6266Typical reasons for a template not validating include: