TechObjectDatabase.xml
From BotF2-Wiki
Folder: \Data
see also Database
Contents
How to extract for example Ships:
- copy file to Tech_date.xml
- edit with Notepad++
- search for </productionfacilities> -> that's the end of buildings
- mark up to begin of file but let first line untouched (so <pro...until </pro... is marked -> delete it
- at least open with Excel
Adding new items
make always sure you have the same keys in
- TechObjectDatabase.xml
- TextDatabase.xml
- TechTrees.xml
- don't forget the image file
Buildings
data fields:
- Key
- BioTech
- Construction (Tech)
- Energy (Tech)
- Computers (Tech)
- Weapons (Tech)
- Propulsion (Tech)
- BuildCost
- IsUniversallyAvailable
- TRUE (German: "WAHR")
- FALSE (German: "FALSCH")
- EnergyCost
- Restriction
- Type
- Amount
- ObsoletedItem
- UpgradeOption
- Prerequisite
- BuildCondition
Types
Buildings by output:
- Credits + PercentCredits + PercentTotalCredits: Database-List
- Deuterium + PercentDeuterium: Database-List
- RawMaterials(Duranium) + PercentRawMaterials: Database-List
- Dilithium: Database-List
- GrowthRate + PercentGrowthRate: Database-List
- Morale: Database-List
- MoraleEmpireWide: Database-List
- Food + PercentFood: Database-List
- Industry + PercentIndustry: Database-List
- Energy + PercentEnergy: Database-List
- Research: for more see also below "Research" Database-List
more Buildings by output (alphabetically):
- AntiShipDefense + PercentAntiShipDefense: Database-List
- BribeResistance + PercentBribeResistanceEmpireWide: Database-List
- ExternalAffairs + PercentExternalAffairs: Database-List
- Intercept + PercentIntercept: Database-List (no building at the moment)
- InternalAffairs + PercentInternalAffairs: Database-List
- JammingRange: Database-List
- MaxPopulationPerMoonSize: Database-List
- PercentAntiCloak: Database-List
- PercentGroundCombat: Database-List
- PercentGroundDefense: Database-List
- PercentPopulationHealth: Database-List
- PercentScrapping: Database-List
- PercentShipBuilding: Database-List
- PercentShipExperience: Database-List
- Personnel + PercentPersonnelLoyalty + PercentPersonnelTraining: Database-List (no building at the moment)
- PlanetaryShielding + PercentPlanetaryShielding + ShieldPerEnergyTech: Database-List
- Raiding + PercentRaiding: Database-List
- ScanRange: Database-List and NEW: +PercentScanRange (see https://bitbucket.org/mstrobel/supremacy/issue/15/new-bonus-scanrange )
- TradeRoutes + PercentTradeIncome: Database-List
- Research
- PercentResearchEmpireWide:
- PercentBioTechResearch
- PercentComputerResearch
- PercentConstructionResearch
- PercentEnergyResearch
- PercentPropulsionResearch
- PercentWeaponsResearch
- Intelligence
- PercentIntelligence
- PercentGeneralIntelligence
- PercentTotalIntelligence
- PercentEconomicSecurity
- PercentInternalSecurity
- PercentSabotage
- PercentEconomicSabotage
- PercentMilitarySabotage
- PercentPoliticalSabotage
CSV2XML
We're trying to create the TechObjectDatabase.xml out of a Google Sheet.... this are the steps
- activate ADD-On for XML-Export
- doing the export by ADDON > EXPORT