[ModCreationHelp] CombatPower in PawnDef and the number between pawnKind meaning

Started by HQQ, January 19, 2020, 06:14:14 AM

Previous topic - Next topic

HQQ

I'd like to know what the CombatPower value in PawnKindDef influences (for example,
<PawnKindDef ParentName="YoumuCombatantMidTierBase">
    <defName>Youmu_combatant_Gunner</defName>
    <label>Youmu combatant gunner</label>
    <combatPower>90</combatPower>), that number 90.
Is it the amount of point the game has to spend to buy one pawn of that kind in a raid?

And then also these:
<kindDef>Combat</kindDef>
        <options>      
         <Youmu_Grenadier_Destructive>3</Youmu_Grenadier_Destructive>
         <Youmu_Grenadier_EMP>3</Youmu_Grenadier_EMP>
         <Youmu_combatant_Gunner>5</Youmu_combatant_Gunner>
<Youmu_Combatant_Sniper>7</Youmu_Combatant_Sniper>
<Youmu_combatant_Slasher>4</Youmu_combatant_Slasher>
<Youmu_combatant_Heavy>8</Youmu_combatant_Heavy>
<Youmu>9</Youmu>
<Youmu_Executive>10</Youmu_Executive>

        </options>

The numbers between the pawnKinds, what are they? Are they the number of pawns of that type in a settlement/attack/...?

Vanitious

read the combat power is used to calculate raids and such but i have been rather curious about the other values you ask about myself. i set them all to 1 for a custom factions trade caravan and get more or less pawns depending on the combat power i assign to the pawnkind defs i made.