Stendhal/Creature Organization/Examples

From Arianne
Jump to navigation Jump to search

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

This organization has been implemented in CVS. The reorganization does not break client/server compatibility, but does cause some inconsistencies with logic tilesets and sprite locations. Below are some suggestions for reorganizing logic tilesets. However, changing those will break compatibility. Reorganizing logic tilesets and spritesheet locations will need to be done a little at a time to not create a huge incompatibility between the server and client.



(***) Unsure about these options

angel.xml

animal.xml

beast.xml ***

demon.xml

dragon.xml

dwarf.xml

elemental.xml

elf.xml

giant.xml

gnome.xml

goblin.xml

human.xml

  • pirate (not activated)
    • pirate
    • pirate wench
    • buccaneer
    • smuggler
    • evil pirate
    • pirate leader

humanoid.xml ***

hybrid.xml

oni.xml

orc.xml

troll.xml ***

Perhaps each of these should have its own category or placed in hybrid or humanoid?

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 This method will not be used. There is currently no use for using a subclass tag.

<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: This is how the reorganizations is laid out. It is the same as before with comments to separate subclasses within the creature.xml.

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

Organization of logic tilesets

The logic tilesets can either be kept in the currently used directory and just refactored to match the creature.xml files. Or the tilesets can be placed in a subdirectory of "tileset/logic/creature". For example: amazon, which is a subclass of human, would be located in "tileset/logic/creature/human/amazon.png". NOTE: classes with many subclasses can be divided up.

  • tileset/logic/creature/

angel

  • angel.png
    • Notes: New tileset.
    • Logic creature angel.png

animal

  • animal_arachnid.png
    • Notes: New tileset.
    • Logic creature animal arachnid.png
  • animal_crustacean.png
    • Notes: New tileset. Possibly merge into animal.png.
    • Logic creature animal crustacean.png
  • animal_fowl.png
    • Notes: New tileset.
    • Logic creature animal fowl.png
  • animal_insect.png
    • Notes: New tileset. Possibly merge into animal.png.
    • Logic creature animal insect.png
  • animal_mammal.png
    • Notes: New tileset.
    • Logic creature animal mammal.png
  • animal_mythical.png
    • Notes: Renamed tileset.
    • Logic creature animal mythical.png
  • animal_reptile.png
    • Notes: New tileset.
    • Logic creature animal reptile.png

beast

  • beast_beholder.png
    • Notes: Renamed tileset.
    • Logic creature beast beholder.png
  • beast_gargoyle.png
    • Notes: Renamed tileset.
    • Logic creature beast gargoyle.png
  • beast_misc.png
    • Notes: New tileset.
    • Logic creature beast misc.png
  • beast_mutant.png
    • Notes: New tileset.
    • Logic creature beast mutant.png
  • beast_slime.png
    • Notes: New tileset.
    • Logic creature beast slime.png

chess pieces

  • chess.png
    • Logic creature chess.png

demon

dragon

  • dragon.png
    • Notes: New tileset.
    • Logic creature dragon.png

dwarf

  • duergar.png
    • Logic creature dwarf duergar.png
  • giant_dwarf.png
    • Notes: New tileset.
    • Logic creature dwarf giant.png
  • mountain_dwarf.png
    • Logic tileset dwarf mountain.png

elemental

  • elemental.png
    • Notes: New tileset.
    • Logic creature elemental.png

elf

  • albino_elf.png
    • Logic creature albino elf.png
  • dark_elf.png
    • Logic creature dark elf.png
  • elf.png
    • Logic creature elf.png

giant

  • giant.png
    • Notes: New tileset.
    • Logic creature giant.png

gnome

  • gnome.png
    • Logic creature gnome.png

goblin

  • goblin.png
    • Logic creature goblin.png

