This commit is contained in:
2025-11-04 11:53:02 +08:00
parent 498367194b
commit 7620add8e5
10 changed files with 481 additions and 286 deletions

View File

@@ -0,0 +1,135 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<AbilityDef>
<defName>WULA_CallBattleShip</defName>
<label>支援请求:帝国母舰</label>
<description>发送增援请求,呼叫乌拉帝国舰队的一艘母舰前往殖民地。\n\n隶属于乌拉帝国边缘开发署的母舰是帝国殖民地扩张的基石它们徘徊于近地轨道上随时为下面的乌拉帝国殖民地提供援助。母舰的速度非常慢在离开轨道前它们能够提供好几天的全方位的支援。\n\n母舰拥有以下设施\n&lt;color=#6BB7B7>&lt;i>-生产设施&lt;/i>&lt;/color>\n&lt;color=#DEC28F>&lt;i>-建筑空投设施&lt;/i>&lt;/color>\n&lt;color=#BD952F>&lt;i>-机库&lt;/i>&lt;/color>\n&lt;color=#BD2F31>&lt;i>-武器阵列&lt;/i>&lt;/color></description>
<iconPath>Wula/UI/Abilities/WULA_CallBattleShip</iconPath>
<cooldownTicksRange>640000</cooldownTicksRange> <!-- 10d -->
<hotKey>Misc12</hotKey>
<casterMustBeCapableOfViolence>false</casterMustBeCapableOfViolence>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<drawAimPie>true</drawAimPie>
<requireLineOfSight>false</requireLineOfSight>
<nonInterruptingSelfCast>true</nonInterruptingSelfCast>
<warmupTime>8</warmupTime>
<range>-1</range>
<targetable>false</targetable>
<targetParams>
<canTargetSelf>True</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_AbilitySpawnFlyOver">
<flyOverDef>WULA_BattleShip</flyOverDef>
<flyOverType>Standard</flyOverType>
<flightSpeed>0.01</flightSpeed>
<altitude>20</altitude>
<startPosition>MapEdge</startPosition>
<endPosition>OppositeMapEdge</endPosition>
<playFlyOverSound>true</playFlyOverSound>
</li>
</comps>
</AbilityDef>
<AbilityDef>
<defName>WULA_Spawn_Fighter_Rocket</defName>
<label>战机巡航</label>
<description>指挥乌拉帝国的战机,中速掠过战场,使用其导弹对目标区域发起打击。\n\n在飞行期间它会使用磁轨炮打击遇到的敌人。</description>
<!-- <iconPath>ArachnaeSwarm/UI/Abilities/ARA_Spawn_ARA_HiveCorvette_Rocket</iconPath> -->
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
<casterMustBeCapableOfViolence>false</casterMustBeCapableOfViolence>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<drawAimPie>false</drawAimPie>
<requireLineOfSight>false</requireLineOfSight>
<warmupTime>1</warmupTime>
<range>120</range>
<targetable>true</targetable>
<targetParams>
<canTargetSelf>false</canTargetSelf>
<canTargetLocations>true</canTargetLocations>
</targetParams>
</verbProperties>
<comps>
<!-- <li Class="WulaFallenEmpire.CompProperties_AircraftStrike">
<requiredAircraftType>ARA_HiveCorvette_Entity</requiredAircraftType>
<aircraftCooldownTicks>5000</aircraftCooldownTicks>
<aircraftsPerUse>1</aircraftsPerUse>
</li> -->
<li Class="WulaFallenEmpire.CompProperties_AbilitySpawnFlyOver">
<flyOverDef>WULA_Fighter_A</flyOverDef>
<flyOverType>GroundStrafing</flyOverType>
<flightSpeed>3</flightSpeed>
<altitude>20</altitude>
<playFlyOverSound>true</playFlyOverSound>
<approachType>Perpendicular</approachType>
<!-- 扫射参数 -->
<enableGroundStrafing>true</enableGroundStrafing>
<strafeWidth>4</strafeWidth>
<strafeLength>25</strafeLength>
<strafeFireChance>0.13</strafeFireChance>
<!-- 新增:控制最终射弹数量 -->
<minStrafeProjectiles>12</minStrafeProjectiles>
<maxStrafeProjectiles>16</maxStrafeProjectiles>
<!-- 只传递信号,不传递具体参数 -->
<enableSectorSurveillance>true</enableSectorSurveillance>
<!-- 可视化 -->
<showStrafePreview>true</showStrafePreview>
<strafePreviewColor>(1.0,0.3,0.1,0.2)</strafePreviewColor>
<!-- 预览配置 -->
<showSectorPreview>true</showSectorPreview>
<sectorPreviewColor>(0.3,0.7,1.0,0.3)</sectorPreviewColor>
</li>
</comps>
</AbilityDef>
<AbilityDef>
<defName>WULA_Spawn_Fighter_RailGun</defName>
<label>战机巡航(磁轨炮)</label>
<description>指挥乌拉帝国的战机,低速掠过战场,使用其磁轨炮打击遇到的所有敌人。</description>
<!-- <iconPath>ArachnaeSwarm/UI/Abilities/ARA_Spawn_ARA_HiveCorvette_Rocket</iconPath> -->
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
<casterMustBeCapableOfViolence>false</casterMustBeCapableOfViolence>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<drawAimPie>false</drawAimPie>
<requireLineOfSight>false</requireLineOfSight>
<warmupTime>1</warmupTime>
<range>120</range>
<targetable>true</targetable>
<targetParams>
<canTargetSelf>false</canTargetSelf>
<canTargetLocations>true</canTargetLocations>
</targetParams>
</verbProperties>
<comps>
<!-- <li Class="WulaFallenEmpire.CompProperties_AircraftStrike">
<requiredAircraftType>ARA_HiveCorvette_Entity</requiredAircraftType>
<aircraftCooldownTicks>5000</aircraftCooldownTicks>
<aircraftsPerUse>1</aircraftsPerUse>
</li> -->
<li Class="WulaFallenEmpire.CompProperties_AbilitySpawnFlyOver">
<flyOverDef>WULA_Fighter_B</flyOverDef>
<flyOverType>GroundStrafing</flyOverType>
<flightSpeed>3</flightSpeed>
<altitude>20</altitude>
<playFlyOverSound>true</playFlyOverSound>
<approachType>Perpendicular</approachType>
<!-- 只传递信号,不传递具体参数 -->
<enableSectorSurveillance>true</enableSectorSurveillance>
<!-- 预览配置 -->
<showSectorPreview>true</showSectorPreview>
<sectorPreviewColor>(0.3,0.7,1.0,0.3)</sectorPreviewColor>
</li>
</comps>
</AbilityDef>
</Defs>

