RimWorld

RimWorld

RimWorld Workshop
Mods and scenarios for RimWorld. Mods can also be found at the Ludeon forums at ludeon.com/forums
Help with faction XML parse error
I've been trying to create a custom faction using the Civil Synstructs mod for the past day. Unfortunately I know pretty much nothing about rimworld modding and the only faction XML i have to go off is the outdated Android tiers 1.4 which doesn't work.
Every time I launch the game I get a parse error in the faction XML which leads the rest of the mod to having invalid faction defs and not working. Could someone help me fix this?
XML pasted below:

<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<FactionDef ParentName="FactionBase">
<defName>ArchRaiders</defName>
<label>Archopawn Militia</label>
<description>An interstellar Militia led by a council of four Archotechs, hellbent on extending their influence and their knowledge.</description>
<pawnSingular>archopawn</pawnSingular>
<pawnsPlural>archopawns</pawnsPlural>
<categoryTag>Nexus_War</categoryTag>
<fixedLeaderKinds>
<li>RaiderSoldierT4</li>
</fixedLeaderKinds>
<settlementGenerationWeight>0.2</settlementGenerationWeight>
<maxConfigurableAtWorldCreation>1</maxConfigurableAtWorldCreation>
<listOrderPriority>11</listOrderPriority>
<maxCountAtGameStart>1</maxCountAtGameStart>
<canMakeRandomly>true</canMakeRandomly>
<canSiege>true</canSiege>
<canStageAttacks>true</canStageAttacks>
<factionIconPath MayRequire="Ludeon.RimWorld.Ideology">UI/Ideoligions/Archist_Spikes</factionIconPath>
<factionNameMaker>Nexus_Namer</factionNameMaker>
<settlementNameMaker>NamerSettlementPirate</settlementNameMaker>
<basicMemberKind>RaiderSoldierT3</basicMemberKind>
<colorSpectrum>
<li>(0.95, 0.9, 0.92)</li>
<li>(0.9, 0.9, 0.9)</li>
<li>(0.92, 0.92, 0.96)</li>
</colorSpectrum>
<leaderTitle>Planetary Commander</leaderTitle>
<permanentEnemy>true</permanentEnemy>
<hostileToFactionlessHumanlikes>true</hostileToFactionlessHumanlikes>
<techLevel>Spacer</techLevel>
<allowedCultures>
<li>Kriminul</li>
</allowedCultures>
<requiredMemes>
<li MayRequire="Ludeon.RimWorld.Ideology">Supremacist</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Raider</li>
</requiredMemes>
<disallowedMemes>
<li MayRequire="Ludeon.RimWorld.Ideology">Nudism</li>
<li MayRequire="Ludeon.RimWorld.Ideology">Blindsight</li>
<li MayRequire="Ludeon.RimWorld.Ideology">FleshPurity</li>
<li MayRequire="Ludeon.RimWorld.Ideology">PainIsVirtue</li>
</disallowedMemes>
<structureMemeWeights>
<Structure_Ideological MayRequire="Ludeon.RimWorld.Ideology">1</Structure_Ideological>
</structureMemeWeights>
<backstoryFilters>
<li>
<categories>
<li>Nexus_War</li>
</categories>
</li>
</backstoryFilters>
<melaninRange>0.5~0.9</melaninRange>
<allowedArrivalTemperatureRange>-70~60</allowedArrivalTemperatureRange>
<raidLootMaker>ATR_AndroidRaidLootMaker</raidLootMaker>
<maxPawnCostPerTotalPointsCurve>
<points>
<li>(0,45)</li>
<li>(70, 80)</li>
<li>(700, 110)</li>
<li>(1300, 150)</li>
<li>(100000, 10000)</li>
</points>
</maxPawnCostPerTotalPointsCurve>
<pawnGroupMakers>
<li>
<!-- Normal fights, standard mix -->
<kindDef>Combat</kindDef>
<commonality>100</commonality>
<options>
<RaiderSlaveT1>5</RaiderSlaveT1>
<RaiderSoldierT1>20</RaiderSoldierT1>
<RaiderSoldierT2>40</RaiderSoldierT2>
<RaiderSoldierT3>5</RaiderSoldierT3>
<RaiderSoldierT4>1</RaiderSoldierT4>
</options>
</li>
<li>
<kindDef>Combat</kindDef>
<commonality>1</commonality>
<maxTotalPoints>1000</maxTotalPoints>
<options>
<RaiderSlaveT1>4</RaiderSlaveT1>
</options>
</li>
<li>
<!-- Base defense -->
<kindDef>Settlement</kindDef>
<options>
<RaiderSlaveT1>5</RaiderSlaveT1>
<RaiderSoldierT1>12</RaiderSoldierT1>
<RaiderSoldierT2>25</RaiderSoldierT2>
<RaiderSoldierT3>50</RaiderSoldierT3>
<RaiderSoldierT4>0</RaiderSoldierT4>
</options>
</li>
</pawnGroupMakers>
<settlementTexturePath>World/WorldObjects/DefaultSettlement</settlementTexturePath>
<ThingSetMakerDef>
<defName>ATR_AndroidRaidLootMaker</defName>
<root Class="ThingSetMaker_MarketValue">
<fixedParams>
<filter>
<thingDefs>
<li>Silver</li>
<li>ABF_Thing_Synstruct_RepairStimMinor</li>
<li>ABF_Thing_Synstruct_RepairStim</li>
<li>MealSurvivalPack</li>
</thingDefs>
</filter>
</fixedParams>
</root>
</ThingSetMakerDef>
</Defs>
< >
Showing 1-2 of 2 comments
<?xml version="1.0" encoding="utf-8" ?> <Defs> <FactionDef ParentName="FactionBase"> <defName>ArchRaiders</defName> <label>Archopawn Militia</label> <description>An interstellar Militia led by a council of four Archotechs, hellbent on extending their influence and their knowledge.</description> <pawnSingular>archopawn</pawnSingular> <pawnsPlural>archopawns</pawnsPlural> <categoryTag>Nexus_War</categoryTag> <fixedLeaderKinds> <li>RaiderSoldierT4</li> </fixedLeaderKinds> <settlementGenerationWeight>0.2</settlementGenerationWeight> <maxConfigurableAtWorldCreation>1</maxConfigurableAtWorldCreation> <listOrderPriority>11</listOrderPriority> <maxCountAtGameStart>1</maxCountAtGameStart> <canMakeRandomly>true</canMakeRandomly> <canSiege>true</canSiege> <canStageAttacks>true</canStageAttacks> <factionIconPath MayRequire="Ludeon.RimWorld.Ideology">UI/Ideoligions/Archist_Spikes</factionIconPath> <factionNameMaker>Nexus_Namer</factionNameMaker> <settlementNameMaker>NamerSettlementPirate</settlementNameMaker> <basicMemberKind>RaiderSoldierT3</basicMemberKind> <colorSpectrum> <li>(0.95, 0.9, 0.92)</li> <li>(0.9, 0.9, 0.9)</li> <li>(0.92, 0.92, 0.96)</li> </colorSpectrum> <leaderTitle>Planetary Commander</leaderTitle> <permanentEnemy>true</permanentEnemy> <hostileToFactionlessHumanlikes>true</hostileToFactionlessHumanlikes> <techLevel>Spacer</techLevel> <allowedCultures> <li>Kriminul</li> </allowedCultures> <requiredMemes> <li MayRequire="Ludeon.RimWorld.Ideology">Supremacist</li> <li MayRequire="Ludeon.RimWorld.Ideology">Raider</li> </requiredMemes> <disallowedMemes> <li MayRequire="Ludeon.RimWorld.Ideology">Nudism</li> <li MayRequire="Ludeon.RimWorld.Ideology">Blindsight</li> <li MayRequire="Ludeon.RimWorld.Ideology">FleshPurity</li> <li MayRequire="Ludeon.RimWorld.Ideology">PainIsVirtue</li> </disallowedMemes> <structureMemeWeights> <Structure_Ideological MayRequire="Ludeon.RimWorld.Ideology">1</Structure_Ideological> </structureMemeWeights> <backstoryFilters> <li> <categories> <li>Nexus_War</li> </categories> </li> </backstoryFilters> <melaninRange>0.5~0.9</melaninRange> <allowedArrivalTemperatureRange>-70~60</allowedArrivalTemperatureRange> <raidLootMaker>ATR_AndroidRaidLootMaker</raidLootMaker> <maxPawnCostPerTotalPointsCurve> <points> <li>(0,45)</li> <li>(70, 80)</li> <li>(700, 110)</li> <li>(1300, 150)</li> <li>(100000, 10000)</li> </points> </maxPawnCostPerTotalPointsCurve> <pawnGroupMakers> <li> <!-- Normal fights, standard mix --> <kindDef>Combat</kindDef> <commonality>100</commonality> <options> <RaiderSlaveT1>5</RaiderSlaveT1> <RaiderSoldierT1>20</RaiderSoldierT1> <RaiderSoldierT2>40</RaiderSoldierT2> <RaiderSoldierT3>5</RaiderSoldierT3> <RaiderSoldierT4>1</RaiderSoldierT4> </options> </li> <li> <kindDef>Combat</kindDef> <commonality>1</commonality> <maxTotalPoints>1000</maxTotalPoints> <options> <RaiderSlaveT1>4</RaiderSlaveT1> </options> </li> <li> <!-- Base defense --> <kindDef>Settlement</kindDef> <options> <RaiderSlaveT1>5</RaiderSlaveT1> <RaiderSoldierT1>12</RaiderSoldierT1> <RaiderSoldierT2>25</RaiderSoldierT2> <RaiderSoldierT3>50</RaiderSoldierT3> <RaiderSoldierT4>0</RaiderSoldierT4> </options> </li> </pawnGroupMakers> <settlementTexturePath>World/WorldObjects/DefaultSettlement</settlementTexturePath> </FactionDef> <ThingSetMakerDef> <defName>ATR_AndroidRaidLootMaker</defName> <root Class="ThingSetMaker_MarketValue"> <fixedParams> <filter> <thingDefs> <li>Silver</li> <li>ABF_Thing_Synstruct_RepairStimMinor</li> <li>ABF_Thing_Synstruct_RepairStim</li> <li>MealSurvivalPack</li> </thingDefs> </filter> </fixedParams> </root> </ThingSetMakerDef> </Defs>
Snowy Jan 5 @ 2:50pm 
Thank you so much! I needed this badly for a new playthrough I've been wanting to start.
< >
Showing 1-2 of 2 comments
Per page: 1530 50