Stendhal/Creature Organization/Examples: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
Line 531: Line 531:


* mummy
* mummy
** <creature>mummy</creature> & <creature>royal mummy</creature>
** <creature>mummy</creature>
** <creature>royal mummy</creature>


* specter
* specter
** <creature>death</creature>, <creature>black death</creature> & <creature>golden death</creature>
** <creature>ghost</creature>
** <creature>ghost</creature>
** <creature>death</creature>
** <creature>green phantom</creature>
** <creature>green phantom</creature>
** <creature>invisible man</creature> & <creature>incorporeal armor</creature>
** <creature>invisible man</creature>
** <creature>incorporeal armor</creature>
** <creature>black death</creature>
** <creature>golden death</creature>


* skeleton
* skeleton
** <creature>gashadokuro</creature>
** <creature>skeleton</creature>
** <creature>elder skeleton</creature>
** <creature>skeleton</creature>, <creature>warrior skeleton</creature> & <creature>demon skeleton</creature>
** <creature>tiny skelly</creature>
** <creature>tiny skelly</creature>
** <creature>warrior skeleton</creature>
** <creature>elder skeleton</creature>
** <creature>demon skeleton</creature>
** <creature>gashadokuro</creature>


* vampire
* vampire
** <creature>vampire bride</creature>, <creature>vampirette</creature> & <creature>vampire lord</creature>
** <creature>vampire bride</creature>
** <creature>vampirette</creature>
** <creature>vampire lord</creature>


* zombie
* zombie
** <creature>bloody zombie</creature>, <creature>zombie</creature>, <creature>rotten zombie</creature> & <creature>headless monster</creature>
** <creature>bloody zombie</creature>
** <creature>zombie</creature>
** <creature>rotten zombie</creature>
** <creature>headless monster</creature>
** myling (not activated)
** myling (not activated)



Revision as of 18:44, 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.xml

undead.xml

Option 2: More distinction between classes

(***) Unsure about these options

angel.xml

animal.xml

beast.xml ***

demon.xml

dragon.xml

dwarf.xml

elemental.xml

elf.xml

giant.xml

  • ice

gnome.xml

human.xml

humanoid.xml ***

hybrid.xml

oni.xml

orc.xml

troll.xml

  • cyclops
    • cyclops (optionally troll.xml or misc.xml)

undead.xml

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.

If subclass tags not possible comments can be used in place of them in the traditional method:

<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>