Stendhal/Creature Organization/Examples: Difference between revisions

Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
 
(829 intermediate revisions by the same user not shown)
Line 73:
 
== 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 ===
Line 162 ⟶ 164:
** <creature>thing</creature>
** <creature>winged blurble</creature>
** <creature>imperial experiment</creature> & <creature>imperial mutant</creature>
 
* slime (possibly in its own class)
Line 221 ⟶ 224:
* ice
** <creature>ice elemental</creature>
** <creature>ice golem</creature>
** <creature>ice giant</creature>
 
Line 282 ⟶ 286:
** <creature>giant</creature>, <creature>elder giant</creature>, <creature>master giant</creature>
** <creature>black giant</creature> (alternative subclass "dark")
 
* ice
** <creature>ice giant</creature> (alternative subclass "elemental)
 
* imperial
Line 294 ⟶ 295:
* madaram
** <creature>kasarkutominubat</creature>
 
* misc
** <creature>emperor dalmung</creature> (not sure where this belongs)
 
=== gnome.xml ===
Line 306 ⟶ 304:
** <creature>infantry gnome</creature>
** <creature>cavalryman gnome</creature>
 
=== goblin.xml ===
 
* goblin
** <creature>goblin</creature>
** <creature>veteran goblin</creature>
** <creature>soldier goblin</creature>
 
=== human.xml ===
Line 368 ⟶ 373:
** <creature>imperial demon servant</creature> & <creature>imperial demon lord</creature> (optionally demon.xml)
** <creature>imperial elite guardian</creature>
** <creature>imperial experiment</creature> & <creature>imperial mutant</creature>
** <creature>imperial general</creature>
** <creature>imperial general giant</creature> (optionally giant.xml)
Line 397 ⟶ 401:
** <creature>madaram buster blader</creature>
** chess pieces
 
* misc
** <creature>emperor dalmung</creature> (not sure where this belongs)
 
* mithrilbourgh.xml
Line 411 ⟶ 418:
** <creature>devil monk</creature>
** <creature>monk</creature> & <creature>darkmonk</creature>
 
* pirate (not activated)
** pirate
** pirate wench
** buccaneer
** smuggler
** evil pirate
** pirate leader
 
* risecia
Line 499 ⟶ 514:
** <creature>mountain orc</creature>, <creature>mountain orc hunter</creature>, <creature>mountain orc warrior</creature> & <creature>mountain orc chief</creature>
 
=== 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
** <creature>cyclops</creature> (optionally troll.xml or misc.xml)
 
* ogre
Line 524 ⟶ 540:
 
* lich
** <creature>lich</creature>j
** <creature>high lich</creature>
** <creature>dead lich</creature>
Line 535 ⟶ 551:
** <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
Line 544 ⟶ 568:
** <creature>black death</creature>
** <creature>golden death</creature>
 
* skeleton
** <creature>skeleton</creature>
** <creature>tiny skelly</creature>
** <creature>warrior skeleton</creature>
** <creature>elder skeleton</creature>
** <creature>demon skeleton</creature>
** <creature>gashadokuro</creature>
 
* vampire
Line 569 ⟶ 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.
 
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>
<creatures>
Line 598 ⟶ 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>
 
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>
<creatures>
Line 624 ⟶ 640:
</creatures>
</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 ]]