This commit is contained in:
2025-12-08 11:54:30 +08:00
parent ffe26b777c
commit 74d9a10e41
9 changed files with 556 additions and 111 deletions

View File

@@ -161,48 +161,6 @@
</li>
</modExtensions>
</DamageDef>
<DamageDef ParentName="StunBase">
<defName>WULA_WM_Disturber_Turret_Damage</defName>
<label>等离子干扰</label>
<workerClass>WulaFallenEmpire.DamageWorker_ExtraDamage</workerClass>
<externalViolenceForMechanoids>true</externalViolenceForMechanoids>
<deathMessage>{0} 被等离子干扰而亡。</deathMessage>
<harmsHealth>true</harmsHealth>
<impactSoundType>Electric</impactSoundType>
<defaultDamage>50</defaultDamage>
<explosionSnowMeltAmount>0</explosionSnowMeltAmount>
<!-- <explosionCellFleck>BlastEMP</explosionCellFleck> -->
<!-- <explosionColorEdge>(0.8, 0.8, 0.8, 0.8)</explosionColorEdge>
<explosionInteriorFleck>ElectricalSpark</explosionInteriorFleck> -->
<soundExplosion>Explosion_Vaporize</soundExplosion>
<combatLogRules>Damage_EMP</combatLogRules>
<causeStun>true</causeStun>
<stunResistStat MayRequireAnyOf="Ludeon.RimWorld.Biotech,Ludeon.RimWorld.Anomaly">EMPResistance</stunResistStat>
<stunAdaptationTicks>2200</stunAdaptationTicks>
<explosionCenterEffecter>WULA_Mech_EMP_Drop_Shockwave</explosionCenterEffecter>
<modExtensions>
<li Class="WulaFallenEmpire.DamageDef_ExtraDamageExtension">
<extraLabel>穿透伤害</extraLabel>
<showExtraLog>true</showExtraLog>
<extraDamages>
<li>
<damageDef>WULA_Armour_Piercing_Projectile_4_Damage</damageDef>
<amount>100</amount>
<isPercentage>false</isPercentage>
<armorPenetration>2</armorPenetration>
<!-- <soundDef>EMP_Small</soundDef>
<fleckDef>ElectricArc</fleckDef> -->
<!-- <minTriggerDamage>5</minTriggerDamage> -->
</li>
</extraDamages>
</li>
</modExtensions>
</DamageDef>
<DamageDef ParentName="Wula_Dark_Matter_Beam_DMG">
<defName>Wula_Psi_Damage</defName>
@@ -383,7 +341,8 @@
<DamageDef ParentName="Bomb">
<defName>WULA_Disturber_Turret_Bomb</defName>
<label>等离子爆炸</label>
<workerClass>WulaFallenEmpire.DamageWorker_ExtraDamage</workerClass>
<!-- <workerClass>WulaFallenEmpire.DamageWorker_ExtraDamage</workerClass> -->
<workerClass>WulaFallenEmpire.DamageWorker_ExplosionWithTerrain</workerClass>
<defaultDamage>250</defaultDamage>
<defaultStoppingPower>2.0</defaultStoppingPower>
<defaultArmorPenetration>2</defaultArmorPenetration>
@@ -392,7 +351,10 @@
<explosionCenterEffecter>WULA_Disturber_Turret_Bomb_Shockwave</explosionCenterEffecter>
<modExtensions>
<li Class="WulaFallenEmpire.DamageDef_ExtraDamageExtension">
<li Class="WulaFallenEmpire.DamageDefExtension_TerrainCover">
<terrainToSpawn>LavaShallow</terrainToSpawn>
</li>
<!-- <li Class="WulaFallenEmpire.DamageDef_ExtraDamageExtension">
<extraLabel>穿透伤害</extraLabel>
<showExtraLog>true</showExtraLog>
@@ -402,12 +364,9 @@
<amount>60</amount>
<isPercentage>false</isPercentage>
<armorPenetration>2</armorPenetration>
<!-- <soundDef>EMP_Small</soundDef>
<fleckDef>ElectricArc</fleckDef> -->
<!-- <minTriggerDamage>5</minTriggerDamage> -->
</li>
</extraDamages>
</li>
</li> -->
</modExtensions>
</DamageDef>
<EffecterDef>

