Stendhal/Creature Organization/Examples: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
 
(9 intermediate revisions by the same user not shown)
Line 516: Line 516:
=== troll.xml *** ===
=== troll.xml *** ===


<b><i><span style="color:orange">Perhaps each of these should have its own category or placed in hybrid?</span></i></b>
<b><i><span style="color:orange">Perhaps each of these should have its own category or placed in hybrid or humanoid?</span></i></b>
* cyclops
* cyclops
** <creature>cyclops</creature>
** <creature>cyclops</creature>

Latest revision as of 06:29, 6 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

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.

animal

  • animal_arachnid.png
    • Notes: New tileset.
  • animal_crustacean.png
    • Notes: New tileset. Possibly merge into animal.png.
  • animal_fowl.png
    • Notes: New tileset.
  • animal_insect.png
    • Notes: New tileset. Possibly merge into animal.png.
  • animal_mammal.png
    • Notes: New tileset.
  • animal_mythical.png
    • Notes: Renamed tileset.
  • animal_reptile.png
    • Notes: New tileset.

beast

  • beast_beholder.png
    • Notes: Renamed tileset.
  • beast_gargoyle.png
    • Notes: Renamed tileset.
  • beast_misc.png
    • Notes: New tileset.
  • beast_mutant.png
    • Notes: New tileset.
  • beast_slime.png
    • Notes: New tileset.

chess pieces

  • chess.png

demon

dragon

  • dragon.png
    • Notes: New tileset.

dwarf

  • duergar.png
  • giant_dwarf.png
    • Notes: New tileset.
  • mountain_dwarf.png

elemental

  • elemental.png
    • Notes: New tileset.

elf

  • albino_elf.png
  • dark_elf.png
  • elf.png

giant

  • giant.png
    • Notes: New tileset.

gnome

  • gnome.png

goblin

  • goblin.png

human

  • human_amazon.png
    • Notes: Renamed tileset.
  • human_assassin.png
    • Notes: Renamed tileset.
  • human_barbarian.png
  • human_blordrough.png
    • Notes: Renamed tileset.
  • human_cannibal.png
    • Notes: New tileset.
  • human_chaos.png
    • Notes: Renamed tileset.
  • human_mithrilbourgh.png
    • Notes: Renamed tileset.
  • human_monk
    • Notes: New tileset.
  • human_pirate
    • Notes: This category has no logic tileset yet.
  • human_risecia.png
    • Notes: New tileset.
  • human_wizard.png
    • Notes: Renamed tileset.

humanoid

  • humanoid_aruthon.png
    • Notes: New tileset.
  • humanoid_fairy.png
    • Notes: New tileset.
  • humanoid_misc.png
    • Notes: New tileset. Possibly merge into humanoid.png.
  • humanoid_mohiko.png
    • Notes: New tileset.
  • humanoid_roohako.png
    • Notes: New tileset. Possibly merge into humanoid.png.

hybrid

  • hybrid_arachnid.png
    • Notes: New tileset. Possibly merge into hybrid.png.
  • hybrid_feline.png
    • Notes: New tileset. Possibly merge into hybrid.png.
  • hybrid_frogman.png
    • Notes: Renamed tileset.
  • hybrid_kobold.png
    • Notes: Renamed tileset.
  • hybrid_minotaur.png
    • Notes: Renamed tileset.
  • hybrid_naga.png
    • Notes: Renamed tileset.
  • hybrid_ratfolk.png
    • Notes: Renamed tileset.
  • hybrid_sheepman.png
    • Notes: Renamed tileset.
  • hybrid_werewolf.png
    • Notes: New tileset. Possibly merge into hybrid.png.

oni

  • oni.png

orc

  • orc.png
  • mountain_orc.png

troll

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

undead

  • undead_animal.png
    • Notes: New tileset. Possibly merge into undead.png.
  • undead_fallen.png
    • Notes: New tileset. Possibly merge into undead.png.
  • undead_lich.png
    • Notes: New tileset.
  • undead_misc.png
    • Notes: New tileset. Possibly merge into undead.png.
  • undead_mummy.png
    • Notes: Renamed tileset.
  • undead_skeleton.png
    • Notes: New tileset.
  • undead_specter.png
    • Notes: New tileset.
  • undead_vampire.png
    • Notes: Renamed tileset.
  • undead_zombie.png
    • Notes: New tileset.