User:Powerlunatic/Modding/Faction

Syntax

 * Note! Due to restrictions for the moment, the syntaxes provided below are not vaild.

Basic


 



Example

 * From the vanilla FactionDef.xml



 FACTION_TERRAN FACTION_TERRAN_Name FACTION_TERRAN_ShortName FACTION_TERRAN_LeaderName FACTION_TERRAN_Dec <LeaderDescription>FACTION_TERRAN_LeaderDec</LeaderDescription> <RaceType>Major</RaceType> <PersonalityTraits>Neutral</PersonalityTraits> <PersonalityTraits>Expansionist</PersonalityTraits> <PersonalityTraits>Diplomatic</PersonalityTraits> <RaceTraits>EngineersAbility</RaceTraits> <RaceTraits>ColonizersAbility</RaceTraits> <RaceTraits>Productive2</RaceTraits> <RaceTraits>Adventuresome2</RaceTraits> <RaceTraits>Likeable2</RaceTraits> <RaceTraits>Fast2</RaceTraits> <RaceTraits>Organized2</RaceTraits> <RequiresHomeworld>true</RequiresHomeworld> <HomeStarSystem>SolSystem</HomeStarSystem> <StartingShips>ColonyStaticBlueprint</StartingShips> <StartingShips>SurveyStaticBlueprint</StartingShips> <StartingShips>ScoutStaticBlueprint</StartingShips> <TechTree>Terran_Tree</TechTree> <ShipCallsign>FACTION_TERRAN_Callsign</ShipCallsign> <LogoImage>RaceLogo00.png</LogoImage> <LeaderThumbnail>GC3_DL_Bradley_Small.png</LeaderThumbnail> <NewsRobotMovie_Approach>Terran_ResearchAdviser_Approach.bk2</NewsRobotMovie_Approach> <NewsRobotMovie_Idle>Terran_ResearchAdviser_Idle.bk2</NewsRobotMovie_Idle> <StartupImage>StartGameTerran.png</StartupImage> <StartupTitle>FACTION_TERRAN_StartupTitle</StartupTitle> <StartupDescription>FACTION_TERRAN_StartupDescription</StartupDescription> <StartupTraitsDescription>FACTION_TERRAN_StartupTraitsDescription</StartupTraitsDescription> <ConquestMovie>MilVic_TERRAN.bk2</ConquestMovie> <MapColorDef>TerranMapColors</MapColorDef> <UIColorDef>TerranUIColors</UIColorDef> <FactionMoviesFGDef>TerranMoviesFG</FactionMoviesFGDef> <FactionMoviesBGDef>TerranMoviesBG</FactionMoviesBGDef> <FactionMusicDef>TerranMusic</FactionMusicDef> <Material1>GC3_Ship_Material_01</Material1> <Material2>GC3_Ship_Material_02</Material2> <Surface1>GC3_Default_Surface_01</Surface1> <Surface2>GC3_Default_Surface_02</Surface2> <Appearance>GC3_Terran_Appearance</Appearance> <ShipStyleSet>TerranShipStyleSet</ShipStyleSet> <CreditsInit>5000</CreditsInit> <WarEnduranceInit>90</WarEnduranceInit> <DefaultResistance>0.25</DefaultResistance> <InfluenceTallyInit>10</InfluenceTallyInit> <StartingColonyPopulation>10</StartingColonyPopulation> <AICategoryWeight> <Military>15</Military> <Growth>10</Growth> <Tech>20</Tech> <Diplomacy>15</Diplomacy> <Expansion>20</Expansion> <Wealth>10</Wealth> <Influence>5</Influence> <Fortification>5</Fortification> </AICategoryWeight> </Faction>

</FactionList>