1
This commit is contained in:
Binary file not shown.
@@ -372,4 +372,75 @@
|
||||
<li Class="HediffCompProperties_DisappearsOnDeath" />
|
||||
</comps>
|
||||
</HediffDef>
|
||||
|
||||
<HediffDef>
|
||||
<defName>Wula_TerrainBlocked</defName>
|
||||
<label>地形阻挡</label>
|
||||
<description>虽然乌拉族的大部分构装体采用反重力悬浮可以无视崎岖地表,但是其庞大的身躯依然会导致其在狭窄地形中难以行动。</description>
|
||||
<hediffClass>HediffWithComps</hediffClass>
|
||||
<maxSeverity>1</maxSeverity>
|
||||
<isBad>false</isBad>
|
||||
<stages>
|
||||
<li>
|
||||
<minSeverity>0.1</minSeverity>
|
||||
<statFactors>
|
||||
<MoveSpeed>0.9</MoveSpeed>
|
||||
</statFactors>
|
||||
</li>
|
||||
<li>
|
||||
<minSeverity>0.2</minSeverity>
|
||||
<statFactors>
|
||||
<MoveSpeed>0.8</MoveSpeed>
|
||||
</statFactors>
|
||||
</li>
|
||||
<li>
|
||||
<minSeverity>0.3</minSeverity>
|
||||
<statFactors>
|
||||
<MoveSpeed>0.7</MoveSpeed>
|
||||
</statFactors>
|
||||
</li>
|
||||
<li>
|
||||
<minSeverity>0.4</minSeverity>
|
||||
<statFactors>
|
||||
<MoveSpeed>0.6</MoveSpeed>
|
||||
</statFactors>
|
||||
</li>
|
||||
<li>
|
||||
<minSeverity>0.5</minSeverity>
|
||||
<statFactors>
|
||||
<MoveSpeed>0.5</MoveSpeed>
|
||||
</statFactors>
|
||||
</li>
|
||||
<li>
|
||||
<minSeverity>0.6</minSeverity>
|
||||
<statFactors>
|
||||
<MoveSpeed>0.4</MoveSpeed>
|
||||
</statFactors>
|
||||
</li>
|
||||
<li>
|
||||
<minSeverity>0.7</minSeverity>
|
||||
<statFactors>
|
||||
<MoveSpeed>0.3</MoveSpeed>
|
||||
</statFactors>
|
||||
</li>
|
||||
<li>
|
||||
<minSeverity>0.8</minSeverity>
|
||||
<statFactors>
|
||||
<MoveSpeed>0.2</MoveSpeed>
|
||||
</statFactors>
|
||||
</li>
|
||||
<li>
|
||||
<minSeverity>0.9</minSeverity>
|
||||
<statFactors>
|
||||
<MoveSpeed>0.1</MoveSpeed>
|
||||
</statFactors>
|
||||
</li>
|
||||
</stages>
|
||||
<comps>
|
||||
<li Class="WulaFallenEmpire.HediffCompProperties_TerrainBlocked">
|
||||
<maxSpeedPenalty>0.75</maxSpeedPenalty>
|
||||
<checkIntervalTicks>60</checkIntervalTicks>
|
||||
</li>
|
||||
</comps>
|
||||
</HediffDef>
|
||||
</Defs>
|
||||
@@ -204,10 +204,13 @@
|
||||
<weaponMoney>99999~99999</weaponMoney>
|
||||
|
||||
<controlGroupPortraitZoom>0.7</controlGroupPortraitZoom>
|
||||
<weaponTags>
|
||||
<li>Wula_AI_Heavy_Panzer_Weapon</li>
|
||||
</weaponTags>
|
||||
</PawnKindDef>
|
||||
<PawnKindDef ParentName="HeavyMechanoidKind">
|
||||
<defName>Wula_AI_Rocket_Panzer</defName> <!-- 修改了defName以避免冲突 -->
|
||||
<label>HRp-3"喷火战车"</label>
|
||||
<label>HRp-3"炎霖"</label>
|
||||
<race>Wula_AI_Rocket_Panzer</race>
|
||||
<combatPower>500</combatPower>
|
||||
<allowInMechClusters>false</allowInMechClusters>
|
||||
@@ -239,7 +242,7 @@
|
||||
|
||||
<controlGroupPortraitZoom>0.7</controlGroupPortraitZoom>
|
||||
<weaponTags>
|
||||
<li>Wula_AI_Heavy_Panzer_Weapon</li>
|
||||
<li>Wula_AI_Rocket_Panzer_Weapon</li>
|
||||
</weaponTags>
|
||||
</PawnKindDef>
|
||||
<PawnKindDef ParentName="HeavyMechanoidKind">
|
||||
|
||||
@@ -438,14 +438,14 @@
|
||||
<damageDef>WULA_RW_Handle_Cannon_Burn</damageDef>
|
||||
<damageAmountBase>40</damageAmountBase>
|
||||
<speed>130</speed>
|
||||
<armorPenetrationBase>1</armorPenetrationBase>
|
||||
<armorPenetrationBase>1.5</armorPenetrationBase>
|
||||
<stoppingPower>1</stoppingPower>
|
||||
</projectile>
|
||||
</ThingDef>
|
||||
<ThingDef ParentName="BaseHumanMakeableGun">
|
||||
<defName>Wula_AI_Heavy_Panzer_Main_Weapon</defName>
|
||||
<label>SDm-2"月长石"</label>
|
||||
<description>HAp-6"战车"车体正面的突击炮,射程很短并且只能在静止状态开火,但是威力巨大,专门用于对付坚固的工事和成片的人群。</description>
|
||||
<label>目标标定器</label>
|
||||
<description>HAp-6"巨戟"车体上的测距器,可以确保其炮塔在可以开火的最佳距离,被其瞄准的目标会成为炮塔的优先攻击目标。</description>
|
||||
<tickerType>Normal</tickerType>
|
||||
<techLevel>Spacer</techLevel>
|
||||
<tradeability>None</tradeability>
|
||||
@@ -466,87 +466,43 @@
|
||||
<AccuracyShort>1</AccuracyShort>
|
||||
<AccuracyMedium>1</AccuracyMedium>
|
||||
<AccuracyLong>1</AccuracyLong>
|
||||
<RangedWeapon_Cooldown>3.5</RangedWeapon_Cooldown>
|
||||
<RangedWeapon_Cooldown>0.1</RangedWeapon_Cooldown>
|
||||
</statBases>
|
||||
<verbs>
|
||||
<li>
|
||||
<verbClass>Verb_Shoot</verbClass>
|
||||
<verbClass>WulaFallenEmpire.Verb_RangeChecker</verbClass>
|
||||
<hasStandardCommand>true</hasStandardCommand>
|
||||
<defaultProjectile>Bullet_Wula_AI_Heavy_Panzer_Main_Weapon</defaultProjectile>
|
||||
<warmupTime>2</warmupTime>
|
||||
<range>21</range>
|
||||
<defaultProjectile>Bullet_ChargeRifle</defaultProjectile>
|
||||
<minRange>5.9</minRange>
|
||||
<range>60</range>
|
||||
<warmupTime>0.2</warmupTime>
|
||||
<burstShotCount>1</burstShotCount>
|
||||
<forcedMissRadius>1</forcedMissRadius>
|
||||
<soundCast>RocketswarmLauncher_Fire</soundCast>
|
||||
<soundCastTail>GunTail_Heavy</soundCastTail>
|
||||
<!-- <soundCast>RocketswarmLauncher_Fire</soundCast>
|
||||
<soundCastTail>GunTail_Heavy</soundCastTail> -->
|
||||
<targetParams>
|
||||
<canTargetLocations>true</canTargetLocations>
|
||||
</targetParams>
|
||||
</li>
|
||||
</verbs>
|
||||
<costList Inherit="False">
|
||||
<Steel>200</Steel>
|
||||
<ComponentIndustrial>12</ComponentIndustrial>
|
||||
<Steel>1</Steel>
|
||||
</costList>
|
||||
<weaponTags Inherit="False">
|
||||
<li>Wula_AI_Heavy_Panzer_Weapon</li>
|
||||
</weaponTags>
|
||||
<thingCategories Inherit="False"/>
|
||||
<comps>
|
||||
<!-- <li Class="WulaFallenEmpire.CompProperties_MechOnlyWeapon">
|
||||
<li Class="WulaFallenEmpire.CompProperties_MechOnlyWeapon">
|
||||
<allowedMechRaces>
|
||||
<li>Wula_AI_Heavy_Panzer</li>
|
||||
</allowedMechRaces>
|
||||
</li> -->
|
||||
</li>
|
||||
</comps>
|
||||
</ThingDef>
|
||||
<ThingDef ParentName="BaseBullet">
|
||||
<defName>Bullet_Wula_AI_Heavy_Panzer_Main_Weapon</defName>
|
||||
<label>月长石炮弹</label>
|
||||
<drawerType>RealtimeOnly</drawerType>
|
||||
<graphicData>
|
||||
<texPath>Wula/Projectile/WULA_Shrapnel</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<drawSize>(2,2)</drawSize>
|
||||
</graphicData>
|
||||
<thingClass>WulaFallenEmpire.Projectile_NorthArcTrail</thingClass>
|
||||
<tickerType>Normal</tickerType>
|
||||
<neverMultiSelect>True</neverMultiSelect>
|
||||
<projectile>
|
||||
<damageDef>WULA_GiantBomb</damageDef>
|
||||
<damageAmountBase>65</damageAmountBase>
|
||||
<speed>25</speed>
|
||||
<explosionRadius>6</explosionRadius>
|
||||
<armorPenetrationBase>1.5</armorPenetrationBase>
|
||||
<flyOverhead>true</flyOverhead>
|
||||
<soundHitThickRoof>Artillery_HitThickRoof</soundHitThickRoof>
|
||||
<soundExplode>MortarBomb_Explode</soundExplode>
|
||||
<soundImpactAnticipate>MortarRound_PreImpact</soundImpactAnticipate>
|
||||
<soundAmbient>MortarRound_Ambient</soundAmbient>
|
||||
<stoppingPower>10</stoppingPower>
|
||||
<preExplosionSpawnSingleThingDef>Filth_BlastMark</preExplosionSpawnSingleThingDef>
|
||||
</projectile>
|
||||
<modExtensions>
|
||||
<li Class="WulaFallenEmpire.NorthArcModExtension">
|
||||
<northOffsetDistance>5</northOffsetDistance>
|
||||
<curveSteepness>1.0</curveSteepness>
|
||||
<useArcTrajectory>true</useArcTrajectory>
|
||||
</li>
|
||||
<li Class="WulaFallenEmpire.TrackingBulletDef">
|
||||
<tailFleckDef>WULA_Smoke_Tail</tailFleckDef>
|
||||
<fleckMakeFleckTickMax>5</fleckMakeFleckTickMax>
|
||||
<fleckDelayTicks>1</fleckDelayTicks>
|
||||
<fleckMakeFleckNum>1~2</fleckMakeFleckNum>
|
||||
<fleckScale>0.5~1.0</fleckScale>
|
||||
<fleckSpeed>0.1~0.3</fleckSpeed>
|
||||
<fleckAngle>-30~30</fleckAngle>
|
||||
</li>
|
||||
</modExtensions>
|
||||
</ThingDef>
|
||||
<ThingDef ParentName="BaseWeaponTurret">
|
||||
<defName>Wula_AI_Rocket_Panzer_Turret_Weapon</defName>
|
||||
<label>FRt-1"火欧泊"</label>
|
||||
<description>HRp-3"喷火战车"的炮塔,可以一次性发射大量的火箭弹。</description>
|
||||
<description>HRp-3"炎霖"的炮塔,可以一次性发射大量的火箭弹。</description>
|
||||
<tradeability>None</tradeability>
|
||||
<destroyOnDrop>true</destroyOnDrop>
|
||||
<techLevel>Ultra</techLevel>
|
||||
@@ -565,7 +521,7 @@
|
||||
</statBases>
|
||||
<verbs>
|
||||
<li>
|
||||
<verbClass>Verb_Shoot</verbClass>
|
||||
<verbClass>WulaFallenEmpire.Verb_TurretOffestShoot</verbClass>
|
||||
<hasStandardCommand>true</hasStandardCommand>
|
||||
<defaultProjectile>Bullet_Wula_AI_Rocket_Panzer_Turret_Weapon</defaultProjectile>
|
||||
<warmupTime>0</warmupTime>
|
||||
@@ -581,6 +537,14 @@
|
||||
<muzzleFlashScale>18</muzzleFlashScale>
|
||||
</li>
|
||||
</verbs>
|
||||
<modExtensions>
|
||||
<li Class="WulaFallenEmpire.ModExtension_ShootWithOffset">
|
||||
<offsets>
|
||||
<li>(0.62, -4.1)</li>
|
||||
<li>(-0.62, -4.1)</li>
|
||||
</offsets>
|
||||
</li>
|
||||
</modExtensions>
|
||||
</ThingDef>
|
||||
<ThingDef ParentName="BaseBullet">
|
||||
<defName>Bullet_Wula_AI_Rocket_Panzer_Turret_Weapon</defName>
|
||||
@@ -610,7 +574,7 @@
|
||||
</projectile>
|
||||
<modExtensions>
|
||||
<li Class="WulaFallenEmpire.NorthArcModExtension">
|
||||
<northOffsetDistance>6</northOffsetDistance>
|
||||
<northOffsetDistance>18</northOffsetDistance>
|
||||
<curveSteepness>1.0</curveSteepness>
|
||||
<useArcTrajectory>true</useArcTrajectory>
|
||||
</li>
|
||||
@@ -625,6 +589,64 @@
|
||||
</li>
|
||||
</modExtensions>
|
||||
</ThingDef>
|
||||
<ThingDef ParentName="BaseHumanMakeableGun">
|
||||
<defName>Wula_AI_Rocket_Panzer_Main_Weapon</defName>
|
||||
<label>目标标定器</label>
|
||||
<description>HRp-3"炎霖"车体上的测距器,可以确保其炮塔在可以开火的最佳距离,被其瞄准的目标会成为炮塔的优先攻击目标。</description>
|
||||
<tickerType>Normal</tickerType>
|
||||
<techLevel>Spacer</techLevel>
|
||||
<tradeability>None</tradeability>
|
||||
<destroyOnDrop>true</destroyOnDrop>
|
||||
<uiIconPath>Wula/Projectile/WULA_Shrapnel</uiIconPath>
|
||||
<graphicData>
|
||||
<texPath>Wula/Weapon/WULA_Weapon_Empty</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<drawSize>1.35</drawSize>
|
||||
</graphicData>
|
||||
<soundInteract>Interact_Rifle</soundInteract>
|
||||
<recipeMaker Inherit="False" IsNull="True"/>
|
||||
<statBases>
|
||||
<WorkToMake>2500</WorkToMake>
|
||||
<!-- <MarketValue>370</MarketValue> -->
|
||||
<Mass>8</Mass>
|
||||
<AccuracyTouch>1</AccuracyTouch>
|
||||
<AccuracyShort>1</AccuracyShort>
|
||||
<AccuracyMedium>1</AccuracyMedium>
|
||||
<AccuracyLong>1</AccuracyLong>
|
||||
<RangedWeapon_Cooldown>0.1</RangedWeapon_Cooldown>
|
||||
</statBases>
|
||||
<verbs>
|
||||
<li>
|
||||
<verbClass>WulaFallenEmpire.Verb_RangeChecker</verbClass>
|
||||
<hasStandardCommand>true</hasStandardCommand>
|
||||
<defaultProjectile>Bullet_ChargeRifle</defaultProjectile>
|
||||
<minRange>12</minRange>
|
||||
<range>79</range>
|
||||
<warmupTime>0.2</warmupTime>
|
||||
<burstShotCount>1</burstShotCount>
|
||||
<requireLineOfSight>false</requireLineOfSight>
|
||||
<!-- <soundCast>RocketswarmLauncher_Fire</soundCast>
|
||||
<soundCastTail>GunTail_Heavy</soundCastTail> -->
|
||||
<targetParams>
|
||||
<canTargetLocations>true</canTargetLocations>
|
||||
</targetParams>
|
||||
</li>
|
||||
</verbs>
|
||||
<costList Inherit="False">
|
||||
<Steel>1</Steel>
|
||||
</costList>
|
||||
<weaponTags Inherit="False">
|
||||
<li>Wula_AI_Rocket_Panzer_Weapon</li>
|
||||
</weaponTags>
|
||||
<thingCategories Inherit="False"/>
|
||||
<comps>
|
||||
<li Class="WulaFallenEmpire.CompProperties_MechOnlyWeapon">
|
||||
<allowedMechRaces>
|
||||
<li>Wula_AI_Rocket_Panzer</li>
|
||||
</allowedMechRaces>
|
||||
</li>
|
||||
</comps>
|
||||
</ThingDef>
|
||||
|
||||
<ThingDef ParentName="BaseHumanMakeableGun">
|
||||
<defName>Wula_Psi_Titan_Beam</defName>
|
||||
|
||||
@@ -81,6 +81,8 @@
|
||||
<ArmorRating_Sharp>1</ArmorRating_Sharp>
|
||||
<ArmorRating_Blunt>1</ArmorRating_Blunt>
|
||||
<ArmorRating_Heat>2</ArmorRating_Heat>
|
||||
|
||||
<WULA_MechArmor>3</WULA_MechArmor>
|
||||
</statBases>
|
||||
<costList Inherit="False">
|
||||
<WULA_Alloy>300</WULA_Alloy>
|
||||
@@ -118,7 +120,7 @@
|
||||
<turretDef>Wula_AI_Heavy_Panzer_Turret_Weapon</turretDef>
|
||||
<traverseSpeed>20</traverseSpeed>
|
||||
<aimTicks>0</aimTicks>
|
||||
<idleRotationSpeed>3</idleRotationSpeed>
|
||||
<idleRotationSpeed>6</idleRotationSpeed>
|
||||
<smoothRotation>true</smoothRotation>
|
||||
<resetCooldownTime>1.2</resetCooldownTime>
|
||||
<!-- <angleOffset>-90</angleOffset> -->
|
||||
@@ -328,6 +330,12 @@
|
||||
<knockbackFlyerDef>PawnFlyer</knockbackFlyerDef>
|
||||
<!-- <flightEffecterDef>FlyerTakeoff</flightEffecterDef> -->
|
||||
<landingSound>PawnFlyerLand</landingSound>
|
||||
|
||||
<!-- 地形阻挡配置 -->
|
||||
<narrowTerrainBlocked>true</narrowTerrainBlocked>
|
||||
<maxBlockPenalty>1</maxBlockPenalty>
|
||||
<terrainCheckInterval>60</terrainCheckInterval>
|
||||
<blockedHediff>Wula_TerrainBlocked</blockedHediff>
|
||||
|
||||
<!-- 调试 -->
|
||||
<enableDebugLogging>false</enableDebugLogging>
|
||||
@@ -338,8 +346,8 @@
|
||||
</ThingDef>
|
||||
<ThingDef ParentName="Wula_MechunitBase">
|
||||
<defName>Wula_AI_Rocket_Panzer</defName>
|
||||
<label>HRp-3"喷火战车"</label>
|
||||
<description>乌拉帝国的中型战争机械,以悬浮的方式穿梭于战场之上,拥有车体臼炮和两具可以发射大量燃烧火箭弹的转轮导弹巢。</description>
|
||||
<label>HRp-3"炎霖"</label>
|
||||
<description>乌拉帝国的中型战争机械,以悬浮的方式穿梭于战场之上,可以在远距离上使用火箭弹巢发射漫天的弹幕,用纯粹的火力淹没敌方集群。</description>
|
||||
<statBases>
|
||||
<MoveSpeed>2</MoveSpeed>
|
||||
<EnergyShieldEnergyMax>2</EnergyShieldEnergyMax>
|
||||
@@ -351,6 +359,8 @@
|
||||
<ArmorRating_Sharp>1</ArmorRating_Sharp>
|
||||
<ArmorRating_Blunt>1</ArmorRating_Blunt>
|
||||
<ArmorRating_Heat>2</ArmorRating_Heat>
|
||||
|
||||
<WULA_MechArmor>3</WULA_MechArmor>
|
||||
</statBases>
|
||||
<costList Inherit="False">
|
||||
<WULA_Alloy>300</WULA_Alloy>
|
||||
@@ -390,7 +400,7 @@
|
||||
<aimTicks>0</aimTicks>
|
||||
<idleRotationSpeed>8</idleRotationSpeed>
|
||||
<smoothRotation>true</smoothRotation>
|
||||
<resetCooldownTime>10</resetCooldownTime>
|
||||
<resetCooldownTime>12.2</resetCooldownTime>
|
||||
<!-- <angleOffset>-90</angleOffset> -->
|
||||
<!-- <angleOffset>-90</angleOffset> -->
|
||||
<renderNodeProperties>
|
||||
@@ -463,7 +473,7 @@
|
||||
<repairEffect>ConstructMetal</repairEffect>
|
||||
</li>
|
||||
<li Class="WulaFallenEmpire.CompProperties_MechInherentWeapon">
|
||||
<weaponDef>Wula_AI_Heavy_Panzer_Main_Weapon</weaponDef>
|
||||
<weaponDef>Wula_AI_Rocket_Panzer_Main_Weapon</weaponDef>
|
||||
</li>
|
||||
<li Class="WulaFallenEmpire.CompProperties_MechDefaultPilot">
|
||||
<enableForNonPlayerFaction>true</enableForNonPlayerFaction>
|
||||
|
||||
Reference in New Issue
Block a user