Stendhal/Creature Organization/Examples: Difference between revisions

From Arianne
Jump to navigation Jump to search
imported>AntumDeluge
No edit summary
imported>AntumDeluge
No edit summary
(No difference)

Revision as of 17:13, 4 May 2013

These changes should be able to be made without affecting the game. But the logic tilesets for Tiled should eventually be reworked. Creature classes only appear to affect class definition on the website.

Option 1: Very generalized categories

animal.xml

human.xml

hybrid.xml

Dragon

undead.xml

Option 2: More distinction between classes

angel.xml

animal.xml

demon.xml

dragon.xml

dwarf.xml

elemental.xml

elf.xml

giant

  • ice

human.xml

  • chaos

Optionally merge chaos green dragonrider & chaos red dragonrider

misc.xml

mythical.xml

  • ratfolk

ratman ratwoman archrat

ogre.xml

orc.xml

undead.xml

Other options (unsure)

The following can either have their own xml file or be put into a category such as beast, hybrid or humanoid.

beast?

humanoid?

hybrid?

Examples

  • A possible method of organization would be to put the creatures in a file with a corresponding class name, and use a subclass tag to segregate different creatures within their class.

Example: undead.xml

<creatures>

  <subclass value="skeleton">
    
    <creature name="skeleton">
    </creature>
    
    <creature name="warrior skeleton">
    </creature>
  
  </subclass>
  
  <subclass value="zombie">
  
    <creature name="zombie">
    </creature>
    
    <creature name="rotten zombie">
    </creature>
    
  </subclass>
  
</creatures>

In the above example creatures skeleton & warrior skeleton would be of class undead and subclass skeleton while zombie & rotten zombie would be class undead and subclass zombie.

Comments can be used in place of the "subclass" tag:

<creatures>

  <!-- START: skeleton -->
    
  <creature name="skeleton">
  </creature>
  
  <creature name="warrior skeleton">
  </creature>

  <!-- END: skeleton -->
  
  <!-- START: zombie -->
  
  <creature name="zombie">
  </creature>
  
  <creature name="rotten zombie">
  </creature>
  
  <!-- END: zombie -->
  
</creatures>