Stendhal/Creature Organization/Examples: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
 
(735 intermediate revisions by the same user not shown)
Line 73: Line 73:


== Option 2: More distinction between classes ==
== Option 2: More distinction between classes ==
<b><span style="color:blue">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 <i>will</i> 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.</span></b>
(***) Unsure about these options

<br><br>(***) Unsure about these options


=== angel.xml ===
=== angel.xml ===
Line 512: Line 514:
** <creature>mountain orc</creature>, <creature>mountain orc hunter</creature>, <creature>mountain orc warrior</creature> & <creature>mountain orc chief</creature>
** <creature>mountain orc</creature>, <creature>mountain orc hunter</creature>, <creature>mountain orc warrior</creature> & <creature>mountain orc chief</creature>


=== troll.xml ===
=== troll.xml *** ===


<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> (optionally troll.xml or misc.xml)
** <creature>cyclops</creature>


* ogre
* ogre
Line 582: Line 585:
* 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.
* 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 <b><i><span style="color:blue">This is how the reorganizations is laid out. It is the same as before with comments to separate subclasses within the creature.xml.</span></i></b>
Example: undead.xml <b><i><span style="color:red">This method will not be used. There is currently no use for using a subclass tag.</span></i></b>
<b><i><span style="color:red">This method will not be used. There is currently no use for using a subclass tag.</span></i></b>
<pre>
<pre>
<creatures>
<creatures>
Line 612: Line 614:
In the above example creatures <creature>skeleton</creature> & <creature>warrior skeleton</creature> would be of class ''undead'' and subclass ''skeleton'' while <creature>zombie</creature> & <creature>rotten zombie</creature> would be class ''undead'' and subclass ''zombie''.<br><br>
In the above example creatures <creature>skeleton</creature> & <creature>warrior skeleton</creature> would be of class ''undead'' and subclass ''skeleton'' while <creature>zombie</creature> & <creature>rotten zombie</creature> would be class ''undead'' and subclass ''zombie''.<br><br>


If subclass tags not possible comments can be used in place of them in the traditional method:
If subclass tags not possible comments can be used in place of them in the traditional method: <b><i><span style="color:blue">This is how the reorganizations is laid out. It is the same as before with comments to separate subclasses within the creature.xml.</span></i></b>
<pre>
<pre>
<creatures>
<creatures>
Line 638: Line 640:
</creatures>
</creatures>
</pre>
</pre>

== 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
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_angel.png ]]

=== animal ===

* animal_arachnid.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_animal_arachnid.png ]]

* animal_crustacean.png
** <b>Notes: <span style="color:red">New tileset. ''Possibly merge into animal.png.''</span></b>
** [[ File:Logic_creature_animal_crustacean.png ]]

* animal_fowl.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_animal_fowl.png ]]

* animal_insect.png
** <b>Notes: <span style="color:red">New tileset. ''Possibly merge into animal.png.''</span></b>
** [[ File:Logic_creature_animal_insect.png ]]

* animal_mammal.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_animal_mammal.png ]]

* animal_mythical.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_animal_mythical.png ]]

* animal_reptile.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_animal_reptile.png ]]

=== beast ===


* beast_beholder.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_beast_beholder.png ]]

* beast_gargoyle.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_beast_gargoyle.png ]]

* beast_misc.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_beast_misc.png ]]

* beast_mutant.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_beast_mutant.png ]]

* beast_slime.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_beast_slime.png ]]

=== chess pieces ===

* chess.png
** [[ File:Logic_creature_chess.png ]]

=== demon ===

* demon.png
** <b>Notes: <span style="color:red"><creature>violet avenger</creature>, <creature>devil queen</creature> & <creature>balrog</creature> added.</span></b>
** [[ File:Logic_creature_demon.png ]]

=== dragon ===

* dragon.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_dragon.png ]]

=== dwarf ===

* duergar.png
** [[ File:Logic_creature_dwarf_duergar.png ]]

* dwarf.png
** <b>Notes: <span style="color:red">Removed <creature>giant dwarf</creature>, <creature>Dhohr Nuggetcutter</creature> & <creature>Lord Durin</creature>.</span></b>
** [[ File:Logic_creature_dwarf.png ]]

* giant_dwarf.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_dwarf_giant.png ]]

* mountain_dwarf.png
** [[ File:Logic_tileset_dwarf_mountain.png ]]

=== elemental ===

* elemental.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_elemental.png ]]

=== elf ===

* albino_elf.png
** [[ File:Logic_creature_albino_elf.png ]]

* dark_elf.png
** [[ File:Logic_creature_dark_elf.png ]]

* elf.png
** [[ File:Logic_creature_elf.png ]]

=== giant ===

* giant.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_giant.png ]]

=== gnome ===

* gnome.png
** [[ File:Logic_creature_gnome.png ]]

=== goblin ===

* goblin.png
** [[ File:Logic_creature_goblin.png ]]

