XML/Faction

From MegaGlest
Revision as of 18:11, 22 February 2008 by Martiño (talk) (Faction name.xml moved to Faction XML)
Jump to: navigation, search

<?xml version="1.0" standalone="no"?>

  • <faction>
    • <starting-resources>
      • <resource name="filename" amount="#"/> The XML filename (.xml extension not needed) and amount of all starting resources for the faction.
    • </starting-resources>
    • <starting-units>
      • <unit name="castle" amount="#"/> The XML filename (.xml extension not needed) and amount of all starting units for the faction.
    • </starting-units>
    • < music value="true" path="../../common/music_tech.ogg"/> Whether any music is to be played and the path to the file
  • </faction>