Civilizations: Difference between revisions
Jump to navigation
Jump to search
| (5 intermediate revisions by the same user not shown) | |||
| Line 47: | Line 47: | ||
= How it works = | = How it works = | ||
*Civilization: Borg | |||
*Race: Borg | |||
*Shortname: Borg | |||
*LongName: Borg Collective | |||
*HomeSystem: Unimatrix 1 | |||
*StarSystem: | |||
*Civilizations.xml (basics), defines Civilization Key and Race | *Civilizations.xml (basics), defines Civilization Key and Race | ||
*HomeSystems.xml | *HomeSystems.xml Defines HomeSystem and Starting levels | ||
*Races.xml | |||
*TechTrees.xml | |||
*\Tables\MoraleTables.txt | |||
*\Tables\ResourcesTables.txt | |||
Images: | |||
*\Insignias | |||
*\Civilization | |||
*\Races | |||
*\more ? | |||
'''Saved games:''' After changing a complete Empire/UI race saved games for this empire are not compatible, cause the saved game is trying to load the -now deleted- UI stuff. | |||
ONLY FOR CODERS: \Mainline (don't forget to CLEAN Solution) | |||
*Main Themes | |||
*another Themes (ShipyardDock) | |||
*hard coded images...search Entire Solution for UI/BorgCollective (e.g. popup.png) | |||
[[Category:XML-files]] [[Category:Races]] | [[Category:XML-files]] [[Category:Races]] | ||
Latest revision as of 17:56, 11 June 2016
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
How it works
- Civilization: Borg
- Race: Borg
- Shortname: Borg
- LongName: Borg Collective
- HomeSystem: Unimatrix 1
- StarSystem:
- Civilizations.xml (basics), defines Civilization Key and Race
- HomeSystems.xml Defines HomeSystem and Starting levels
- Races.xml
- TechTrees.xml
- \Tables\MoraleTables.txt
- \Tables\ResourcesTables.txt
Images:
- \Insignias
- \Civilization
- \Races
- \more ?
Saved games: After changing a complete Empire/UI race saved games for this empire are not compatible, cause the saved game is trying to load the -now deleted- UI stuff.
ONLY FOR CODERS: \Mainline (don't forget to CLEAN Solution)
- Main Themes
- another Themes (ShipyardDock)
- hard coded images...search Entire Solution for UI/BorgCollective (e.g. popup.png)