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

Started by HQQ, January 19, 2020, 11:11:32 AM

Previous topic - Next topic

HQQ

Hello! I'm relocating my question from the parent Mod thread to this as instruction from someone who just helped me earlier. Here's the original question:

1/ 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, what does it means?
I suspect it is the amount of point the game has to spend to buy one pawn of that kind in a raid. Is that correct?

2/ 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? I think it is how many pawn of that kind the map will generate when you enter the corresponding kindDef event. Is that right?