拒止舰队雏形

This commit is contained in:
2025-11-25 10:10:56 +08:00
parent 89f3ec78ad
commit f73f4f55e3
6 changed files with 303 additions and 133 deletions

View File

@@ -1,10 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<!-- 基础单位-舰编队 -->
<!-- 舰编队 -->
<AbilityDef>
<defName>WULA_CallMotherShip</defName>
<label>呼叫帝国母舰编队</label>
<description>发送增援请求,呼叫乌拉帝国母舰舰队前往殖民地的高空轨道,包含4艘可以发起轨道炮击的巡洋舰和1艘可以提供航空器、炮击和轨道支援的母舰。</description>
<iconPath>Wula/UI/Abilities/WULA_CallMotherShip</iconPath>
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
<casterMustBeCapableOfViolence>false</casterMustBeCapableOfViolence>
<displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
<disableGizmoWhileUndrafted>false</disableGizmoWhileUndrafted>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<drawAimPie>true</drawAimPie>
<requireLineOfSight>false</requireLineOfSight>
<nonInterruptingSelfCast>true</nonInterruptingSelfCast>
<warmupTime>5</warmupTime>
<range>-1</range>
<targetable>false</targetable>
<targetParams>
<canTargetLocations>false</canTargetLocations>
<canTargetSelf>true</canTargetSelf>
</targetParams>
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_AircraftStrike">
<requiredAircraftType>WULA_MotherShip_Entity</requiredAircraftType>
<aircraftCooldownTicks>640000</aircraftCooldownTicks>
<aircraftsPerUse>1</aircraftsPerUse>
</li>
<li Class="WulaFallenEmpire.CompProperties_AbilitySpawnFlyOver">
<flyOverDef>WULA_MotherShip</flyOverDef>
<flyOverType>Standard</flyOverType>
<flightSpeed>0.01</flightSpeed>
<altitude>20</altitude>
<startPosition>MapEdge</startPosition>
<endPosition>OppositeMapEdge</endPosition>
<playFlyOverSound>true</playFlyOverSound>
</li>
<li Class="WulaFallenEmpire.CompProperties_BlockedByFlyOverFacility">
<blockedMessage>航道堵塞:已经有一艘大型舰船在殖民地上空</blockedMessage>
<!-- 可选指定特定的FlyOver定义 -->
<!-- <specificFlyOverDef>ARA_HiveShip</specificFlyOverDef> -->
<!-- 可选:指定特定的设施名称 -->
<!-- <requiredFacility>BombardmentFacility</requiredFacility> -->
</li>
</comps>
</AbilityDef>
<!-- 战舰编队 -->
<AbilityDef>
<defName>WULA_CallFleet</defName>
<label>帝国舰队请求</label>
<description>发送增援请求,呼叫乌拉帝国舰队前往殖民地的高空轨道,包含2艘可以发起轨道炮击的巡洋舰和1艘可以提供航空器支援的航空舰。</description>
<label>呼叫帝国巡洋舰编队</label>
<description>发送增援请求,呼叫乌拉帝国舰队前往殖民地的高空轨道,包含2艘可以发起轨道炮击的巡洋舰和1艘可以提供航空器的航空舰。</description>
<iconPath>Wula/UI/Abilities/WULA_CallBattleShip</iconPath>
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
@@ -48,12 +96,12 @@
</li>
</comps>
</AbilityDef>
<!-- 母舰编队 -->
<!-- 防御编队 -->
<AbilityDef>
<defName>WULA_CallMotherShip</defName>
<label>呼叫帝国母舰</label>
<description>发送增援请求,呼叫乌拉帝国母舰舰队前往殖民地的高空轨道,包含2艘可以发起轨道炮击的巡洋舰和1艘可以提供航空器和炮击支援的舰。</description>
<iconPath>Wula/UI/Abilities/WULA_CallMotherShip</iconPath>
<defName>WULA_CallConstructionShip</defName>
<label>呼叫帝国拒止舰编队</label>
<description>发送增援请求,呼叫乌拉帝国拒止舰队前往殖民地的高空轨道包含1艘可以提供轨道支援的拒止舰。</description>
<iconPath>Wula/UI/Abilities/WULA_CallConstructionShip</iconPath>
<cooldownTicksRange>1</cooldownTicksRange>
<hotKey>Misc12</hotKey>
<casterMustBeCapableOfViolence>false</casterMustBeCapableOfViolence>
@@ -74,12 +122,12 @@
</verbProperties>
<comps>
<li Class="WulaFallenEmpire.CompProperties_AircraftStrike">
<requiredAircraftType>WULA_MotherShip_Entity</requiredAircraftType>
<requiredAircraftType>WULA_ConstructionShip_Entity</requiredAircraftType>
<aircraftCooldownTicks>640000</aircraftCooldownTicks>
<aircraftsPerUse>1</aircraftsPerUse>
</li>
<li Class="WulaFallenEmpire.CompProperties_AbilitySpawnFlyOver">
<flyOverDef>WULA_MotherShip</flyOverDef>
<flyOverDef>WULA_ConstructionShip</flyOverDef>
<flyOverType>Standard</flyOverType>
<flightSpeed>0.01</flightSpeed>
<altitude>20</altitude>

