Stendhal/Creature Organization/Examples: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
 
(892 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 88: Line 90:


=== animal.xml ===
=== animal.xml ===

* aquatic
** <creature>crab</creature>


* arachnid
* arachnid
** <creature>giant spider</creature>
** <creature>giant spider</creature>
** <creature>spider</creature> & <creature>poisonous spider</creature>
** <creature>spider</creature> & <creature>poisonous spider</creature>

* crustacean
** <creature>crab</creature>


* fowl
* fowl
Line 152: Line 154:
* misc
* misc
** <creature>mimic</creature>
** <creature>mimic</creature>
** <creature>necrosophia</creature> (alternate class "undead.xml", "hybrid.xml"?)
** <creature>snarfkin</creature>
** <creature>snarfkin</creature>
** <creature>xenocium</creature>


* mutant
* mutant
Line 161: Line 163:
** <creature>grobble monster</creature>
** <creature>grobble monster</creature>
** <creature>thing</creature>
** <creature>thing</creature>
** <creature>werewolf</creature>
** <creature>winged blurble</creature>
** <creature>winged blurble</creature>
** <creature>xenocium</creature>
** <creature>imperial experiment</creature> & <creature>imperial mutant</creature>


* slime (possibly in its own class)
* slime (possibly in its own class)
Line 174: Line 175:


* demon
* demon
** <creature>demon</creature>
** <creature>devil queen</creature>
** <creature>violet avenger</creature>
** <creature>violet avenger</creature>
** <creature>devil queen</creature>
** <creature>demon</creature>
** <creature>imperial demon servant</creature> & <creature>imperial demon lord</creature> (alternate subclass "imperial")
** <creature>imperial demon servant</creature> & <creature>imperial demon lord</creature> (alternate subclass "imperial")
** <creature>balrog</creature> (alternate subclass "giant")
** <creature>balrog</creature> (alternate subclass "giant")
Line 223: Line 224:
* ice
* ice
** <creature>ice elemental</creature>
** <creature>ice elemental</creature>
** <creature>ice golem</creature>
** <creature>ice giant</creature>
** <creature>ice giant</creature>


Line 284: Line 286:
** <creature>giant</creature>, <creature>elder giant</creature>, <creature>master giant</creature>
** <creature>giant</creature>, <creature>elder giant</creature>, <creature>master giant</creature>
** <creature>black giant</creature> (alternative subclass "dark")
** <creature>black giant</creature> (alternative subclass "dark")

* ice
** <creature>ice giant</creature> (alternative subclass "elemental)


* imperial
* imperial
Line 296: Line 295:
* madaram
* madaram
** <creature>kasarkutominubat</creature>
** <creature>kasarkutominubat</creature>

* misc
** <creature>emperor dalmung</creature> (not sure where this belongs)


=== gnome.xml ===
=== gnome.xml ===
Line 308: Line 304:
** <creature>infantry gnome</creature>
** <creature>infantry gnome</creature>
** <creature>cavalryman gnome</creature>
** <creature>cavalryman gnome</creature>

=== goblin.xml ===

* goblin
** <creature>goblin</creature>
** <creature>veteran goblin</creature>
** <creature>soldier goblin</creature>


=== human.xml ===
=== human.xml ===
Line 370: Line 373:
** <creature>imperial demon servant</creature> & <creature>imperial demon lord</creature> (optionally demon.xml)
** <creature>imperial demon servant</creature> & <creature>imperial demon lord</creature> (optionally demon.xml)
** <creature>imperial elite guardian</creature>
** <creature>imperial elite guardian</creature>
** <creature>imperial experiment</creature> & <creature>imperial mutant</creature>
** <creature>imperial general</creature>
** <creature>imperial general</creature>
** <creature>imperial general giant</creature> (optionally giant.xml)
** <creature>imperial general giant</creature> (optionally giant.xml)
Line 399: Line 401:
** <creature>madaram buster blader</creature>
** <creature>madaram buster blader</creature>
** chess pieces
** chess pieces

* misc
** <creature>emperor dalmung</creature> (not sure where this belongs)


* mithrilbourgh.xml
* mithrilbourgh.xml
Line 413: Line 418:
** <creature>devil monk</creature>
** <creature>devil monk</creature>
** <creature>monk</creature> & <creature>darkmonk</creature>
** <creature>monk</creature> & <creature>darkmonk</creature>

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


* risecia
* risecia
Line 481: Line 494:
** <creature>elder sheepman</creature>
** <creature>elder sheepman</creature>
** <creature>elite sheepman</creature>
** <creature>elite sheepman</creature>

* werewolf
** <creature>werewolf</creature>


=== oni.xml ===
=== oni.xml ===
Line 498: 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 516: Line 533:
** <creature>zombie rat</creature>
** <creature>zombie rat</creature>
** <creature>ghost hound</creature>
** <creature>ghost hound</creature>

* fallen
** <creature>fallen warrior</creature>
** <creature>fallen priest</creature>
** <creature>fallen high priest</creature>


* lich
* lich
** <creature>lich</creature>, <creature>high lich</creature> & <creature>dead lich</creature>
** <creature>lich</creature>
** <creature>high lich</creature>
** <creature>dead lich</creature>


* misc
* misc
** <creature>death knight</creature> (optionally merged into undead.xml)
** <creature>death knight</creature>
** <creature>fallen warrior</creature>, <creature>fallen priest</creature> & <creature>fallen high priest</creature>
** <creature>necrosophia</creature>


* mummy
* mummy
** <creature>mummy</creature> & <creature>royal mummy</creature>
** <creature>mummy</creature>
** <creature>royal mummy</creature>

* skeleton
** <creature>skeleton</creature>
** <creature>tiny skelly</creature>
** <creature>warrior skeleton</creature>
** <creature>elder skeleton</creature>
** <creature>demon skeleton</creature>
** <creature>gashadokuro</creature>


* specter
* specter
** <creature>death</creature>, <creature>black death</creature> & <creature>golden death</creature>
** <creature>ghost</creature>
** <creature>ghost</creature>
** <creature>death</creature>
** <creature>green phantom</creature>
** <creature>green phantom</creature>
** <creature>invisible man</creature> & <creature>incorporeal armor</creature>
** <creature>invisible man</creature>
** <creature>incorporeal armor</creature>

** <creature>black death</creature>
* skeleton
** <creature>gashadokuro</creature>
** <creature>golden death</creature>
** <creature>elder skeleton</creature>
** <creature>skeleton</creature>, <creature>warrior skeleton</creature> & <creature>demon skeleton</creature>
** <creature>tiny skelly</creature>


* vampire
* vampire
** <creature>vampire bride</creature>, <creature>vampirette</creature> & <creature>vampire lord</creature>
** <creature>vampire bride</creature>
** <creature>vampirette</creature>
** <creature>vampire lord</creature>


* zombie
* zombie
** <creature>bloody zombie</creature>, <creature>zombie</creature>, <creature>rotten zombie</creature> & <creature>headless monster</creature>
** <creature>bloody zombie</creature>
** <creature>zombie</creature>
** <creature>rotten zombie</creature>
** <creature>headless monster</creature>
** myling (not activated)
** myling (not activated)


Line 550: 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:red">This method will not be used. There is currently no use for using a subclass tag.</span></i></b>
Example: undead.xml
<pre>
<pre>
<creatures>
<creatures>
Line 579: 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 605: 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 ]]