View File

@@ -58,6 +58,57 @@
</li>
</comps>
</HediffDef>
<HediffDef>
<defName>WULA_NanoRepairHediff</defName>
<label>纳米维修</label>
<description>乌拉帝国的机械体集成了纳米修复系统,只要有电量,它们就能一直修复机械体受到的损伤——这套系统的设计使其需要在一段时间内未受到伤害才能启动。</description>
<hediffClass>HediffWithComps</hediffClass>
<defaultLabelColor>(0.6, 0.4, 0.8)</defaultLabelColor>
<isBad>false</isBad>
<scenarioCanAdd>false</scenarioCanAdd>
<comps>
</comps>
<stages>
<li>
<label>启动</label>
<minSeverity>0</minSeverity>
</li>
<li>
<label>休眠</label>
<minSeverity>1</minSeverity>
</li>
</stages>
<comps>
<li Class="WulaFallenEmpire.HediffCompProperties_NanoRepair">
<activeSeverity>0.5</activeSeverity>
<inactiveSeverity>1.5</inactiveSeverity>
<minEnergyThreshold>0.1</minEnergyThreshold>
<repairCostPerHP>0.02</repairCostPerHP>
<repairCooldownAfterDamage>600</repairCooldownAfterDamage>
</li>
</comps>
</HediffDef>
<HediffDef ParentName="ImplantHediffBase">
<defName>WULA_Addons_Antenna_Hediff_Base</defName>
<hediffClass>Hediff_Mechlink</hediffClass>
<label>机械指挥节点</label>
<description>乌拉帝国合成人脑袋上有一对天线,她们可以使用这套通讯设备与乌拉帝国舰队通讯。</description>
<descriptionShort>一对可以与舰队通讯的天线。</descriptionShort>
<isBad>false</isBad>
<duplicationAllowed>false</duplicationAllowed>
<keepOnBodyPartRestoration>true</keepOnBodyPartRestoration>
<defaultInstallPart>WULA_Addons_Antenna_Bodypart</defaultInstallPart>
<!-- <spawnThingOnRemoved>WULA_Addons_Antenna_Base</spawnThingOnRemoved> -->
<comps>
<li Class="WulaFallenEmpire.HediffCompProperties_MakesMechanitor"/>
<li Class="HediffCompProperties_GiveAbility">
<abilityDefs>
<li>WULA_CallBattleShip</li>
</abilityDefs>
</li>
</comps>
</HediffDef>
<HediffDef>
<defName>WULA_ChargingHediff</defName>
<label>能量充盈</label>
@@ -301,35 +352,4 @@
</stages>
<isBad>false</isBad>
</HediffDef>
<HediffDef>
<defName>WULA_NanoRepairHediff</defName>
<label>纳米维修</label>
<description>乌拉帝国的机械体集成了纳米修复系统,只要有电量,它们就能一直修复机械体受到的损伤——这套系统的设计使其需要在一段时间内未受到伤害才能启动。</description>
<hediffClass>HediffWithComps</hediffClass>
<defaultLabelColor>(0.6, 0.4, 0.8)</defaultLabelColor>
<isBad>false</isBad>
<scenarioCanAdd>false</scenarioCanAdd>
<comps>
</comps>
<stages>
<li>
<label>启动</label>
<minSeverity>0</minSeverity>
</li>
<li>
<label>休眠</label>
<minSeverity>1</minSeverity>
</li>
</stages>
<comps>
<li Class="WulaFallenEmpire.HediffCompProperties_NanoRepair">
<activeSeverity>0.5</activeSeverity>
<inactiveSeverity>1.5</inactiveSeverity>
<minEnergyThreshold>0.1</minEnergyThreshold>
<repairCostPerHP>0.02</repairCostPerHP>
<repairCooldownAfterDamage>600</repairCooldownAfterDamage>
</li>
</comps>
</HediffDef>
</Defs>