View File

@@ -57,6 +57,7 @@
<li>Wula_FM_Switc_None</li>
<li>Wula_FM_Switc_Artillery</li>
<li>Wula_FM_Switc_Aircraft</li>
<li>Wula_FM_Switc_Construction</li>
</availableHediffs>
<defaultHediffIndex>0</defaultHediffIndex>
<gizmoIconPath>Wula/UI/Commands/WULA_Antenna_Switch</gizmoIconPath>
@@ -85,7 +86,7 @@
<HediffDef>
<defName>Wula_FM_Switc_Artillery</defName>
<label>调频(火炮)</label>
<description>允许乌拉帝国的合成人呼叫轨道火力支援,包含一系列精准度较差但是覆盖范围广的轰炸能力,一般需要有战舰部署在轨道上才能启动。</description>
<description>允许乌拉帝国的合成人呼叫轨道炮击,包含一系列精准度较差但是覆盖范围广的轰炸能力,一般需要有攻击型战舰部署在轨道上才能启动。</description>
<hediffClass>Hediff_High</hediffClass>
<everCurableByItem>false</everCurableByItem>
<duplicationAllowed>false</duplicationAllowed>
@@ -117,7 +118,7 @@
<HediffDef>
<defName>Wula_FM_Switc_Aircraft</defName>
<label>调频(战机)</label>
<description>允许乌拉帝国的合成人呼叫空中火力,包含一系列精准迅速的近地密接支援,每一艘战机会独立计算袭击冷却。</description>
<description>允许乌拉帝国的合成人呼叫空中火力,包含一系列精准迅速的近地密接支援,每一艘战机会独立计算袭击冷却,一般需要有攻击型战舰部署在轨道上才能启动</description>
<hediffClass>Hediff_High</hediffClass>
<everCurableByItem>false</everCurableByItem>
<duplicationAllowed>false</duplicationAllowed>
@@ -146,4 +147,28 @@
</li>
</comps>
</HediffDef>
<HediffDef>
<defName>Wula_FM_Switc_Construction</defName>
<label>调频(支援)</label>
<description>允许乌拉帝国的合成人呼叫舰队支援,包含一系列防御性能力和生产加速能力,一般需要有拒止舰队部署在轨道上才能启动。</description>
<hediffClass>Hediff_High</hediffClass>
<everCurableByItem>false</everCurableByItem>
<duplicationAllowed>false</duplicationAllowed>
<keepOnBodyPartRestoration>True</keepOnBodyPartRestoration>
<isBad>false</isBad>
<stages>
<li>
<becomeVisible>false</becomeVisible>
</li>
</stages>
<comps>
<li Class="HediffCompProperties_GiveAbility">
<abilityDefs>
<li>WULA_CallMotherShip</li>
<li>WULA_CallConstructionShip</li>
<li>WULA_ClearFlightPath</li>
</abilityDefs>
</li>
</comps>
</HediffDef>
</Defs>

View File