human

  • human_amazon.png
    • Notes: Renamed tileset.
    • Logic creature human amazon.png
  • human_assassin.png
    • Notes: Renamed tileset.
    • Logic creature human assassin.png
  • human_barbarian.png
    • Logic creature human barbarian.png
  • human_blordrough.png
    • Notes: Renamed tileset.
    • Logic creature human blordrough.png
  • human_cannibal.png
    • Notes: New tileset.
    • Logic creature human cannibal.png
  • human_chaos.png
    • Notes: Renamed tileset.
    • Logic creature human chaos.png
  • human_mithrilbourgh.png
    • Notes: Renamed tileset.
    • Logic creature human mithrilbourgh.png
  • human_monk
    • Notes: New tileset.
    • Logic creature human monk.png
  • human_pirate
    • Notes: This category has no logic tileset yet.
  • human_risecia.png
    • Notes: New tileset.
    • Logic creature human risecia.png
  • human_wizard.png
    • Notes: Renamed tileset.
    • Logic creature human wizard.png

humanoid

  • humanoid_aruthon.png
    • Notes: New tileset.
    • Logic creature humanoid aruthon.png
  • humanoid_fairy.png
    • Notes: New tileset.
    • Logic creature humanoid fairy.png
  • humanoid_misc.png
    • Notes: New tileset. Possibly merge into humanoid.png.
    • Logic creature humanoid misc.png
  • humanoid_mohiko.png
    • Notes: New tileset.
    • Logic creature humanoid mohiko.png
  • humanoid_roohako.png
    • Notes: New tileset. Possibly merge into humanoid.png.
    • Logic creature humanoid roohako.png

hybrid

  • hybrid_arachnid.png
    • Notes: New tileset. Possibly merge into hybrid.png.
    • Logic creature hybrid arachnid.png
  • hybrid_feline.png
    • Notes: New tileset. Possibly merge into hybrid.png.
    • Logic creature hybrid feline.png
  • hybrid_frogman.png
    • Notes: Renamed tileset.
    • Logic creature hybrid frogman.png
  • hybrid_kobold.png
    • Notes: Renamed tileset.
    • Logic creature hybrid kobold.png
  • hybrid_minotaur.png
    • Notes: Renamed tileset.
    • Logic creature hybrid minotaur.png
  • hybrid_naga.png
    • Notes: Renamed tileset.
    • Logic creature hybrid naga.png
  • hybrid_ratfolk.png
    • Notes: Renamed tileset.
    • Logic creature hybrid ratfolk.png
  • hybrid_sheepman.png
    • Notes: Renamed tileset.
    • Logic creature hybrid sheepman.png
  • hybrid_werewolf.png
    • Notes: New tileset. Possibly merge into hybrid.png.
    • Logic creature hybrid werewolf.png

oni

  • oni.png
    • Logic creature oni.png

orc

  • orc.png
    • Logic creature orc.png
  • mountain_orc.png
    • Logic creature mountain orc.png

troll

  • cyclops.png
    • Notes: New tileset (tile ID is the same). Possibly make cyclops category.
    • Logic creature cyclops.png
  • ogre.png
    • Notes: New tileset. possibly make ogre category.
    • Logic creature ogre.png
  • troll.png
    • Logic creature troll.png

undead

  • undead_animal.png
    • Notes: New tileset. Possibly merge into undead.png.
    • Logic creature undead animal.png
  • undead_fallen.png
    • Notes: New tileset. Possibly merge into undead.png.
    • Logic creature undead fallen.png
  • undead_lich.png
    • Notes: New tileset.
    • Logic creature undead lich.png
  • undead_misc.png
    • Notes: New tileset. Possibly merge into undead.png.
    • Logic creature undead misc.png
  • undead_mummy.png
    • Notes: Renamed tileset.
    • Logic creature undead mummy.png
  • undead_skeleton.png
    • Notes: New tileset.
    • Logic creature undead skeleton.png
  • undead_specter.png
    • Notes: New tileset.
    • Logic creature undead specter.png
  • undead_vampire.png
    • Notes: Renamed tileset.
    • Logic creature undead vampire.png
  • undead_zombie.png
    • Notes: New tileset.
    • Logic creature undead zombie.png