129 lines
4.7 KiB
XML
129 lines
4.7 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<Defs>
|
|
|
|
<!-- Lancer - fast mid-range shooter -->
|
|
<ThingDef ParentName="BaseMechanoidWalker">
|
|
<defName>WULA_Mech_Flyer</defName>
|
|
<label>乌拉小镰</label>
|
|
<description>乌拉帝国小型机械体</description>
|
|
<tools>
|
|
<li>
|
|
<label>head</label>
|
|
<capacities>
|
|
<li>Blunt</li>
|
|
</capacities>
|
|
<power>8.5</power>
|
|
<cooldownTime>2</cooldownTime>
|
|
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
|
|
<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
|
|
<chanceFactor>0.2</chanceFactor>
|
|
</li>
|
|
</tools>
|
|
<race>
|
|
<body>Lancer</body>
|
|
<baseHealthScale>0.72</baseHealthScale>
|
|
<detritusLeavings>
|
|
<li>
|
|
<def>ChunkMechanoidSlag</def>
|
|
<texOverrideIndex>11</texOverrideIndex>
|
|
<spawnChance>0.1</spawnChance>
|
|
</li>
|
|
<li>
|
|
<def>ChunkMechanoidSlag</def>
|
|
<texOverrideIndex>12</texOverrideIndex>
|
|
<spawnChance>0.1</spawnChance>
|
|
</li>
|
|
</detritusLeavings>
|
|
<flightStartChanceOnJobStart>0.5</flightStartChanceOnJobStart>
|
|
<lifeStageAges Inherit="False">
|
|
<li>
|
|
<def>MechanoidFullyFormed</def>
|
|
<minAge>0</minAge>
|
|
<soundWounded>Pawn_Mech_Scyther_Wounded</soundWounded>
|
|
<soundDeath>Pawn_Mech_Scyther_Death</soundDeath>
|
|
<soundCall>Pawn_Mech_Scyther_Call</soundCall>
|
|
</li>
|
|
</lifeStageAges>
|
|
<thinkTreeConstant>WarUrchinConstant</thinkTreeConstant>
|
|
<deathAction Class="DeathActionProperties_Vanish">
|
|
<workerClass>DeathActionWorker_Vanish</workerClass>
|
|
<filth>Filth_MachineBits</filth>
|
|
<filthCountRange>1~2</filthCountRange>
|
|
</deathAction>
|
|
</race>
|
|
<statBases>
|
|
<BandwidthCost MayRequire="Ludeon.RimWorld.Biotech">0</BandwidthCost>
|
|
<MaxFlightTime>30</MaxFlightTime>
|
|
<FlightCooldown>10</FlightCooldown>
|
|
</statBases>
|
|
<comps Inherit="False">
|
|
<!--加上这个组件的机械体会直接跳过原版指挥范围判定-->
|
|
<li Class="WulaFallenEmpire.CompProperties_GlobalMechCommand" />
|
|
<!--加上这个组件的机械体可以更换武器-->
|
|
<li Class="WulaFallenEmpire.CompProperties_MechWeapon" />
|
|
<li Class="CompProperties_CanBeDormant" />
|
|
<li Class="CompProperties_WakeUpDormant">
|
|
<wakeUpOnDamage>true</wakeUpOnDamage>
|
|
<wakeUpCheckRadius>30</wakeUpCheckRadius>
|
|
<wakeUpSound>MechanoidsWakeUp</wakeUpSound>
|
|
</li>
|
|
|
|
<li Class="CompProperties_TurretGun">
|
|
<turretDef>WULA_MechFlyerTurretGun</turretDef>
|
|
<angleOffset>-90</angleOffset>
|
|
<autoAttack>false</autoAttack>
|
|
<renderNodeProperties>
|
|
<li>
|
|
<nodeClass>PawnRenderNode_TurretGun</nodeClass>
|
|
<workerClass>PawnRenderNodeWorker_TurretGun</workerClass>
|
|
<parentTagDef>Body</parentTagDef>
|
|
<overrideMeshSize>(1, 1)</overrideMeshSize>
|
|
<baseLayer>20</baseLayer>
|
|
<pawnType>Any</pawnType>
|
|
<drawData>
|
|
<dataWest>
|
|
<rotationOffset>180</rotationOffset>
|
|
<offset>(0, 0, 0)</offset>
|
|
</dataWest>
|
|
</drawData>
|
|
</li>
|
|
</renderNodeProperties>
|
|
</li>
|
|
<li Class="CompProperties_MechPowerCell">
|
|
<totalPowerTicks>10000</totalPowerTicks>
|
|
</li>
|
|
</comps>
|
|
</ThingDef>
|
|
<PawnKindDef ParentName="BaseMechanoidKind">
|
|
<defName>WULA_Mech_Flyer</defName>
|
|
<label>乌拉小镰</label>
|
|
<race>WULA_Mech_Flyer</race>
|
|
<combatPower>190</combatPower>
|
|
<flyingAnimationFramePathPrefix>Wula/Things/WULA_Mech_Flyer/WULA_Mech_Flyer_Flying_</flyingAnimationFramePathPrefix>
|
|
<flyingAnimationFrameCount>2</flyingAnimationFrameCount>
|
|
<flyingAnimationTicksPerFrame>2</flyingAnimationTicksPerFrame>
|
|
<!-- <flyingAnimationDrawSize>1.35</flyingAnimationDrawSize> -->
|
|
<flyingAnimationInheritColors>false</flyingAnimationInheritColors>
|
|
<forceDeathOnDowned>true</forceDeathOnDowned>
|
|
<forceNoDeathNotification>true</forceNoDeathNotification>
|
|
<lifeStages>
|
|
<li MayRequire="Ludeon.RimWorld.Biotech">
|
|
<bodyGraphicData>
|
|
<texPath>Wula/Things/WULA_Mech_Flyer/WULA_Mech_Flyer</texPath>
|
|
<shaderType>CutoutWithOverlay</shaderType>
|
|
<graphicClass>Graphic_Multi</graphicClass>
|
|
<drawSize>1.5</drawSize>
|
|
<shadowData>
|
|
<volume>(0.4, 0.8, 0.4)</volume>
|
|
</shadowData>
|
|
</bodyGraphicData>
|
|
</li>
|
|
</lifeStages>
|
|
<weaponMoney>9999~9999</weaponMoney>
|
|
<weaponTags>
|
|
</weaponTags>
|
|
<techHediffsChance>1</techHediffsChance>
|
|
<techHediffsMoney>9999~9999</techHediffsMoney>
|
|
</PawnKindDef>
|
|
|
|
</Defs> |