@@ -180,41 +180,6 @@
<offDays>8</offDays>
<numIncidentsRange>1</numIncidentsRange>
</li>
<!-- 乌拉族初始任务 -->
<li Class="WulaFallenEmpire.StorytellerCompProperties_ImportantQuestWithFactionFilter">
<fireAfterDaysPassed>1</fireAfterDaysPassed>
<questIncident>WULA_GiveQuest_Intro_Spy</questIncident>
<questDef>WULA_Intro_Spy</questDef>
<useFactionFilter>true</useFactionFilter> <!-- 添加这一行 -->
<defaultBehavior>Allow</defaultBehavior> <!-- 明确指定默认行为 -->
<factionTypeBlacklist>
<li>WULA_Awakened_Synth</li>
</factionTypeBlacklist>
<!-- <factionTypeWhitelist>
<li>Empire</li>
</factionTypeWhitelist> -->
<allowedTargetTags>
<li>Map_PlayerHome</li>
</allowedTargetTags>
</li>
<!-- 乌拉族税收任务 -->
<li Class="WulaFallenEmpire.StorytellerCompProperties_SimpleTechnologyTrigger">
<technology>WULA_Colony_License_LV1_Technology</technology>
<incident>WULA_GiveQuest_Base_Tex</incident>
<questDef>WULA_Base_Tex_Quest</questDef>
<!-- 时间配置 -->
<fireAfterDaysPassed>0</fireAfterDaysPassed> <!-- 游戏开始后立即开始检测 -->
<checkIntervalDays>15</checkIntervalDays> <!-- 每5天检查一次 -->
<!-- 可选配置 -->
<preventDuplicateQuests>false</preventDuplicateQuests>
<debugLogging>false</debugLogging>
<requiredFaction>Wula_PIA_Legion_Faction</requiredFaction>
</li>
</comps>
</StorytellerDef>
</Defs>

View File

