Stendhal/Creature Organization/Examples: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
No edit summary
Line 1: Line 1:
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.
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: Reduce number of creature categories ==
== Option 1: Very generalized categories ==


=== animal.xml ===
=== animal.xml ===
Line 72: Line 72:
** <creature>zombie rat</creature> (optional)
** <creature>zombie rat</creature> (optional)


== Option 2: Create more creature categories ==
== Option 2: More distinction between classes ==


=== angel.xml ===
=== angel.xml ===
Line 231: Line 231:
** <creature>elf wizard</creature>
** <creature>elf wizard</creature>
** <creature>elf bodyguard</creature>
** <creature>elf bodyguard</creature>

=== gargoyle.xml ===

<i><span style="color:orange">Optionally leave as is or merge with golem.xml</span></i>


=== giant ===
=== giant ===
Line 256: Line 252:
* madaram
* madaram
** <creature>kasarkutominubat</creature>
** <creature>kasarkutominubat</creature>

=== goblin.xml ===

<i><span style="color:blue">No changes</span></i>

=== golem.xml ===


=== human.xml ===
=== human.xml ===
Line 333: Line 323:


* madaram
* madaram
<i><span style="color:orange">Optionallay move <creature>kasarkutominubat</creature> to giant.xml</span></i>
** <creature>madaram archer</creature>
** <creature>madaram peasant</creature>
** <creature>madaram trooper</creature>
** <creature>madaram soldier</creature>
** <creature>madaram healer</healer>
** <creature>madaram axeman</healer>
** <creature>madaram queen</creature>
** <creature>madaram hero</creature>
** <creature>madaram windwalker</creature> (alternative class "wind")
** <creature>madaram cavalry</creature>
** <creature>madaram stalker</creature>
** <creature>madaram buster blader</creature>
** chess pieces


* mithrilbourgh.xml
* mithrilbourgh.xml
Line 354: Line 356:
** <creature>risecia swordsman</creature>
** <creature>risecia swordsman</creature>
** <creature>Chief Falatheen of the Risecia</creature>
** <creature>Chief Falatheen of the Risecia</creature>

=== hybrid.xml ===

* frogman
** <creature>frogman</creature>
** <creature>wizard frogman</creature>
** <creature>elite frogman</creature>

* kobold
** <creature>kobold</creature>
** <creature>archer kobold</creature>
** <creature>soldier kobold</creature>
** <creature>veteran kobold</creature>
** <creature>leader kobold</creature>

* minotaur
** <creature>minotaur</creature>
** <creature>minotaur king</creature>

* naga
** <creature>naga</creature>, <creature>high naga</creature>, <creature>armed naga</creature>
** <creature>lamia</creature>


=== misc.xml ===
=== misc.xml ===
Line 434: Line 414:
* mountain orc
* mountain orc
** <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 ===

* cyclops
** <creature>cyclops</creature>
* troll
** <creature>troll</creature>, <creature>red troll</creature> & <creature>cave troll</creature>


=== undead.xml ===
=== undead.xml ===
Line 480: Line 453:
The following can either have their own xml file or be put into a category such as beast, hybrid or humanoid.
The following can either have their own xml file or be put into a category such as beast, hybrid or humanoid.


=== beast.xml ===
=== beast? ===


* beholder
* beholder
Line 486: Line 459:
** <creature>beholder</creature>
** <creature>beholder</creature>
** <creature>elder beholder</creature>
** <creature>elder beholder</creature>

* cyclops
** <creature>cyclops</creature>

* gargoyle
** <creature>gargoyle</creature>
** <creature>elder gargoyle</creature>
** <creature>dark gargoyle</creature>
** <creature>venom gargoyle</creature>, goblin, golem


* slime
* slime
Line 493: Line 475:
* <creature>twilight slime</creature>
* <creature>twilight slime</creature>


* troll
=== humanoid.xml ===
** <creature>troll</creature>
** <creature>red troll</creature>
** <creature>cave troll</creature>

=== humanoid? ===


* aruthon
* aruthon
Line 511: Line 498:
** <creature>oni king</creature>
** <creature>oni king</creature>
** <creature>oni queen</creature>
** <creature>oni queen</creature>

=== hybrid? ===

* frogman
** <creature>frogman</creature>
** <creature>wizard frogman</creature>
** <creature>elite frogman</creature>

* kobold
** <creature>kobold</creature>
** <creature>archer kobold</creature>
** <creature>soldier kobold</creature>
** <creature>veteran kobold</creature>
** <creature>leader kobold</creature>

* minotaur
** <creature>minotaur</creature>
** <creature>minotaur king</creature>

* naga
** <creature>naga</creature>, <creature>high naga</creature>, <creature>armed naga</creature>
** <creature>lamia</creature>


== Examples ==
== Examples ==

Revision as of 17:13, 4 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

undead.xml

Option 2: More distinction between classes

angel.xml

animal.xml

demon.xml

dragon.xml

dwarf.xml

elemental.xml

elf.xml

giant

  • ice

human.xml

  • chaos

Optionally merge chaos green dragonrider & chaos red dragonrider

misc.xml

mythical.xml

  • ratfolk

ratman ratwoman archrat

ogre.xml

orc.xml

undead.xml

Other options (unsure)

The following can either have their own xml file or be put into a category such as beast, hybrid or humanoid.

beast?

humanoid?

hybrid?

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

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

Comments can be used in place of the "subclass" tag:

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