View File

@@ -6,18 +6,12 @@
<fadeInTime>0.50</fadeInTime>
<solidTime>1</solidTime>
<fadeOutTime>1.2</fadeOutTime>
<growthRate>0.005</growthRate>
<growthRate>0.025</growthRate>
<graphicData>
<texPath>Wula/Mote/WULA_GunTail_Plasma</texPath>
<shaderType>MoteGlow</shaderType>
<drawSize>3.25</drawSize>
<color>(218,255,200,155)</color>
</graphicData>
</FleckDef>
<FleckDef ParentName="WULA_GunTail_Plasma">
<defName>WULA_GunTail_Plasma_Yellow</defName>
<graphicData>
<color>(242,160,69,155)</color>
<drawSize>4.25</drawSize>
<color>(179,127,67,155)</color>
</graphicData>
</FleckDef>

View File

@@ -712,7 +712,7 @@
<researchViewX>10.00</researchViewX>
<researchViewY>3.80</researchViewY>
<label>建筑传送许可</label>
<description>允许通过传送将乌拉帝国的建筑直接传送到空投区,这使得建筑可以立刻部署到目标地点,且无视厚岩顶阻挡。</description>
<description>允许通过传送将乌拉帝国的建筑直接传送到空投区,这使得建筑可以立刻部署到目标地点,且无视厚岩顶阻挡。除此之外,也可以建造区域跃迁引擎,以移动整个基地。</description>
<baseCost>2000</baseCost>
<prerequisites>
<li>WULA_Colony_License_LV3_Technology</li>

View File

