Stendhal/Creature Organization/Examples: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
 
(702 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 641: Line 644:


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

* tileset/logic/creature/angel.png
* angel.png
** <creature>baby angel</creature>, <creature>angel</creature>, <creature>fallen angel</creature>, <creature>dark angel</creature>, <creature>archangel</creature>, <creature>dark archangel</creature>
** <b>Notes: <span style="color:red">New tileset.</span></b>
** [[ File:Logic_creature_angel.png ]]


=== animal ===
=== animal ===


* tileset/logic/creature/animal_arachnid.png
* animal_arachnid.png
** <b>Notes: <span style="color:red">New tileset.</span></b>
** <creature>spider</creature>, <creature>poisonous spider</creature>, <creature>giant spider</creature>
** [[ File:Logic_creature_animal_arachnid.png ]]


* tileset/logic/creature/animal_crustacean.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 ]]


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


* tileset/logic/creature/animal_insect.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 ]]


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


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


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


=== beast ===
=== beast ===


* tileset/logic/creature/


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


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


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


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


** beast_slime.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 ===
''<span style="color:orange">Could be merged into one "demon.png".</span>''


* demon.png
* tileset/logic/creature/
** <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 ]]


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


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