2
This commit is contained in:
Binary file not shown.
98
1.6/1.6/Defs/AbilityDefs/WULA_Misc_Ability.xml
Normal file
98
1.6/1.6/Defs/AbilityDefs/WULA_Misc_Ability.xml
Normal file
@@ -0,0 +1,98 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Defs>
|
||||
<AbilityDef>
|
||||
<defName>Wula_Mech_Mobile_Factory_Produce</defName>
|
||||
<label>生产战争机器</label>
|
||||
<description>立刻生产10台CRm-51"兵蚁",快速组织一道近战阵线。</description>
|
||||
<iconPath>Wula/UI/Abilities/Wula_Mech_Mobile_Factory_Produce</iconPath>
|
||||
<cooldownTicksRange>5000</cooldownTicksRange>
|
||||
<charges>5</charges>
|
||||
<cooldownPerCharge>true</cooldownPerCharge>
|
||||
<aiCanUse>true</aiCanUse>
|
||||
<displayOrder>300</displayOrder>
|
||||
<disableGizmoWhileUndrafted>true</disableGizmoWhileUndrafted>
|
||||
<displayGizmoWhileUndrafted>false</displayGizmoWhileUndrafted>
|
||||
<verbProperties>
|
||||
<verbClass>Verb_CastAbility</verbClass>
|
||||
<range>24</range>
|
||||
<warmupTime>0</warmupTime>
|
||||
<soundCast>WarqueenWarUrchinsSpawned</soundCast>
|
||||
<violent>false</violent>
|
||||
<targetable>false</targetable>
|
||||
<targetParams>
|
||||
<canTargetSelf>true</canTargetSelf>
|
||||
</targetParams>
|
||||
</verbProperties>
|
||||
<comps>
|
||||
<li Class="WulaFallenEmpire.CompProperties_AbilityLaunchMultiProjectile">
|
||||
<projectileDef>Wula_Mech_Mobile_Factory_Produce_Proj</projectileDef>
|
||||
<numProjectiles>10</numProjectiles>
|
||||
</li>
|
||||
</comps>
|
||||
</AbilityDef>
|
||||
<ThingDef ParentName="BaseGrenadeProjectile">
|
||||
<defName>Wula_Mech_Mobile_Factory_Produce_Proj</defName>
|
||||
<label>CRm-51"兵蚁"</label>
|
||||
<thingClass>Projectile_SpawnsPawnZeroAge</thingClass>
|
||||
<graphicData>
|
||||
<texPath>Wula/Things/WULA_Mech_Flyer/WULA_Mech_Flyer_south</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
</graphicData>
|
||||
<projectile>
|
||||
<speed>41</speed>
|
||||
<spawnsPawnKind>WULA_Mech_Flyer</spawnsPawnKind>
|
||||
<tryAdjacentFreeSpaces>true</tryAdjacentFreeSpaces>
|
||||
<damageDef>Bullet</damageDef>
|
||||
<damageAmountBase>1</damageAmountBase>
|
||||
</projectile>
|
||||
</ThingDef>
|
||||
|
||||
<AbilityDef>
|
||||
<defName>WULA_PsiCrusher</defName>
|
||||
<label>灵能粉碎</label>
|
||||
<description>释放纯净的灵能能量,直接摧毁面前扇形区域内的所有目标。</description>
|
||||
<iconPath>UI/Abilities/FireSpew</iconPath>
|
||||
<writeCombatLog>True</writeCombatLog>
|
||||
<showPsycastEffects>False</showPsycastEffects>
|
||||
<aiCanUse>true</aiCanUse>
|
||||
<ai_SearchAOEForTargets>true</ai_SearchAOEForTargets>
|
||||
<ai_IsIncendiary>true</ai_IsIncendiary>
|
||||
<cooldownTicksRange>600</cooldownTicksRange>
|
||||
<verbProperties>
|
||||
<verbClass>Verb_CastAbility</verbClass>
|
||||
<range>24</range>
|
||||
<warmupTime>0</warmupTime>
|
||||
<soundCast>WarqueenWarUrchinsSpawned</soundCast>
|
||||
|
||||
<ai_IsWeapon>true</ai_IsWeapon>
|
||||
<ai_ProjectileLaunchingIgnoresMeleeThreats>true</ai_ProjectileLaunchingIgnoresMeleeThreats>
|
||||
|
||||
<requireLineOfSight>false</requireLineOfSight>
|
||||
|
||||
<aimingLineMote>Mote_HellsphereCannon_Aim</aimingLineMote>
|
||||
<aimingChargeMote>Mote_HellsphereCannon_Charge</aimingChargeMote>
|
||||
<aimingChargeMoteOffset>1.07</aimingChargeMoteOffset>
|
||||
<aimingLineMoteFixedLength>32</aimingLineMoteFixedLength>
|
||||
<aimingTargetMote>Mote_HellsphereCannon_Target</aimingTargetMote>
|
||||
|
||||
<targetParams>
|
||||
<canTargetLocations>true</canTargetLocations>
|
||||
<canTargetSelf>false</canTargetSelf>
|
||||
<canTargetPawns>true</canTargetPawns>
|
||||
<canTargetBuildings>true</canTargetBuildings>
|
||||
<canTargetPlants>true</canTargetPlants>
|
||||
</targetParams>
|
||||
</verbProperties>
|
||||
<comps>
|
||||
<li Class="WulaFallenEmpire.CompProperties_AbilityAreaDestruction">
|
||||
<range>12</range>
|
||||
<lineWidthEnd>5</lineWidthEnd>
|
||||
<canHitFilledCells>true</canHitFilledCells>
|
||||
<affectAllies>false</affectAllies>
|
||||
<affectCaster>false</affectCaster>
|
||||
<effecterDef>Fire_Spew</effecterDef>
|
||||
<hitEffecter>Fire_SpewShort</hitEffecter>
|
||||
</li>
|
||||
</comps>
|
||||
</AbilityDef>
|
||||
</Defs>
|
||||
@@ -231,52 +231,45 @@
|
||||
<techHediffsChance>1</techHediffsChance>
|
||||
<techHediffsMoney>9999~9999</techHediffsMoney>
|
||||
</PawnKindDef>
|
||||
<AbilityDef>
|
||||
<defName>Wula_Mech_Mobile_Factory_Produce</defName>
|
||||
<label>生产战争机器</label>
|
||||
<description>立刻生产10台CRm-51"兵蚁",快速组织一道近战阵线。</description>
|
||||
<iconPath>Wula/UI/Abilities/Wula_Mech_Mobile_Factory_Produce</iconPath>
|
||||
<cooldownTicksRange>5000</cooldownTicksRange>
|
||||
<charges>5</charges>
|
||||
<cooldownPerCharge>true</cooldownPerCharge>
|
||||
<aiCanUse>true</aiCanUse>
|
||||
<displayOrder>300</displayOrder>
|
||||
<disableGizmoWhileUndrafted>true</disableGizmoWhileUndrafted>
|
||||
<displayGizmoWhileUndrafted>false</displayGizmoWhileUndrafted>
|
||||
<verbProperties>
|
||||
<verbClass>Verb_CastAbility</verbClass>
|
||||
<range>24</range>
|
||||
<warmupTime>0</warmupTime>
|
||||
<soundCast>WarqueenWarUrchinsSpawned</soundCast>
|
||||
<violent>false</violent>
|
||||
<targetable>false</targetable>
|
||||
<targetParams>
|
||||
<canTargetSelf>true</canTargetSelf>
|
||||
</targetParams>
|
||||
</verbProperties>
|
||||
<comps>
|
||||
<li Class="WulaFallenEmpire.CompProperties_AbilityLaunchMultiProjectile">
|
||||
<projectileDef>Wula_Mech_Mobile_Factory_Produce_Proj</projectileDef>
|
||||
<numProjectiles>10</numProjectiles>
|
||||
|
||||
<PawnKindDef ParentName="HeavyMechanoidKind">
|
||||
<defName>Wula_Psi_Titan</defName> <!-- 修改了defName以避免冲突 -->
|
||||
<label>PAt-6"灵能泰坦"</label>
|
||||
<race>Wula_Psi_Titan</race>
|
||||
<combatPower>1000</combatPower>
|
||||
<allowInMechClusters>false</allowInMechClusters>
|
||||
<defaultFactionType>PlayerColony</defaultFactionType>
|
||||
<canMeleeAttack>false</canMeleeAttack>
|
||||
<isGoodBreacher>true</isGoodBreacher>
|
||||
|
||||
<flyingAnimationFramePathPrefix>Wula/Things/Wula_Mech_Mobile_Factory/Flying/Wula_Mech_Mobile_Factory_Flying_</flyingAnimationFramePathPrefix>
|
||||
<flyingAnimationDrawSize>1</flyingAnimationDrawSize>
|
||||
<flyingAnimationFrameCount>1</flyingAnimationFrameCount>
|
||||
<flyingAnimationTicksPerFrame>2</flyingAnimationTicksPerFrame>
|
||||
<flyingAnimationInheritColors>false</flyingAnimationInheritColors>
|
||||
|
||||
<lifeStages>
|
||||
<li>
|
||||
<bodyGraphicData>
|
||||
<texPath>Wula/Things/Wula_Psi_Titan/Bodies/Naked_Thin</texPath>
|
||||
<maskPath>Wula/Things/WULA_Cat/AllegianceOverlays/None</maskPath>
|
||||
<shaderType>CutoutWithOverlay</shaderType>
|
||||
<graphicClass>Graphic_Multi</graphicClass>
|
||||
<drawSize>9</drawSize>
|
||||
<shadowData>
|
||||
<volume>(1.4, 1.8, 1.4)</volume>
|
||||
</shadowData>
|
||||
</bodyGraphicData>
|
||||
</li>
|
||||
</comps>
|
||||
</AbilityDef>
|
||||
<ThingDef ParentName="BaseGrenadeProjectile">
|
||||
<defName>Wula_Mech_Mobile_Factory_Produce_Proj</defName>
|
||||
<label>CRm-51"兵蚁"</label>
|
||||
<thingClass>Projectile_SpawnsPawnZeroAge</thingClass>
|
||||
<graphicData>
|
||||
<texPath>Wula/Things/WULA_Mech_Flyer/WULA_Mech_Flyer_south</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
</graphicData>
|
||||
<projectile>
|
||||
<speed>41</speed>
|
||||
<spawnsPawnKind>WULA_Mech_Flyer</spawnsPawnKind>
|
||||
<tryAdjacentFreeSpaces>true</tryAdjacentFreeSpaces>
|
||||
<damageDef>Bullet</damageDef>
|
||||
<damageAmountBase>1</damageAmountBase>
|
||||
</projectile>
|
||||
</ThingDef>
|
||||
</lifeStages>
|
||||
<weaponMoney>99999~99999</weaponMoney>
|
||||
|
||||
<controlGroupPortraitZoom>0.7</controlGroupPortraitZoom>
|
||||
|
||||
<abilities>
|
||||
<li>Wula_Mech_Mobile_Factory_Produce</li>
|
||||
</abilities>
|
||||
</PawnKindDef>
|
||||
|
||||
<!-- 战斗类乌拉 -->
|
||||
<PawnKindDef>
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
<!-- 全局资源检查工具 -->
|
||||
<QuestScriptDef>
|
||||
<defName>Util_Wula_GlobalResourceCheck</defName>
|
||||
<root Class="QuestNode_Sequence">
|
||||
<nodes>
|
||||
<!-- 检查全局资源 -->
|
||||
<li Class="WulaFallenEmpire.QuestNode_CheckGlobalResource">
|
||||
<resourceDef>$resourceDef</resourceDef>
|
||||
<requiredCount>$requiredCount</requiredCount>
|
||||
<retryDelayTicks>$retryDelayTicks</retryDelayTicks>
|
||||
<successSignal>$successSignal</successSignal>
|
||||
<failSignal>$failSignal</failSignal>
|
||||
<deductOnSuccess>$deductOnSuccess</deductOnSuccess>
|
||||
<useInputStorage>$useInputStorage</useInputStorage>
|
||||
</li>
|
||||
</nodes>
|
||||
</root>
|
||||
</QuestScriptDef>
|
||||
</Defs>
|
||||
@@ -896,6 +896,10 @@
|
||||
<filthCountRange>1~2</filthCountRange>
|
||||
</deathAction>
|
||||
</race>
|
||||
<costList Inherit="False">
|
||||
<Steel>80</Steel>
|
||||
<ComponentIndustrial>1</ComponentIndustrial>
|
||||
</costList>
|
||||
<recipeMaker>
|
||||
<researchPrerequisite>WULA_Bunker_Drop_Technology</researchPrerequisite>
|
||||
</recipeMaker>
|
||||
@@ -1441,6 +1445,69 @@
|
||||
</li>
|
||||
</comps>
|
||||
</ThingDef>
|
||||
<ThingDef Name="Wula_Mech_Mobile_Factory" ParentName="WULA_BaseMechanoid">
|
||||
<defName>Wula_Psi_Titan</defName> <!-- 修改了defName以避免冲突 -->
|
||||
<label>PAt-6"灵能泰坦"</label>
|
||||
<description>骇人之物</description>
|
||||
<statBases>
|
||||
<BandwidthCost>1</BandwidthCost>
|
||||
<MoveSpeed>1</MoveSpeed>
|
||||
<EnergyShieldEnergyMax>35</EnergyShieldEnergyMax>
|
||||
|
||||
<MaxFlightTime>9999</MaxFlightTime>
|
||||
<FlightCooldown>0</FlightCooldown>
|
||||
</statBases>
|
||||
<race>
|
||||
<body>Mech_Warqueen</body>
|
||||
<baseBodySize>30</baseBodySize>
|
||||
<lifeStageAges>
|
||||
<li>
|
||||
<def>MechanoidFullyFormed</def>
|
||||
<minAge>0</minAge>
|
||||
<soundWounded>Pawn_Mech_Warqueen_Wounded</soundWounded>
|
||||
<soundDeath>Pawn_Mech_Warqueen_Death</soundDeath>
|
||||
<soundCall>Pawn_Mech_Warqueen_Call</soundCall>
|
||||
</li>
|
||||
</lifeStageAges>
|
||||
<baseHealthScale>25</baseHealthScale>
|
||||
|
||||
<flightStartChanceOnJobStart>1</flightStartChanceOnJobStart>
|
||||
<!-- <thinkTreeConstant>WarUrchinConstant</thinkTreeConstant> -->
|
||||
</race>
|
||||
<tools>
|
||||
<li>
|
||||
<label>碾压</label>
|
||||
<capacities>
|
||||
<li>Blunt</li>
|
||||
</capacities>
|
||||
<power>360</power>
|
||||
<cooldownTime>8</cooldownTime>
|
||||
<linkedBodyPartsGroup>Torso</linkedBodyPartsGroup>
|
||||
<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable>
|
||||
</li>
|
||||
</tools>
|
||||
<comps>
|
||||
<li Class="CompProperties_Shield">
|
||||
<startingTicksToReset>36000</startingTicksToReset><!-- 10 mins -->
|
||||
<minDrawSize>8.2</minDrawSize>
|
||||
<maxDrawSize>8.4</maxDrawSize>
|
||||
<energyLossPerDamage>0.01</energyLossPerDamage>
|
||||
<energyOnReset>4.0</energyOnReset>
|
||||
<blocksRangedWeapons>false</blocksRangedWeapons>
|
||||
</li>
|
||||
<!-- 飞行组件 -->
|
||||
<li Class="WulaFallenEmpire.CompProperties_PawnFlight">
|
||||
|
||||
<!-- 飞行触发条件:仅在征召时飞行 -->
|
||||
<flightCondition>Drafted</flightCondition>
|
||||
|
||||
<!-- 链接到我们刚刚创建的 AnimationDef -->
|
||||
<flyingAnimationNorth>WULA_Hover_FlyNorth</flyingAnimationNorth>
|
||||
<flyingAnimationEast>WULA_Hover_FlyEast</flyingAnimationEast>
|
||||
<flyingAnimationSouth>WULA_Hover_FlySouth</flyingAnimationSouth>
|
||||
</li>
|
||||
</comps>
|
||||
</ThingDef>
|
||||
|
||||
<!-- 特殊单位 -->
|
||||
<ThingDef ParentName="BaseMechanoidWalker">
|
||||
|
||||
@@ -60,6 +60,6 @@
|
||||
<li>questName->什一税税收</li>
|
||||
</WULA_Base_Tex_Quest.questNameRules.rulesStrings>
|
||||
<WULA_Base_Tex_Quest.questDescriptionRules.rulesStrings>
|
||||
<li>questDescription->唯死亡和税收不可避免——按时上交什一税是乌拉帝国殖民地的光荣义务。\n\n乌拉帝国的什一税会从殖民地储存在舰队中的资产里面扣除,你可以建造<color=#6BB7B7><i>乌拉帝国物资输送舱</i></color>来将物资输送到位于轨道上的舰队。\n\n你可以快速地准备好税金,乌拉帝国对积极纳税的殖民地会给予更多关照——但是如果一直拖延,则会惹其不快,甚至有可能被定性为叛国!</li>
|
||||
<li>questDescription->唯死亡和税收不可避免——按时上交什一税是乌拉帝国殖民地的光荣义务。\n\n乌拉帝国的什一税会从殖民地储存在舰队中的资产里面扣除,你可以建造<color=#6BB7B7><i>乌拉帝国物资输送舱</i></color>来将物资输送到位于轨道上的舰队。\n\n乌拉帝国对积极纳税的殖民地会给予更多关照——但是如果拖延,则每延期一天都会惹其不快,最后甚至有可能被定性为叛国!</li>
|
||||
</WULA_Base_Tex_Quest.questDescriptionRules.rulesStrings>
|
||||
</LanguageData>
|
||||
Reference in New Issue
Block a user