=== human ===

* human_amazon.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_human_amazon.png ]]

* human_assassin.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_human_assassin.png ]]

* human_barbarian.png
** [[ File:Logic_creature_human_barbarian.png ]]

* human_blordrough.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_human_blordrough.png ]]

* human_cannibal.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_human_cannibal.png ]]

* human_chaos.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_human_chaos.png ]]

* human_imperial.png
** <b>Notes: <span style="color:red"><creature>imperial veteran</creature> added.</span></b>
** [[ File:Logic_creature_human_imperial.png ]]

* human_kalavan.png
** <b>Notes: <span style="color:red"><creature>imperial veteran</creature> removed. <creature>kalavan wisewoman|wisewoman</creature> tile ID has changed from 4 to 0.</span></b>
** [[ File:Logic_creature_human_kalavan.png ]]

* human_madaram.png
** <b>Notes: <span style="color:red"><creature>kasarkutominubat</creature> removed. <creature>madaram windwalker|windwalker</creature> tile ID changed from 12 to 0.</span></b>
** [[ File:Logic_creature_human_madaram.png ]]

* human_mithrilbourgh.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_human_mithrilbourgh.png ]]

* human_monk
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_human_monk.png ]]

* human_pirate
** <b>Notes: <i><span style="color:orange">This category has no logic tileset yet.</span></i></b>

* human_risecia.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_human_risecia.png ]]

* human_wizard.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_human_wizard.png ]]

=== humanoid ===

* humanoid_aruthon.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_humanoid_aruthon.png ]]

* humanoid_fairy.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_humanoid_fairy.png ]]

* humanoid_misc.png
** <b>Notes: <span style="color:red">New tileset. ''Possibly merge into humanoid.png.''</span></b>
** [[ File:Logic_creature_humanoid_misc.png ]]

* humanoid_mohiko.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_humanoid_mohiko.png ]]

* humanoid_roohako.png
** <b>Notes: <span style="color:red">New tileset. ''Possibly merge into humanoid.png.''</span></b>
** [[ File:Logic_creature_humanoid_roohako.png ]]

=== hybrid ===

* hybrid_arachnid.png
** <b>Notes: <span style="color:red">New tileset. <i>Possibly merge into hybrid.png.</i></span></b>
** [[ File:Logic_creature_hybrid_arachnid.png ]]

* hybrid_feline.png
** <b>Notes: <span style="color:red">New tileset. <i>Possibly merge into hybrid.png.</i></span></b>
** [[ File:Logic_creature_hybrid_feline.png ]]

* hybrid_frogman.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_hybrid_frogman.png ]]

* hybrid_kobold.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_hybrid_kobold.png ]]

* hybrid_minotaur.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_hybrid_minotaur.png ]]

* hybrid_naga.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_hybrid_naga.png ]]

* hybrid_ratfolk.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_hybrid_ratfolk.png ]]

* hybrid_sheepman.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_hybrid_sheepman.png ]]

* hybrid_werewolf.png
** <b>Notes: <span style="color:red">New tileset. <i>Possibly merge into hybrid.png.</i></span></b>
** [[ File:Logic_creature_hybrid_werewolf.png ]]

=== oni ===

* oni.png
** [[ File:Logic_creature_oni.png ]]

=== orc ===

* orc.png
** [[ File:Logic_creature_orc.png ]]

* mountain_orc.png
** [[ File:Logic_creature_mountain_orc.png ]]

=== troll ===

* cyclops.png
** <b>Notes: <span style="color:red">New tileset (tile ID is the same). ''Possibly make cyclops category.''</span></b>
** [[ File:Logic_creature_cyclops.png ]]

* ogre.png
** <b>Notes: <span style="color:red">New tileset. ''possibly make ogre category.''</span></b>
** [[ File:Logic_creature_ogre.png ]]

* troll.png
** [[ File:Logic_creature_troll.png ]]

=== undead ===

* undead_animal.png
** <b>Notes: <span style="color:red">New tileset. ''Possibly merge into undead.png''.</span></b>
** [[ File:Logic_creature_undead_animal.png ]]

* undead_fallen.png
** <b>Notes: <span style="color:red">New tileset. ''Possibly merge into undead.png''.</span></b>
** [[ File:Logic_creature_undead_fallen.png ]]

* undead_lich.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_undead_lich.png ]]

* undead_misc.png
** <b>Notes: <span style="color:red">New tileset. ''Possibly merge into undead.png''.</span></b>
** [[ File:Logic_creature_undead_misc.png ]]

* undead_mummy.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_undead_mummy.png ]]

* undead_skeleton.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_undead_skeleton.png ]]

* undead_specter.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_undead_specter.png ]]

* undead_vampire.png
** <b>Notes: <span style="color:red">Renamed tileset.</span></b>
** [[ File:Logic_creature_undead_vampire.png ]]

* undead_zombie.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_undead_zombie.png ]]