@@ -1,60 +1,97 @@
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<ThingDef ParentName="BuildingBase">
<defName>WULA_AreaTeleportBeacon</defName>
<label>乌拉区域传送信标</label>
<description>负责协调殖民地与轨道上的乌拉帝国舰队进行材料输送的信标,空投建筑会优先从信标覆盖区域吸纳资源完成空投</description>
<thingClass>Building</thingClass>
<thingCategories Inherit="False">
<li>BuildingsMisc</li>
</thingCategories>
<label>区域跃迁引擎</label>
<description>乌拉帝国的科技结晶之一,可以供整个区域继续传送的跃迁引擎,它会把区域内的地面、建筑、生物和散落材料等完整地移动到其他地图上</description>
<thingClass>WulaFallenEmpire.Building_ExtraGraphics</thingClass>
<preventDroppingThingsOn>true</preventDroppingThingsOn>
<altitudeLayer>Building</altitudeLayer>
<pathCost>50</pathCost>
<blockWind>true</blockWind>
<passability>PassThroughOnly</passability>
<fillPercent>1</fillPercent>
<size>(1,1)</size>
<drawHighlight>true</drawHighlight>
<tradeability>None</tradeability>
<highlightColor>(0.56, 0.62, 0.9)</highlightColor>
<uiIconPath>Wula/Building/Flag/WULA_Flag_Building_A</uiIconPath>
<rotatable>false</rotatable>
<graphicData>
<texPath>Wula/Building/WULA_OrbitalTradeBeacon</texPath>
<texPath>Wula/Building/Flag/WULA_Flag_Building_Mount</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shadowData>
<volume>(0.3, 0.2, 0.3)</volume>
<offset>(0,0,-0.1)</offset>
</shadowData>
<drawSize>(1,1)</drawSize>
</graphicData>
<altitudeLayer>Building</altitudeLayer>
<minifiedDef>MinifiedThing</minifiedDef>
<costList>
<WULA_Alloy>4</WULA_Alloy>
</costList>
<statBases>
<MaxHitPoints>75</MaxHitPoints>
<WorkToBuild>800</WorkToBuild>
<MaxHitPoints>50</MaxHitPoints>
<Flammability>0.5</Flammability>
<WorkToBuild>1000</WorkToBuild>
<Mass>5</Mass>
</statBases>
<drawerType>MapMeshAndRealTime</drawerType>
<drawPlaceWorkersWhileSelected>true</drawPlaceWorkersWhileSelected>
<fillPercent>0.15</fillPercent>
<costList>
<Steel>40</Steel>
<ComponentIndustrial>1</ComponentIndustrial>
</costList>
<tickerType>Normal</tickerType>
<canOverlapZones>true</canOverlapZones>
<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>
<designationCategory>WULA_Buildings</designationCategory>
<researchPrerequisites>
<li>WULA_Building_Teleporter_Technology</li>
</researchPrerequisites>
<building>
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
<expandHomeArea>false</expandHomeArea>
<destroySound>BuildingDestroyed_Metal_Big</destroySound>
<paintable>true</paintable>
<isInert>true</isInert>
</building>
<modExtensions>
<li Class="WulaFallenEmpire.ExtraGraphicsExtension">
<globalHoverSpeed>0</globalHoverSpeed>
<globalHoverIntensity>0</globalHoverIntensity>
<graphicLayers>
<li>
<texturePath>Wula/Building/Flag/WULA_Flag_Building_A</texturePath>
<shaderName>MoteGlow</shaderName>
<scale>(3,3)</scale>
<drawOrder>0</drawOrder>
<offset>(0,1,2)</offset>
<hoverSpeed>1.5</hoverSpeed> <!-- 比全局慢 -->
<hoverIntensity>0.2</hoverIntensity> <!-- 比全局弱 -->
<hoverPhase>0</hoverPhase>
</li>
<li>
<texturePath>Wula/Building/Flag/WULA_Flag_Building_Mount</texturePath>
<shaderName>Transparent</shaderName>
<scale>(1,1)</scale>
<drawOrder>1</drawOrder>
<offset>(0,1,0)</offset>
<hoverSpeed>0</hoverSpeed> <!-- 比全局慢 -->
<hoverIntensity>0</hoverIntensity> <!-- 比全局弱 -->
<hoverPhase>0</hoverPhase>
</li>
</graphicLayers>
</li>
</modExtensions>
<comps>
<li Class="WulaFallenEmpire.CompProperties_MapTeleporter">
<areaSize>(13, 13)</areaSize>
<warmupTicks>120</warmupTicks>
<requiredResearch>WULA_Colony_License_LV1_Technology</requiredResearch>
<requiredResearch>WULA_Building_Teleporter_Technology</requiredResearch>
</li>
<li Class="CompProperties_Glower">
<glowRadius>3</glowRadius>
<glowColor>(120,240,252,0)</glowColor>
</li>
</comps>
<leaveResourcesWhenKilled>false</leaveResourcesWhenKilled>
<pathCost>14</pathCost>
<designationCategory>WULA_Buildings</designationCategory>
<uiOrder>2100</uiOrder>
<rotatable>false</rotatable>
<placeWorkers>
<li>PlaceWorker_ShowTradeBeaconRadius</li>
</placeWorkers>
<designationHotKey>Misc2</designationHotKey>
<researchPrerequisites>
<li>WULA_Colony_License_LV1_Technology</li>
</researchPrerequisites>
</ThingDef>
<ThingDef ParentName="BuildingBase">
@@ -1030,6 +1067,4 @@
</li>
</comps>
</ThingDef>
</Defs>

View File

