This commit is contained in:
2025-09-08 20:05:20 +08:00
parent ebe217223d
commit 30ee96a196
10 changed files with 546 additions and 4 deletions

Binary file not shown.

View File

@@ -173,6 +173,37 @@
</spawnCategories>
</AlienRace.AlienBackstoryDef>
<AlienRace.AlienBackstoryDef ParentName="ARA_BaseBackStory">
<defName>Arachnae_Node_BS_Adult_Skyraider</defName>
<title>阿拉克涅空天种</title>
<titleShort>空天种</titleShort>
<description>[PAWN_nameDef]是一只阿拉克涅空天种督虫,空天种作为阿拉克涅督虫中的精锐,进化出了强大的飞行能力,是巢穴中无可争议的空中霸主。\n\n作为为数不多拥有飞行能力的虫族她可以从空中掠袭猎物并将其带至千米高空之上俯冲投下只留其余猎物在地面无助的挣扎。</description>
<slot>Adulthood</slot>
<workDisables>
<li>Cleaning</li>
<!-- <li>Hauling</li> -->
<li>Mining</li>
<li>PlantWork</li>
<!-- <li>Animals</li> -->
<!-- <li>Hunting</li> -->
<li>Crafting</li>
<li>Cooking</li>
<li>Constructing</li>
<li>Caring</li>
<li>Social</li>
<li>Artistic</li>
<li>Intellectual</li>
</workDisables>
<skillGains>
<Shooting>5</Shooting>
<Melee>5</Melee>
</skillGains>
<spawnCategories>
<li>ArachnaeNode_spawnCategories_Skyraider</li>
</spawnCategories>
</AlienRace.AlienBackstoryDef>
<AlienRace.AlienBackstoryDef ParentName="ARA_BaseBackStory">
<defName>Arachnae_Node_BS_Adult_Facehugger</defName>
<title>阿拉克涅原虫种</title>

View File

@@ -213,6 +213,29 @@
</apparelTags>
<apparelMoney>0</apparelMoney>
</PawnKindDef>
<PawnKindDef ParentName="ArachnaeNodeABasePawnKind">
<defName>ArachnaeNode_Race_Skyraider</defName>
<label>阿拉克涅空天种</label>
<race>ArachnaeNode_Race_Skyraider</race>
<defaultFactionType>PlayerColony</defaultFactionType>
<invNutrition>0</invNutrition>
<backstoryFiltersOverride>
<li>
<categories>
<li>ArachnaeNode_spawnCategoriesA</li>
<li>ArachnaeNode_spawnCategories_Fighter</li>
</categories>
</li>
</backstoryFiltersOverride>
<abilities>
<li>ARA_BaseRace_Acid_Launcher</li>
<li>ARA_AcidSprayBurst</li>
<li>ARA_Toxic_Needle_Fire</li>
</abilities>
<apparelTags>
</apparelTags>
<apparelMoney>0</apparelMoney>
</PawnKindDef>
<PawnKindDef Name="ARA_InsectKindBase" ParentName="AnimalKindBase" Abstract="True">
<defaultFactionType>PlayerColony</defaultFactionType>

View File

