Stendhal/Creature Organization/Examples: Difference between revisions

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


== Other options (unsure) ==
== Other options (unsure) ==
Having trouble deciding on the following.
The following can either have their own xml file or be put into a category such as beast, hybrid or humanoid.


=== beast? ===
=== beast? ===


* beholder
* beholder (possibly in its own class)
** <creature>young beholder</creature>
** <creature>young beholder</creature>
** <creature>beholder</creature>
** <creature>beholder</creature>
** <creature>elder beholder</creature>
** <creature>elder beholder</creature>


* cyclops
* cyclops (possibly in its own class)
** <creature>cyclops</creature>
** <creature>cyclops</creature>


* gargoyle
* gargoyle (possibly in its own class)
** <creature>gargoyle</creature>
** <creature>gargoyle</creature>
** <creature>elder gargoyle</creature>
** <creature>elder gargoyle</creature>
Line 469: Line 469:
** <creature>xenocium</creature>
** <creature>xenocium</creature>


* slime (possibly in its own class)
* slime
** <creature>green slime</creature>
** <creature>green slime</creature>
** <creature>brown slime</creature>
** <creature>brown slime</creature>
** <creature>black slime</creature>
** <creature>black slime</creature>
** <creature>twilight slime</creature>
** <creature>twilight slime</creature>

* troll
** <creature>troll</creature>
** <creature>red troll</creature>
** <creature>cave troll</creature>


=== humanoid? ===
=== humanoid? ===

Revision as of 17:51, 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

angel.xml

animal.xml

demon.xml

dragon.xml

dwarf.xml

elemental.xml

elf.xml

giant

  • ice

human.xml

mythical.xml

  • ratfolk

ratman ratwoman archrat

ogre.xml

orc.xml

undead.xml

Other options (unsure)

Having trouble deciding on the following.

beast?

  • cyclops (possibly in its own class)

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>