@@ -1446,8 +1446,8 @@
<!-- 重型干扰塔 -->
<ThingDef ParentName="BuildingBase">
<defName>Wula_Disturber_Turret_Cleanzone</defName>
<label>HBt-1"磁石"</label>
<description>清理出一块场地并准备好资源,使得乌拉帝国可以向此处投放建筑。\n\nHBt-1"磁石"是一种需要通电才能运转的重型防御炮塔,以联装的方式装载了四门威力巨大的离子风暴炮其射弹携带了强大的EMP效果和杀伤效果可以在远距离上撕碎一切冲击阵地的敌军。</description>
<label>HBt-1"磁石"火山</label>
<description>清理出一块场地并准备好资源,使得乌拉帝国可以向此处投放建筑。\n\nHBt-1"磁石"是一种需要通电才能运转的重型防御炮塔,以联装的方式装载了四门威力巨大的火山风暴炮其射弹携带了强大的EMP效果和杀伤效果可以在远距离上撕碎一切冲击阵地的敌军。</description>
<uiIconPath>Wula/Building/Wula_Disturber_Turret</uiIconPath>
<minifiedDef>MinifiedThing</minifiedDef>
<tickerType>Normal</tickerType>
@@ -1555,8 +1555,8 @@
</ThingDef>
<ThingDef ParentName="BuildingBase">
<defName>Wula_Disturber_Turret</defName>
<label>HBt-1"磁石"</label>
<description>HBt-1"磁石"是一种需要通电才能运转的重型防御炮塔,以联装的方式装载了四门威力巨大的离子风暴炮其射弹携带了强大的EMP效果和杀伤效果可以在远距离上撕碎一切冲击阵地的敌军。</description>
<label>HBt-1"磁石"火山</label>
<description>HBt-1"磁石"是一种需要通电才能运转的重型防御炮塔,以联装的方式装载了四门威力巨大的火山风暴炮其射弹携带了强大的EMP效果和杀伤效果可以在远距离上撕碎一切冲击阵地的敌军。</description>
<thingClass>WulaFallenEmpire.Building_TurretGunHasSpeed</thingClass>
<drawerType>MapMeshAndRealTime</drawerType>
<modExtensions>
@@ -1663,7 +1663,7 @@
<ThingDef ParentName="BaseWeaponTurret">
<defName>Wula_Disturber_Turret_Weapon</defName>
<label>HBt-1"磁石"</label>
<description>中型舰炮,毁灭能力超群</description>
<description>乌拉帝国的火山炮之一,拥有气化敌军的能力</description>
<tradeability>None</tradeability>
<destroyOnDrop>true</destroyOnDrop>
<techLevel>Ultra</techLevel>
@@ -1682,7 +1682,7 @@
</statBases>
<verbs>
<li>
<verbClass>Verb_Shoot</verbClass>
<verbClass>WulaFallenEmpire.Verb_ShootWithOffset</verbClass>
<forceNormalTimeSpeed>false</forceNormalTimeSpeed>
<defaultProjectile>Bullet_WULA_WM_Disturber_Turret</defaultProjectile>
<ai_AvoidFriendlyFireRadius>5</ai_AvoidFriendlyFireRadius>
@@ -1703,19 +1703,26 @@
</targetParams>
</li>
</verbs>
<modExtensions>
<li Class="WulaFallenEmpire.ModExtension_ShootWithOffset">
<offsets>
<li>(0, -2)</li>
</offsets>
</li>
</modExtensions>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_WULA_WM_Disturber_Turret</defName>
<label>磁石等离子炮弹</label>
<label>磁石火山炮弹</label>
<thingClass>WulaFallenEmpire.Projectile_NorthArcTrail</thingClass>
<tickerType>Normal</tickerType>
<neverMultiSelect>True</neverMultiSelect>
<graphicData>
<texPath>Wula/Projectile/WULA_Energy_2_Shell</texPath>
<texPath>Wula/Projectile/WULA_Energy_Shell</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>MoteGlow</shaderType>
<drawSize>(2.5,3)</drawSize>
<color>(218,255,200,255)</color>
<color>(202,147,67,205)</color>
</graphicData>
<projectile>
<damageDef>WULA_Disturber_Turret_Bomb</damageDef>
@@ -1740,7 +1747,7 @@
<li Class="WulaFallenEmpire.TrackingBulletDef">
<tailFleckDef>WULA_GunTail_Plasma</tailFleckDef>
<fleckMakeFleckTickMax>3</fleckMakeFleckTickMax>
<fleckDelayTicks>1</fleckDelayTicks>
<fleckDelayTicks>9</fleckDelayTicks>
<fleckMakeFleckNum>1~2</fleckMakeFleckNum>
<fleckScale>0.5~1.0</fleckScale>
<fleckSpeed>0.1~0.3</fleckSpeed>