@@ -807,7 +807,7 @@
</south>
<north>
<layerOffset>-0.275</layerOffset>
</north>
</north>
<east>
<layerOffset>-0.275</layerOffset>
</east>
@@ -911,7 +911,7 @@
<offsets>
<north>
<layerOffset>-0.275</layerOffset>
</north>
</north>
</offsets>
</li>
</bodyAddons>
@@ -1004,7 +1004,7 @@
<offsets>
<north>
<layerOffset>-0.275</layerOffset>
</north>
</north>
</offsets>
</li>
</bodyAddons>
@@ -1138,4 +1138,172 @@
</li>
</comps>
</AlienRace.ThingDef_AlienRace>
<AlienRace.ThingDef_AlienRace ParentName="ARA_NodeBase">
<defName>ArachnaeNode_Race_Skyraider</defName>
<label>阿拉克涅空天种</label>
<description>阿拉克涅督虫中的精锐,进化出了强大的飞行能力,是巢穴中无可争议的空中霸主。\n\n作为为数不多拥有飞行能力的虫族她可以从空中掠袭猎物并将其带至千米高空之上俯冲投下只留其余猎物在地面无助的挣扎。</description>
<alienRace>
<generalSettings>
<!-- 各种零件定义 -->
<alienPartGenerator>
<!-- 额外身体部件 -->
<bodyAddons>
<li>
<path>ArachnaeSwarm/Things/ARA_HiveNode/Addons/ArachnaeNode_Race_Addons_Fighter_Claw</path>
<inFrontOfBody>true</inFrontOfBody>
</li>
<li>
<path>ArachnaeSwarm/Things/ARA_HiveNode/Addons/ArachnaeNode_Race_Addons_Fighter_Tail</path>
<inFrontOfBody>false</inFrontOfBody>
<offsets>
<north>
<layerOffset>-0.275</layerOffset>
</north>
</offsets>
</li>
</bodyAddons>
</alienPartGenerator>
</generalSettings>
<raceRestriction>
<onlyEatRaceRestrictedFood>true</onlyEatRaceRestrictedFood>
</raceRestriction>
</alienRace>
<comps>
<!-- Add our new flight component here -->
<li Class="ArachnaeSwarm.CompProperties_PawnFlight">
<!-- ==================== -->
<!-- 动画帧 (必需) -->
<!-- ==================== -->
<!-- 动画帧的基础贴图路径和文件名前缀。 -->
<flyingAnimationFramePathPrefix>Wula/Things/WULA_Mech_Flyer/WULA_Mech_Flyer_Flying_</flyingAnimationFramePathPrefix>
<!-- 动画的总帧数。 -->
<flyingAnimationFrameCount>2</flyingAnimationFrameCount>
<!-- 动画中每一帧持续的游戏刻ticks数。数值越小动画越快。 -->
<ticksPerFrame>2</ticksPerFrame>
<!-- ==================== -->
<!-- 渲染节点属性 -->
<!-- ==================== -->
<!-- 附加动画的绘制尺寸。 -->
<drawSize>1.35</drawSize>
<!-- 附加动画相对于其父节点的绘制偏移量 (X, Y, Z)。Y值控制渲染深度。 -->
<offset>(0, 0.1, -0.2)</offset>
<!-- (可选) 附加动画是否继承 Pawn 的肤色。 -->
<inheritColors>false</inheritColors>
<!-- (可选, 默认: Body) 附加动画要“贴”在哪个身体部分上。 -->
<parentTagDef>Body</parentTagDef>
<!-- (可选, 默认: 85) 附加动画的基础渲染层级,用于精细深度控制。 -->
<baseLayer>90</baseLayer>
<!-- ==================== -->
<!-- 飞行力学 -->
<!-- ==================== -->
<!-- (可选, 默认: 50) 起飞过程的持续时间ticks-->
<takeoffDurationTicks>40</takeoffDurationTicks>
<!-- (可选, 默认: 50) 降落过程的持续时间ticks-->
<landingDurationTicks>40</landingDurationTicks>
<!-- (可选, 默认: 5.0) 一次飞行的最大持续时间(秒)。 -->
<maxFlightTimeSeconds>15</maxFlightTimeSeconds>
<!-- (可选, 默认: 2.0) 降落后的冷却时间(秒)。 -->
<flightCooldownSeconds>10</flightCooldownSeconds>
<!-- (可选, 默认: 0.5) 当接到允许飞行的工作时实际开始飞行的几率0.0 到 1.0)。 -->
<flightStartChanceOnJobStart>1.0</flightStartChanceOnJobStart>
<!-- ==================== -->
<!-- 飞行视觉效果 (可选) -->
<!-- ==================== -->
<!-- (可选) 自定义起飞时的“bobbing”上下浮动曲线。 -->
<takeoffCurve>
<points>
<li>(0, 0)</li>
<li>(0.5, 0.6)</li>
<li>(1, 1)</li>
</points>
</takeoffCurve>
<!-- (可选) 自定义降落时的“bobbing”曲线。 -->
<landingCurve>
<points>
<li>(0, 1)</li>
<li>(0.5, 0.4)</li>
<li>(1, 0)</li>
</points>
</landingCurve>
</li>
<!-- ... other components ... -->
</comps>
<!-- 基础属性设置 -->
<statBases>
<!-- 移动速度 -->
<MoveSpeed>4.5</MoveSpeed>
<!-- <RestRateMultiplier>1</RestRateMultiplier> -->
<!-- <HungerRateMultiplier>1</HungerRateMultiplier> -->
<!-- <EatingSpeed>5</EatingSpeed> -->
<MaxNutrition>2</MaxNutrition>
<CarryingCapacity>100</CarryingCapacity>
<MeatAmount>60</MeatAmount>
<LeatherAmount>30</LeatherAmount>
<MeleeDodgeChance>1.25</MeleeDodgeChance>
<MeleeHitChance>1.25</MeleeHitChance>
<!-- <NegotiationAbility>1</NegotiationAbility> -->
<!-- <SellPriceFactor>1</SellPriceFactor> -->
<!-- <SocialImpact>1</SocialImpact> -->
<!-- <TradePriceImprovement>0.5</TradePriceImprovement> -->
<!-- 自带的甲壳可以防御外部攻击 -->
<ArmorRating_Blunt>0.4</ArmorRating_Blunt>
<ArmorRating_Sharp>0.4</ArmorRating_Sharp>
<ArmorRating_Heat>0.3</ArmorRating_Heat>
</statBases>
<tools>
<li>
<label>巨镰</label>
<capacities>
<li>Cut</li>
</capacities>
<power>20</power>
<cooldownTime>2.5</cooldownTime>
<linkedBodyPartsGroup>ARA_Sickles</linkedBodyPartsGroup>
<!-- <ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable> -->
<chanceFactor>0.5</chanceFactor>
</li>
</tools>
<race>
<!-- 身体类型 -->
<body>ArachnaeFighter_Body</body>
<baseBodySize>0.85</baseBodySize>
<baseHealthScale>2</baseHealthScale>
<lifeExpectancy>5</lifeExpectancy>
<lifeStageAges Inherit="False">
<li>
<def>ArachnaeNode_Myrmecocystus_Adult</def>
<minAge>0</minAge>
</li>
</lifeStageAges>
</race>
</AlienRace.ThingDef_AlienRace>
</Defs>