Civilizations

From BotF2-Wiki
Revision as of 14:19, 29 May 2014 by Reginald (Talk | contribs)

Jump to: navigation, search

Intro

Civilizations are defined by \Resources\Data\Civilizations.xml.

bitbucket: https://bitbucket.org/mstrobel/BotF2/src/4bd3c04bb439e29cb543e1f020819b8df2e70bf4/Mainline/BotF2Client/Resources/Data/Civilizations.xml?at=default (24.09.2013)


At \Resources\Images\ only the five Major Races images are stored, which can be seen at Main Page.

File Structure

  • <Civilization Key="FEDERATION">
  • <Race>HUMANS</Race>
  • <ShortName>Federation</ShortName>
  • <LongName>United Federation of Planets</LongName>
  • <DiplomacyReport>The United...</DiplomacyReport>
  • <HomeSystemName>Sol</HomeSystemName>
  • <Color>Blue</Color>
  • <HomeQuadrant>Alpha</HomeQuadrant>
  • <CivilizationType>Empire</CivilizationType>
  • <TechCurve>TechCurve6</TechCurve>
  • </Civilization>

More

SupremacyCore\Entities\Civilization.cs


   public enum CivilizationType : byte
       MinorPower = 0,
       DevelopingPower,
       ExpandingPower,
       Empire
   public enum CivTraits : ushort
       Aggressive = 0x0001,
       Charismatic = 0x0002,
       Creative = 0x0004,
       Expansive = 0x0008,
       Financial = 0x0010,
       Imperialist = 0x0020,
       Industrious = 0x0040,
       Organized = 0x0080,
       Philosophical = 0x0100,
       Protective = 0x0200,
       Spiritual = 0x0400