View File

@@ -1,41 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef ParentName="WulaWall">
<defName>WulaWall_Indoor</defName>
<label>乌拉帝国饰板</label>
<description>乌拉帝国非承重墙体,相当厚实,能够抵御大量伤害,并且拥有气密性,可以用在飞船外壳上。</description>
</ThingDef>
<TerrainDef ParentName="FloorBase">
<defName>WulaFloor</defName>
<label>乌拉帝国地板</label>
<description>乌拉帝国堡垒中使用的地板,美观易清洁的同时也做了防火处理。</description>
<texturePath>Wula/Building/WULA_Floor</texturePath>
<uiIconPath>Wula/Building/WULA_Floor_Icon</uiIconPath>
<color>(140,140,140)</color>
<edgeType>Hard</edgeType>
<renderPrecedence>70</renderPrecedence>
<isPaintable>true</isPaintable>
<statBases>
<Beauty>3</Beauty>
<WorkToBuild>100</WorkToBuild>
<CleaningTimeFactor>0.5</CleaningTimeFactor>
<Flammability>0</Flammability>
</statBases>
<!-- <costStuffCount>3</costStuffCount> -->
<!-- <stuffCategories>
<li>Fabric</li>
<li>Leathery</li>
</stuffCategories> -->
<costList>
<Steel>3</Steel>
</costList>
<designationHotKey>Misc6</designationHotKey>
<researchPrerequisites>
<li>WULA_Structure_Technology</li>
</researchPrerequisites>
<uiOrder>1138</uiOrder>
</TerrainDef>
</Defs>

View File

@@ -412,75 +412,6 @@
</comps>
</ThingDef>
<!-- 充电器 -->
<ThingDef ParentName="BaseMechCharger">
<defName>WULA_War_Machine_Recharger</defName>
<label>乌拉帝国充电站</label>
<description>一个允许所有大小类型的乌拉帝国机械体进行充电的充电站,不支持合成人的充能。由于其根基埋于地下,因此不会阻碍其他殖民者和机械体在其上面的移动。</description>
<graphicData>
<texPath>Wula/Building/WULA_War_Machine_Recharger</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(3,3)</drawSize>
</graphicData>
<interactionCellOffset>(0,0,0)</interactionCellOffset>
<passability>Standable</passability>
<designationCategory>WULA_Buildings</designationCategory>
<statBases>
<MaxHitPoints>250</MaxHitPoints>
<WorkToBuild>8000</WorkToBuild>
<Mass>25</Mass>
<Flammability>0.5</Flammability>
</statBases>
<size>(3,3)</size>
<building>
<requiredMechWeightClasses>
<li>Light</li>
<li>Medium</li>
<li>Heavy</li>
<li>UltraHeavy</li>
</requiredMechWeightClasses>
<barDrawData>
<north>
<preRotationOffset>(0.002166748,-0.3722534)</preRotationOffset>
<size>(0.4398041,0.1365509)</size>
</north>
<south>
<preRotationOffset>(-0.002609305,-0.6002655)</preRotationOffset>
<size>(0.4398041,0.121376)</size>
</south>
<east>
<preRotationOffset>(0.04148867,0.6301422)</preRotationOffset>
<size>(0.4066238,0.1425552)</size>
</east>
<west>
<preRotationOffset>(-0.02767944,0.6171188)</preRotationOffset>
<size>(0.397522,0.1395264)</size>
</west>
</barDrawData>
</building>
<constructionSkillPrerequisite>5</constructionSkillPrerequisite>
<costList>
<Steel>250</Steel>
<ComponentIndustrial>2</ComponentIndustrial>
<WULA_Charge_Cube>1</WULA_Charge_Cube>
</costList>
<researchPrerequisites>
<li>WULA_Machine_Productor_Technology</li>
</researchPrerequisites>
<comps>
<li Class="CompProperties_ThingContainer">
<compClass>CompThingContainer</compClass>
<stackLimit>10</stackLimit>
<drawContainedThing>false</drawContainedThing>
<dropEffecterDef>MechChargerWasteRemoved</dropEffecterDef>
</li>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>400</basePowerConsumption>
</li>
</comps>
</ThingDef>
<!-- 联络台 -->
<ThingDef ParentName="BuildingBase">
<defName>WULA_Communicator_Station</defName>

