Stendhal/Creature Organization/Examples: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
Line 73: Line 73:


== Option 2: More distinction between classes ==
== Option 2: More distinction between classes ==
(*) Unsure about these options


=== angel.xml ===
=== angel.xml ===
Line 367: Line 368:
** <creature>Chief Falatheen of the Risecia</creature>
** <creature>Chief Falatheen of the Risecia</creature>


=== mythical.xml ===
=== mythical.xml* ===


* <creature>centaur</creature>
* <creature>centaur</creature>
Line 376: Line 377:
* <creature>pegasus</creature>
* <creature>pegasus</creature>
* <creature>unicorn</creature>
* <creature>unicorn</creature>

=== hybrid.xml* ===


* ratfolk
* ratfolk
Line 388: Line 391:
** <creature>elite sheepman</creature>
** <creature>elite sheepman</creature>


=== ???.xml ===
=== ???.xml* ===


* cyclops
* cyclops

Revision as of 17:54, 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.xml

undead.xml

Option 2: More distinction between classes

(*) Unsure about these options

angel.xml

animal.xml

demon.xml

dragon.xml

dwarf.xml

elemental.xml

elf.xml

giant

  • ice

human.xml

mythical.xml*

hybrid.xml*

  • ratfolk

ratman ratwoman archrat

???.xml*

orc.xml

undead.xml

Other options (unsure)

Having trouble deciding on the following.

beast?

  • cyclops (possibly in its own class)

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>