@@ -74,7 +74,7 @@
<ThingDef ParentName="BuildingBase">
<defName>WULA_Fake_AircraftCarrier_Beacon_Building</defName>
<label>帝国舰队信标</label>
<description>用于向乌拉帝国舰队提交资源的信标可以换取一支帝国舰队的额外征调权包含2艘可以发起轨道炮击的巡洋舰和1艘可以提供航空器支援的航空舰。</description>
<description>用于向乌拉帝国舰队提交资源的信标,可以换取一支帝国攻击舰队的额外征调权包含2艘可以发起轨道炮击的巡洋舰和1艘可以提供航空器支援的航空舰。</description>
<thingClass>Building</thingClass>
<preventDroppingThingsOn>true</preventDroppingThingsOn>
<altitudeLayer>Building</altitudeLayer>
@@ -145,7 +145,85 @@
</ThingDef>
<ThingDef>
<defName>WULA_AircraftCarrier_Entity</defName>
<label>帝国航空舰</label>
<label>帝国攻击舰队</label>
<description>什么这是个记录数量用的thingdef你不应该在任何场合下看到这个。</description>
<thingClass>Thing</thingClass>
</ThingDef>
<ThingDef ParentName="BuildingBase">
<defName>WULA_Fake_ConstructionShip_Beacon_Building</defName>
<label>帝国拒止舰信标</label>
<description>用于向乌拉帝国舰队提交资源的信标可以换取一支帝国拒止舰队的额外征调权包含1艘可以提供轨道支援的拒止舰。\n\n帝国拒止舰是搭载了移动工厂的防御型装舰种它们可以为各殖民地提供非攻击性的支援以从猛烈的袭击中保护殖民地或加速殖民地的生产发展。</description>
<thingClass>Building</thingClass>
<preventDroppingThingsOn>true</preventDroppingThingsOn>
<altitudeLayer>Building</altitudeLayer>
<designationCategory>WULA_Buildings</designationCategory>
<researchPrerequisites Inherit="False">
<li>WULA_ConstructionShip_Technology</li>
</researchPrerequisites>
<pathCost>50</pathCost>
<blockWind>true</blockWind>
<passability>PassThroughOnly</passability>
<fillPercent>1</fillPercent>
<size>(3,3)</size>
<uiIconPath>Wula/Building/WULA_Fake_ConstructionShip_Beacon_Building</uiIconPath>
<drawHighlight>true</drawHighlight>
<highlightColor>(0.56, 0.62, 0.9)</highlightColor>
<graphicData>
<texPath>Wula/Building/WULA_Flyover_Beacon</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(3,3)</drawSize>
<color>(195,195,195,255)</color>
</graphicData>
<statBases>
<MaxHitPoints>600</MaxHitPoints>
<Flammability>0.5</Flammability>
<WorkToBuild>36000</WorkToBuild>
<Mass>125</Mass>
<Comfort>0.65</Comfort>
</statBases>
<costList>
<WULA_Alloy>300</WULA_Alloy>
<ComponentIndustrial>6</ComponentIndustrial>
</costList>
<tickerType>Normal</tickerType>
<canOverlapZones>true</canOverlapZones>
<rotatable>false</rotatable>
<hasInteractionCell>false</hasInteractionCell>
<defaultPlacingRot>North</defaultPlacingRot>
<selectable>true</selectable>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<soundImpactDefault>BulletImpact_Metal</soundImpactDefault>
<preventSkyfallersLandingOn>true</preventSkyfallersLandingOn>
<drawerType>RealtimeOnly</drawerType>
<repairEffect>ConstructMetal</repairEffect>
<forceDebugSpawnable>true</forceDebugSpawnable>
<building>
<expandHomeArea>false</expandHomeArea>
<destroySound>BuildingDestroyed_Metal_Big</destroySound>
<paintable>true</paintable>
<isInert>true</isInert>
</building>
<comps>
<li Class="WulaFallenEmpire.CompProperties_FactionSetter">
<!-- <factionDef>Mechanoid</factionDef> 不写默认玩家派系-->
<usePlayerFactionIfNull>true</usePlayerFactionIfNull>
<overrideExistingFaction>false</overrideExistingFaction>
</li>
<li Class="WulaFallenEmpire.CompProperties_AircraftHangar">
<aircraftDef>WULA_ConstructionShip_Entity</aircraftDef>
<aircraftCount>1</aircraftCount>
<skyfallerLeaving></skyfallerLeaving>
<autoLaunchEnabled>true</autoLaunchEnabled>
<autoLaunchDelayTicks>1</autoLaunchDelayTicks>
<autoLaunchOnConstruction>true</autoLaunchOnConstruction>
<autoLaunchOnPowerOn>false</autoLaunchOnPowerOn>
</li>
</comps>
</ThingDef>
<ThingDef>
<defName>WULA_ConstructionShip_Entity</defName>
<label>帝国拒止舰队</label>
<description>什么这是个记录数量用的thingdef你不应该在任何场合下看到这个。</description>
<thingClass>Thing</thingClass>
</ThingDef>
@@ -216,84 +294,6 @@
<description>什么这是个记录数量用的thingdef你不应该在任何场合下看到这个。</description>
<thingClass>Thing</thingClass>
</ThingDef>
<ThingDef ParentName="BuildingBase">
<defName>WULA_Fake_ConstructionShip_Beacon_Building</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></description>
<thingClass>Building</thingClass>
<preventDroppingThingsOn>true</preventDroppingThingsOn>
<altitudeLayer>Building</altitudeLayer>
<!-- <designationCategory>WULA_Buildings</designationCategory>
<researchPrerequisites Inherit="False">
<li>WULA_ConstructionShip_Technology</li>
</researchPrerequisites> -->
<pathCost>50</pathCost>
<blockWind>true</blockWind>
<passability>PassThroughOnly</passability>
<fillPercent>1</fillPercent>
<size>(3,3)</size>
<uiIconPath>Wula/Building/WULA_Fake_ConstructionShip_Beacon_Building</uiIconPath>
<drawHighlight>true</drawHighlight>
<highlightColor>(0.56, 0.62, 0.9)</highlightColor>
<graphicData>
<texPath>Wula/Building/WULA_Flyover_Beacon</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(3,3)</drawSize>
<color>(195,195,195,255)</color>
</graphicData>
<statBases>
<MaxHitPoints>600</MaxHitPoints>
<Flammability>0.5</Flammability>
<WorkToBuild>36000</WorkToBuild>
<Mass>125</Mass>
<Comfort>0.65</Comfort>
</statBases>
<costList>
<WULA_Alloy>300</WULA_Alloy>
<ComponentIndustrial>6</ComponentIndustrial>
</costList>
<tickerType>Normal</tickerType>
<canOverlapZones>true</canOverlapZones>
<rotatable>false</rotatable>
<hasInteractionCell>false</hasInteractionCell>
<defaultPlacingRot>North</defaultPlacingRot>
<selectable>true</selectable>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<soundImpactDefault>BulletImpact_Metal</soundImpactDefault>
<preventSkyfallersLandingOn>true</preventSkyfallersLandingOn>
<drawerType>RealtimeOnly</drawerType>
<repairEffect>ConstructMetal</repairEffect>
<forceDebugSpawnable>true</forceDebugSpawnable>
<building>
<expandHomeArea>false</expandHomeArea>
<destroySound>BuildingDestroyed_Metal_Big</destroySound>
<paintable>true</paintable>
<isInert>true</isInert>
</building>
<comps>
<li Class="WulaFallenEmpire.CompProperties_FactionSetter">
<!-- <factionDef>Mechanoid</factionDef> 不写默认玩家派系-->
<usePlayerFactionIfNull>true</usePlayerFactionIfNull>
<overrideExistingFaction>false</overrideExistingFaction>
</li>
<li Class="WulaFallenEmpire.CompProperties_AircraftHangar">
<aircraftDef>WULA_ConstructionShip_Entity</aircraftDef>
<aircraftCount>1</aircraftCount>
<skyfallerLeaving></skyfallerLeaving>
<autoLaunchEnabled>true</autoLaunchEnabled>
<autoLaunchDelayTicks>1</autoLaunchDelayTicks>
<autoLaunchOnConstruction>true</autoLaunchOnConstruction>
<autoLaunchOnPowerOn>false</autoLaunchOnPowerOn>
</li>
</comps>
</ThingDef>
<ThingDef>
<defName>WULA_ConstructionShip_Entity</defName>
<label>帝国工程舰</label>
<description>什么这是个记录数量用的thingdef你不应该在任何场合下看到这个。</description>
<thingClass>Thing</thingClass>
</ThingDef>
<!-- <ThingDef ParentName="BuildingBase">
<defName>WULA_Watch_Tower</defName>