View File

@@ -357,6 +357,36 @@
<uiIconPath>Wula/Building/Door/WulaAutodoor</uiIconPath>
<designationHotKey>Misc2</designationHotKey>
</ThingDef>
<TerrainDef ParentName="FloorBase">
<defName>WulaFloor</defName>
<label>乌拉帝国地板</label>
<description>乌拉帝国堡垒中使用的地板,美观易清洁的同时也做了防火处理。</description>
<texturePath>Wula/Building/WULA_Floor</texturePath>
<uiIconPath>Wula/Building/WULA_Floor_Icon</uiIconPath>
<color>(140,140,140)</color>
<edgeType>Hard</edgeType>
<renderPrecedence>70</renderPrecedence>
<isPaintable>true</isPaintable>
<statBases>
<Beauty>3</Beauty>
<WorkToBuild>100</WorkToBuild>
<CleaningTimeFactor>0.5</CleaningTimeFactor>
<Flammability>0</Flammability>
</statBases>
<!-- <costStuffCount>3</costStuffCount> -->
<!-- <stuffCategories>
<li>Fabric</li>
<li>Leathery</li>
</stuffCategories> -->
<costList>
<Steel>3</Steel>
</costList>
<designationHotKey>Misc6</designationHotKey>
<researchPrerequisites>
<li>WULA_Structure_Technology</li>
</researchPrerequisites>
<uiOrder>1138</uiOrder>
</TerrainDef>
<!-- 猫猫地堡 -->
<ThingDef ParentName="BuildingBase">
@@ -771,13 +801,105 @@
</ThingDef>
<!-- 制造机 -->
<ThingDef ParentName="BuildingBase">
<defName>WULA_WeaponArmor_Productor_Cleanzone</defName>
<label>乌拉帝国作业通讯台(装备)</label>
<description>清理出一块场地并准备好资源,使得乌拉帝国母舰可以向此处投放建筑。建造好的信标可以收起或移至他处,但是必须要有母舰或者后勤舰在上空才能投送建筑。\n\n乌拉帝国作业通讯台是用于联络乌拉帝国母舰和后勤舰并下达武器、装备订单的特殊通讯台。这些武器装备的生产不需要殖民地参与只需要使用乌拉帝国物资交换舱将材料发送给帝国舰队然后根据材料数量下单即可。</description>
<uiIconPath>Wula/Building/WULA_MaintenancePod_south</uiIconPath>
<minifiedDef>MinifiedThing</minifiedDef>
<tickerType>Normal</tickerType>
<thingCategories Inherit="False">
<li>BuildingsMisc</li>
</thingCategories>
<size>(5,5)</size>
<graphicData>
<texPath>Wula/Building/WULA_Dropping_Building_Cleanzone</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(5,5)</drawSize>
<damageData>
<enabled>false</enabled>
</damageData>
</graphicData>
<altitudeLayer>Building</altitudeLayer>
<passability>PassThroughOnly</passability>
<castEdgeShadows>false</castEdgeShadows>
<fillPercent>0.5</fillPercent>
<canOverlapZones>false</canOverlapZones>
<pathCost>0</pathCost>
<hasInteractionCell>false</hasInteractionCell>
<!-- <interactionCellOffset>(0,0,-2)</interactionCellOffset> -->
<statBases>
<MaxHitPoints>1</MaxHitPoints>
<WorkToBuild>1</WorkToBuild>
<Mass>1</Mass>
<Flammability>0</Flammability>
</statBases>
<constructionSkillPrerequisite>0</constructionSkillPrerequisite>
<resourcesFractionWhenDeconstructed>1</resourcesFractionWhenDeconstructed>
<costList>
<Steel>50</Steel>
</costList>
<building>
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
</building>
<designationCategory>WULA_Buildings</designationCategory>
<comps>
<li Class="WulaFallenEmpire.CompProperties_SkyfallerCaller">
<skyfallerDef>WULA_WeaponArmor_Productor_Incoming</skyfallerDef> <!-- 替换为您想要的Skyfaller类型 -->
<destroyBuilding>true</destroyBuilding>
<delayTicks>1</delayTicks>
<requiredFlyOverType>WULA_Flyover_BaseBuilder</requiredFlyOverType>
<allowThinRoof>true</allowThinRoof>
<allowThickRoof>false</allowThickRoof>
<requiredFlyOverLabel>乌拉帝国母舰或后勤舰</requiredFlyOverLabel> <!-- 新增显示标签 -->
</li>
</comps>
</ThingDef>
<ThingDef ParentName="SkyfallerBase">
<defName>WULA_WeaponArmor_Productor_Incoming</defName>
<label>乌拉帝国作业通讯台(空投中)</label>
<size>(5,5)</size>
<graphicData>
<texPath>Wula/Building/WULA_MaintenancePod_Incoming</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>CutoutFlying</shaderType>
<drawSize>(5,5)</drawSize>
</graphicData>
<skyfaller>
<movementType>Accelerate</movementType>
<shadow>Things/Skyfaller/SkyfallerShadowDropPod</shadow>
<shadowSize>(5, 5)</shadowSize>
<anticipationSound>DropPod_Fall</anticipationSound>
<anticipationSoundTicks>100</anticipationSoundTicks>
<impactSound>Explosion_Vaporize</impactSound>
<moteSpawnTime>0.05</moteSpawnTime>
<motesPerCell>1</motesPerCell>
<cameraShake>1</cameraShake>
<angleCurve>
<points>
<li>(0,0)</li>
<li>(1, 1)</li>
</points>
</angleCurve>
<spawnThing>WULA_WeaponArmor_Productor</spawnThing>
</skyfaller>
<comps>
<li Class="CompProperties_Effecter">
<effecterDef>Smoke_Joint</effecterDef>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="BenchBase">
<defName>WULA_WeaponArmor_Productor</defName>
<label>乌拉帝国作业通讯台</label>
<label>乌拉帝国作业通讯台(装备)</label>
<description>一台用于联络乌拉帝国母舰和后勤舰并下达武器、装备订单的特殊通讯台。这些武器装备的生产不需要殖民地参与,只需要使用乌拉帝国物资交换舱将材料发送给帝国舰队,然后根据材料数量下单即可。</description>
<thingClass>WulaFallenEmpire.Building_GlobalWorkTable</thingClass>
<drawerType>MapMeshAndRealTime</drawerType>
<tickerType>Normal</tickerType>
<minifiedDef>MinifiedThing</minifiedDef>
<thingCategories Inherit="False">
<li>BuildingsMisc</li>
</thingCategories>
<modExtensions>
<li Class="WulaFallenEmpire.GlobalWorkTableAirdropExtension">
<maxRange>50</maxRange>
@@ -787,9 +909,9 @@
</li>
</modExtensions>
<graphicData>
<texPath>Wula/Building/WULA_Cube_Productor_BIO</texPath>
<texPath>Wula/Building/WULA_WeaponArmor_Productor</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(1,1)</drawSize>
<drawSize>(5,5)</drawSize>
<damageData>
<enabled>false</enabled>
</damageData>
@@ -799,7 +921,7 @@
</graphicData>
<constructEffect>ConstructMetal</constructEffect>
<costList>
<Steel>50</Steel>
<Steel>1</Steel>
</costList>
<altitudeLayer>Building</altitudeLayer>
<castEdgeShadows>false</castEdgeShadows>
@@ -811,13 +933,12 @@
<MaxHitPoints>180</MaxHitPoints>
<Flammability>1.0</Flammability>
</statBases>
<size>(1,1)</size>
<size>(5,5)</size>
<designationCategory>WULA_Buildings</designationCategory>
<uiOrder>2120</uiOrder>
<passability>PassThroughOnly</passability>
<pathCost>50</pathCost>
<hasInteractionCell>True</hasInteractionCell>
<interactionCellOffset>(0,0,-1)</interactionCellOffset>
<hasInteractionCell>false</hasInteractionCell>
<surfaceType>Item</surfaceType>
<researchPrerequisites>
<li>WULA_Base_Technology</li>
@@ -826,14 +947,175 @@
<li>WulaFallenEmpire.ITab_GlobalBills</li>
</inspectorTabs>
<comps>
<li Class="WulaFallenEmpire.CompProperties_FactionSetter">
<!-- <factionDef>Mechanoid</factionDef> 不写默认玩家派系-->
<usePlayerFactionIfNull>true</usePlayerFactionIfNull>
<overrideExistingFaction>false</overrideExistingFaction>
</li>
</comps>
<placeWorkers>
<li>PlaceWorker_PreventInteractionSpotOverlap</li>
</placeWorkers>
</ThingDef>
<!-- 电容器 -->
<ThingDef ParentName="BuildingBase">
<defName>WULA_Machine_Recharger_Cleanzone</defName>
<label>乌拉帝国充电站</label>
<description>清理出一块场地并准备好资源,使得乌拉帝国母舰可以向此处投放建筑。建造好的信标可以收起或移至他处,但是必须要有母舰或者后勤舰在上空才能投送建筑。\n\n乌拉帝国充电站是能够储存大量电量并允许所有大小类型的乌拉帝国机械体进行充电的充电站不支持合成人的充能。由于其根基埋于地下因此不会阻碍其他殖民者和机械体在其上面的移动。</description>
<uiIconPath>Wula/Building/WULA_Machine_Recharger</uiIconPath>
<minifiedDef>MinifiedThing</minifiedDef>
<tickerType>Normal</tickerType>
<thingCategories Inherit="False">
<li>BuildingsMisc</li>
</thingCategories>
<graphicData>
<texPath>Wula/Building/WULA_Dropping_Building_Cleanzone</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(3,3)</drawSize>
<damageData>
<enabled>false</enabled>
</damageData>
</graphicData>
<altitudeLayer>Building</altitudeLayer>
<passability>PassThroughOnly</passability>
<castEdgeShadows>false</castEdgeShadows>
<fillPercent>0.5</fillPercent>
<canOverlapZones>false</canOverlapZones>
<pathCost>0</pathCost>
<hasInteractionCell>false</hasInteractionCell>
<!-- <interactionCellOffset>(0,0,-2)</interactionCellOffset> -->
<statBases>
<MaxHitPoints>1</MaxHitPoints>
<WorkToBuild>1</WorkToBuild>
<Mass>1</Mass>
<Flammability>0</Flammability>
</statBases>
<size>(3,3)</size>
<constructionSkillPrerequisite>0</constructionSkillPrerequisite>
<resourcesFractionWhenDeconstructed>1</resourcesFractionWhenDeconstructed>
<costList>
<Steel>250</Steel>
<ComponentIndustrial>2</ComponentIndustrial>
</costList>
<building>
<!-- <isMealSource>true</isMealSource> -->
<spawnedConceptLearnOpportunity>BillsTab</spawnedConceptLearnOpportunity>
<heatPerTickWhileWorking>0.10</heatPerTickWhileWorking>
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
</building>
<designationCategory>WULA_Buildings</designationCategory>
<comps>
<li Class="WulaFallenEmpire.CompProperties_SkyfallerCaller">
<skyfallerDef>WULA_Machine_Recharger_Incoming</skyfallerDef> <!-- 替换为您想要的Skyfaller类型 -->
<destroyBuilding>true</destroyBuilding>
<delayTicks>1</delayTicks>
<requiredFlyOverType>WULA_Flyover_BaseBuilder</requiredFlyOverType>
<allowThinRoof>true</allowThinRoof>
<allowThickRoof>false</allowThickRoof>
<requiredFlyOverLabel>乌拉帝国母舰或后勤舰</requiredFlyOverLabel> <!-- 新增显示标签 -->
</li>
</comps>
</ThingDef>
<ThingDef ParentName="SkyfallerBase">
<defName>WULA_Machine_Recharger_Incoming</defName>
<label>乌拉帝国充电站(空投中)</label>
<size>(3,3)</size>
<graphicData>
<texPath>Wula/Building/WULA_MaintenancePod_Incoming</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>CutoutFlying</shaderType>
<drawSize>(3,3)</drawSize>
</graphicData>
<skyfaller>
<movementType>Accelerate</movementType>
<shadow>Things/Skyfaller/SkyfallerShadowDropPod</shadow>
<shadowSize>(2, 2)</shadowSize>
<anticipationSound>DropPod_Fall</anticipationSound>
<anticipationSoundTicks>100</anticipationSoundTicks>
<impactSound>Explosion_Vaporize</impactSound>
<moteSpawnTime>0.05</moteSpawnTime>
<motesPerCell>1</motesPerCell>
<cameraShake>1</cameraShake>
<angleCurve>
<points>
<li>(0,0)</li>
<li>(1, 1)</li>
</points>
</angleCurve>
<spawnThing>WULA_Machine_Recharger</spawnThing>
</skyfaller>
<comps>
<li Class="CompProperties_Effecter">
<effecterDef>Smoke_Joint</effecterDef>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="BaseMechCharger">
<defName>WULA_Machine_Recharger</defName>
<label>乌拉帝国充电站</label>
<description>一个能够储存大量电量并允许所有大小类型的乌拉帝国机械体进行充电的充电站,不支持合成人的充能。由于其根基埋于地下,因此不会阻碍其他殖民者和机械体在其上面的移动。</description>
<graphicData>
<texPath>Wula/Building/WULA_Machine_Recharger</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(3,3)</drawSize>
</graphicData>
<interactionCellOffset>(0,0,0)</interactionCellOffset>
<passability>Standable</passability>
<designationCategory>WULA_Buildings</designationCategory>
<statBases>
<MaxHitPoints>250</MaxHitPoints>
<WorkToBuild>8000</WorkToBuild>
<Mass>25</Mass>
<Flammability>0.5</Flammability>
</statBases>
<size>(3,3)</size>
<building>
<requiredMechWeightClasses>
<li>Light</li>
<li>Medium</li>
<li>Heavy</li>
<li>UltraHeavy</li>
</requiredMechWeightClasses>
<barDrawData>
<north>
<preRotationOffset>(0.002166748,-0.3722534)</preRotationOffset>
<size>(0.4398041,0.1365509)</size>
</north>
<south>
<preRotationOffset>(-0.002609305,-0.6002655)</preRotationOffset>
<size>(0.4398041,0.121376)</size>
</south>
<east>
<preRotationOffset>(0.04148867,0.6301422)</preRotationOffset>
<size>(0.4066238,0.1425552)</size>
</east>
<west>
<preRotationOffset>(-0.02767944,0.6171188)</preRotationOffset>
<size>(0.397522,0.1395264)</size>
</west>
</barDrawData>
</building>
<constructionSkillPrerequisite>5</constructionSkillPrerequisite>
<costList>
<Steel>250</Steel>
<ComponentIndustrial>2</ComponentIndustrial>
<WULA_Charge_Cube>1</WULA_Charge_Cube>
</costList>
<researchPrerequisites>
<li>WULA_Machine_Productor_Technology</li>
</researchPrerequisites>
<comps>
<li Class="CompProperties_Battery">
<storedEnergyMax>2500</storedEnergyMax>
<efficiency>0.5</efficiency>
<shortCircuitInRain>false</shortCircuitInRain>
<transmitsPower>true</transmitsPower>
</li>
<li Class="CompProperties_ThingContainer">
<compClass>CompThingContainer</compClass>
<stackLimit>10</stackLimit>
<drawContainedThing>false</drawContainedThing>
<dropEffecterDef>MechChargerWasteRemoved</dropEffecterDef>
</li>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>400</basePowerConsumption>
</li>
</comps>
</ThingDef>
</Defs>

