Stendhal/Creature Organization/Examples: Difference between revisions

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

Revision as of 16:35, 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: Reduce number of creature categories

animal.xml

human.xml

hybrid.xml

Dragon

undead.xml

Option 2: Create more creature categories

angel.xml

animal.xml

demon.xml

dragon.xml

dwarf.xml

elemental.xml

elf.xml

gargoyle.xml

Optionally leave as is or merge with golem.xml

giant

  • ice

goblin.xml

No changes

golem.xml

human.xml

  • chaos

Optionally merge chaos green dragonrider & chaos red dragonrider

  • madaram

Optionallay move kasarkutominubat to giant.xml

hybrid.xml

misc.xml

mythical.xml

  • ratfolk

ratman ratwoman archrat

ogre.xml

oni.xml

No changes

orc.xml

slime.xml

troll.xml

undead.xml

Other options

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

humanoid.xml

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

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>