View File

@@ -252,8 +252,8 @@
<!-- 入场信封信息 -->
<li Class="WulaFallenEmpire.CompProperties_SendLetterAfterTicks">
<ticksDelay>60</ticksDelay> <!-- 2秒后发送 -->
<letterLabel>帝国航空舰已抵达</letterLabel>
<letterText>一艘帝国航空舰响应请求抵达殖民地上空!</letterText>
<letterLabel>帝国攻击舰队已抵达</letterLabel>
<letterText>帝国攻击舰队响应请求抵达殖民地上空!</letterText>
<letterDef>PositiveEvent</letterDef>
<onlySendOnce>true</onlySendOnce>
<requireOnMap>true</requireOnMap>
@@ -510,10 +510,10 @@
</li>
</comps>
</ThingDef>
<!-- 工程舰(弃用) -->
<!-- 拒止舰 -->
<ThingDef ParentName="EtherealThingBase">
<defName>WULA_ConstructionShip</defName>
<label>乌拉帝国工程</label>
<label>乌拉帝国拒止</label>
<thingClass>WulaFallenEmpire.FlyOver</thingClass>
<tickerType>Normal</tickerType>
<drawerType>RealtimeOnly</drawerType>
@@ -559,13 +559,101 @@
<!-- 入场信封信息 -->
<li Class="WulaFallenEmpire.CompProperties_SendLetterAfterTicks">
<ticksDelay>60</ticksDelay> <!-- 2秒后发送 -->
<letterLabel>帝国工程舰已抵达</letterLabel>
<letterText>一艘帝国工程舰响应请求抵达殖民地上空!</letterText>
<letterLabel>帝国拒止舰已抵达</letterLabel>
<letterText>帝国拒止舰队响应请求抵达殖民地上空!</letterText>
<letterDef>PositiveEvent</letterDef>
<onlySendOnce>true</onlySendOnce>
<requireOnMap>true</requireOnMap>
<destroyAfterSending>false</destroyAfterSending> <!-- 发送后销毁flyover -->
</li>
<li Class="WulaFallenEmpire.CompProperties_FlyOverEscort">
<escortFlyOverDef>WULA_Striker_Escort</escortFlyOverDef>
<!-- 生成配置 -->
<spawnIntervalTicks>1000</spawnIntervalTicks> <!-- 5秒 -->
<maxEscorts>20</maxEscorts>
<spawnCount>1</spawnCount>
<!-- 位置配置 -->
<spawnDistance>0</spawnDistance>
<lateralOffset>100</lateralOffset>
<verticalOffset>5</verticalOffset>
<useRandomOffset>true</useRandomOffset>
<minSafeDistanceBetweenEscorts>10</minSafeDistanceBetweenEscorts> <!-- 伴飞物之间的距离 -->
<minSafeDistanceFromMain>70</minSafeDistanceFromMain> <!-- 与主飞行物的距离检查 -->
<!-- 飞行配置 -->
<escortSpeedMultiplier>25</escortSpeedMultiplier> <!-- 比主舰稍快 -->
<escortAltitudeOffset>10</escortAltitudeOffset> <!-- 比主舰稍高 -->
<mirrorMovement>false</mirrorMovement>
<!-- 行为配置 -->
<spawnOnStart>true</spawnOnStart>
<destroyWithParent>false</destroyWithParent>
<continuousSpawning>true</continuousSpawning>
<!-- 外观配置 -->
<useParentRotation>true</useParentRotation>
<!-- 缩放区间配置 -->
<escortScaleRange>
<min>0.3</min>
<max>0.6</max>
</escortScaleRange>
<!-- 高度遮罩配置 -->
<useHeightMask>true</useHeightMask>
<heightMaskAlphaRange>
<min>0.6</min>
<max>0.8</max>
</heightMaskAlphaRange>
<heightMaskColor>(0.7,0.85,1.0,1.0)</heightMaskColor>
<heightMaskScaleMultiplier>1.3</heightMaskScaleMultiplier>
</li>
<li Class="WulaFallenEmpire.CompProperties_FlyOverEscort">
<escortFlyOverDef>WULA_Bomber_Escort</escortFlyOverDef>
<!-- 生成配置 -->
<spawnIntervalTicks>1350</spawnIntervalTicks> <!-- 5秒 -->
<maxEscorts>10</maxEscorts>
<spawnCount>1</spawnCount>
<!-- 位置配置 -->
<spawnDistance>0</spawnDistance>
<lateralOffset>130</lateralOffset>
<verticalOffset>5</verticalOffset>
<useRandomOffset>true</useRandomOffset>
<minSafeDistanceBetweenEscorts>10</minSafeDistanceBetweenEscorts> <!-- 伴飞物之间的距离 -->
<minSafeDistanceFromMain>70</minSafeDistanceFromMain> <!-- 与主飞行物的距离检查 -->
<!-- 飞行配置 -->
<escortSpeedMultiplier>15</escortSpeedMultiplier> <!-- 比主舰稍快 -->
<escortAltitudeOffset>10</escortAltitudeOffset> <!-- 比主舰稍高 -->
<mirrorMovement>false</mirrorMovement>
<!-- 行为配置 -->
<spawnOnStart>true</spawnOnStart>
<destroyWithParent>false</destroyWithParent>
<continuousSpawning>true</continuousSpawning>
<!-- 外观配置 -->
<useParentRotation>true</useParentRotation>
<!-- 缩放区间配置 -->
<escortScaleRange>
<min>0.3</min>
<max>0.6</max>
</escortScaleRange>
<!-- 高度遮罩配置 -->
<useHeightMask>true</useHeightMask>
<heightMaskAlphaRange>
<min>0.6</min>
<max>0.8</max>
</heightMaskAlphaRange>
<heightMaskColor>(0.7,0.85,1.0,1.0)</heightMaskColor>
<heightMaskScaleMultiplier>1.3</heightMaskScaleMultiplier>
</li>
<li Class="WulaFallenEmpire.CompProperties_FlyOverFacilities">
<availableFacilities>
<li>FactoryFacility</li>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<Patch>
<!-- 乌拉族初始任务 -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/StorytellerDef[@Name="BaseStoryteller"]/comps</xpath>
<value>
<li Class="WulaFallenEmpire.StorytellerCompProperties_ImportantQuestWithFactionFilter">
<fireAfterDaysPassed>1</fireAfterDaysPassed>
<questIncident>WULA_GiveQuest_Intro_Spy</questIncident>
<questDef>WULA_Intro_Spy</questDef>
<useFactionFilter>true</useFactionFilter>
<defaultBehavior>Allow</defaultBehavior>
<factionTypeBlacklist>
<li>WULA_Awakened_Synth</li>
</factionTypeBlacklist>
<allowedTargetTags>
<li>Map_PlayerHome</li>
</allowedTargetTags>
</li>
</value>
</Operation>
<!-- 乌拉族税收任务 -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/StorytellerDef[@Name="BaseStoryteller"]/comps</xpath>
<value>
<li Class="WulaFallenEmpire.StorytellerCompProperties_SimpleTechnologyTrigger">
<technology>WULA_Colony_License_LV1_Technology</technology>
<incident>WULA_GiveQuest_Base_Tex</incident>
<questDef>WULA_Base_Tex_Quest</questDef>
<!-- 时间配置 -->
<fireAfterDaysPassed>0</fireAfterDaysPassed>
<checkIntervalDays>15</checkIntervalDays>
<!-- 可选配置 -->
<preventDuplicateQuests>false</preventDuplicateQuests>
<debugLogging>false</debugLogging>
<requiredFaction>Wula_PIA_Legion_Faction</requiredFaction>
</li>
</value>
</Operation>
</Patch>