View File

@@ -61,39 +61,6 @@
</li>
</comps>
</ThingDef>
<AbilityDef>
<defName>WULA_CallBattleShip</defName>
<label>帝国战舰召唤</label>
<description>发送增援请求,呼叫乌拉帝国舰队的战舰前往殖民地</description>
<iconPath>Wula/UI/Abilities/WULA_CallBattleShip</iconPath>
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
<casterMustBeCapableOfViolence>false</casterMustBeCapableOfViolence>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<drawAimPie>false</drawAimPie>
<requireLineOfSight>false</requireLineOfSight>
<nonInterruptingSelfCast>true</nonInterruptingSelfCast>
<warmupTime>1</warmupTime>
<range>19.9</range>
<targetable>true</targetable>
<targetParams>
<canTargetSelf>True</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_AbilitySpawnFlyOver">
<flyOverDef>WULA_BattleShip</flyOverDef>
<flyOverType>Standard</flyOverType>
<flightSpeed>0.01</flightSpeed>
<altitude>20</altitude>
<startPosition>MapEdge</startPosition>
<endPosition>OppositeMapEdge</endPosition>
<playFlyOverSound>true</playFlyOverSound>
</li>
</comps>
</AbilityDef>
<ThingDef Name="WULA_Fighter_Base" ParentName="EtherealThingBase" Abstract="True">
<label>乌拉帝国战机</label>
<thingClass>WulaFallenEmpire.FlyOver</thingClass>
@@ -214,62 +181,6 @@
</li>
</modExtensions>
</ThingDef>
<AbilityDef>
<defName>WULA_Spawn_Fighter_Rocket</defName>
<label>战机巡航</label>
<description>指挥乌拉帝国的战机,中速掠过战场,使用其导弹对目标区域发起打击。\n\n在飞行期间它会使用磁轨炮打击遇到的敌人。</description>
<!-- <iconPath>ArachnaeSwarm/UI/Abilities/ARA_Spawn_ARA_HiveCorvette_Rocket</iconPath> -->
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
<casterMustBeCapableOfViolence>false</casterMustBeCapableOfViolence>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<drawAimPie>false</drawAimPie>
<requireLineOfSight>false</requireLineOfSight>
<warmupTime>1</warmupTime>
<range>120</range>
<targetable>true</targetable>
<targetParams>
<canTargetSelf>false</canTargetSelf>
<canTargetLocations>true</canTargetLocations>
</targetParams>
</verbProperties>
<comps>
<!-- <li Class="WulaFallenEmpire.CompProperties_AircraftStrike">
<requiredAircraftType>ARA_HiveCorvette_Entity</requiredAircraftType>
<aircraftCooldownTicks>5000</aircraftCooldownTicks>
<aircraftsPerUse>1</aircraftsPerUse>
</li> -->
<li Class="WulaFallenEmpire.CompProperties_AbilitySpawnFlyOver">
<flyOverDef>WULA_Fighter_A</flyOverDef>
<flyOverType>GroundStrafing</flyOverType>
<flightSpeed>3</flightSpeed>
<altitude>20</altitude>
<playFlyOverSound>true</playFlyOverSound>
<approachType>Perpendicular</approachType>
<!-- 扫射参数 -->
<enableGroundStrafing>true</enableGroundStrafing>
<strafeWidth>4</strafeWidth>
<strafeLength>25</strafeLength>
<strafeFireChance>0.13</strafeFireChance>
<!-- 新增:控制最终射弹数量 -->
<minStrafeProjectiles>12</minStrafeProjectiles>
<maxStrafeProjectiles>16</maxStrafeProjectiles>
<!-- 只传递信号,不传递具体参数 -->
<enableSectorSurveillance>true</enableSectorSurveillance>
<!-- 可视化 -->
<showStrafePreview>true</showStrafePreview>
<strafePreviewColor>(1.0,0.3,0.1,0.2)</strafePreviewColor>
<!-- 预览配置 -->
<showSectorPreview>true</showSectorPreview>
<sectorPreviewColor>(0.3,0.7,1.0,0.3)</sectorPreviewColor>
</li>
</comps>
</AbilityDef>
<ThingDef ParentName="WULA_Fighter_Base">
<defName>WULA_Fighter_B</defName>
<comps>
@@ -300,47 +211,4 @@
</li>
</comps>
</ThingDef>
<AbilityDef>
<defName>WULA_Spawn_Fighter_RailGun</defName>
<label>战机巡航(磁轨炮)</label>
<description>指挥乌拉帝国的战机,低速掠过战场,使用其磁轨炮打击遇到的所有敌人。</description>
<!-- <iconPath>ArachnaeSwarm/UI/Abilities/ARA_Spawn_ARA_HiveCorvette_Rocket</iconPath> -->
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
<casterMustBeCapableOfViolence>false</casterMustBeCapableOfViolence>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<drawAimPie>false</drawAimPie>
<requireLineOfSight>false</requireLineOfSight>
<warmupTime>1</warmupTime>
<range>120</range>
<targetable>true</targetable>
<targetParams>
<canTargetSelf>false</canTargetSelf>
<canTargetLocations>true</canTargetLocations>
</targetParams>
</verbProperties>
<comps>
<!-- <li Class="WulaFallenEmpire.CompProperties_AircraftStrike">
<requiredAircraftType>ARA_HiveCorvette_Entity</requiredAircraftType>
<aircraftCooldownTicks>5000</aircraftCooldownTicks>
<aircraftsPerUse>1</aircraftsPerUse>
</li> -->
<li Class="WulaFallenEmpire.CompProperties_AbilitySpawnFlyOver">
<flyOverDef>WULA_Fighter_B</flyOverDef>
<flyOverType>GroundStrafing</flyOverType>
<flightSpeed>3</flightSpeed>
<altitude>20</altitude>
<playFlyOverSound>true</playFlyOverSound>
<approachType>Perpendicular</approachType>
<!-- 只传递信号,不传递具体参数 -->
<enableSectorSurveillance>true</enableSectorSurveillance>
<!-- 预览配置 -->
<showSectorPreview>true</showSectorPreview>
<sectorPreviewColor>(0.3,0.7,1.0,0.3)</sectorPreviewColor>
</li>
</comps>
</AbilityDef>
</Defs>

View File

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 148 KiB

View File

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB