zc
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,289 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Defs>
|
||||
|
||||
<!-- 迫击炮塔空投信标 -->
|
||||
<ThingDef ParentName="BuildingBase">
|
||||
<defName>Wula_Base_Mortar_Turret_Cleanzone</defName>
|
||||
<label>MTt-8"深渊"迫击炮塔</label>
|
||||
<description>清理出一块场地并准备好资源,使得乌拉帝国母舰可以向此处投放建筑。建造好的信标可以收起或移至他处,但是必须要有母舰或者工程舰在上空才能投送建筑。\n\nMTt-8"深渊"迫击炮塔是一种需要通电才能运转的中型防御炮塔,发射高爆迫击炮弹。这种炮台具有高伤害范围攻击能力,适合对付集群敌人和建筑。</description>
|
||||
<uiIconPath>Wula/Building/Wula_Base_Mortar_Turret</uiIconPath>
|
||||
<minifiedDef>MinifiedThing</minifiedDef>
|
||||
<tickerType>Normal</tickerType>
|
||||
<descriptionHyperlinks>
|
||||
<ThingDef>Wula_Base_Mortar_Turret</ThingDef>
|
||||
<ThingDef>Wula_Base_Mortar_Turret_Weapon</ThingDef>
|
||||
</descriptionHyperlinks>
|
||||
<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>
|
||||
<pathCost>0</pathCost>
|
||||
<castEdgeShadows>false</castEdgeShadows>
|
||||
<fillPercent>0.5</fillPercent>
|
||||
<canOverlapZones>false</canOverlapZones>
|
||||
<hasInteractionCell>false</hasInteractionCell>
|
||||
<rotatable>false</rotatable>
|
||||
<researchPrerequisites Inherit="False">
|
||||
<li>WULA_Turret_Base_Mortar_Technology</li>
|
||||
</researchPrerequisites>
|
||||
<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 Inherit="False">
|
||||
<WULA_Alloy>100</WULA_Alloy>
|
||||
<WULA_Charge_Cube>6</WULA_Charge_Cube>
|
||||
</costList>
|
||||
<building>
|
||||
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
|
||||
</building>
|
||||
<placeWorkers>
|
||||
<li>WulaFallenEmpire.PlaceWorker_CustomRadius</li>
|
||||
</placeWorkers>
|
||||
<designationCategory>WULA_Buildings</designationCategory>
|
||||
<comps>
|
||||
<li Class="WulaFallenEmpire.CompProperties_CustomRadius">
|
||||
<radius>75</radius> <!-- 半径大小 -->
|
||||
<color>(1, 1, 1)</color> <!-- 白色圆圈 -->
|
||||
<radiusOffset>0</radiusOffset> <!-- 半径偏移 -->
|
||||
<showInGUI>true</showInGUI>
|
||||
<label>射程</label>
|
||||
<description>在该建筑空降到指定地点时,其炮台武器的最大射程。</description>
|
||||
<defaultVisible>true</defaultVisible>
|
||||
</li>
|
||||
<li Class="WulaFallenEmpire.CompProperties_SkyfallerCaller">
|
||||
<skyfallerDef>Wula_Base_Mortar_Turret_Incoming</skyfallerDef> <!-- 迫击炮塔空投类型 -->
|
||||
<destroyBuilding>true</destroyBuilding>
|
||||
<delayTicks>1</delayTicks>
|
||||
<allowThinRoof>true</allowThinRoof>
|
||||
<allowThickRoof>false</allowThickRoof>
|
||||
</li>
|
||||
</comps>
|
||||
</ThingDef>
|
||||
|
||||
<!-- 迫击炮塔空投中 -->
|
||||
<ThingDef ParentName="SkyfallerBase">
|
||||
<defName>Wula_Base_Mortar_Turret_Incoming</defName>
|
||||
<label>MTt-8"深渊"迫击炮塔(空投中)</label>
|
||||
<size>(3,3)</size>
|
||||
<graphicData>
|
||||
<texPath>Wula/Building/Wula_Base_ATGun_Turret_Incoming</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<shaderType>CutoutFlying</shaderType>
|
||||
<drawSize>(3,3.75)</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_Base_Mortar_Turret</spawnThing>
|
||||
</skyfaller>
|
||||
<comps>
|
||||
<li Class="CompProperties_Effecter">
|
||||
<effecterDef>Smoke_Joint</effecterDef>
|
||||
</li>
|
||||
</comps>
|
||||
</ThingDef>
|
||||
|
||||
<!-- 迫击炮塔 -->
|
||||
<ThingDef ParentName="BuildingBase">
|
||||
<defName>Wula_Base_Mortar_Turret</defName>
|
||||
<label>MTt-8"深渊"迫击炮塔</label>
|
||||
<description>MTt-8"深渊"迫击炮塔是一种需要通电才能运转的中型防御炮塔,发射高爆迫击炮弹。这种炮台具有高伤害范围攻击能力,适合对付集群敌人和建筑。</description>
|
||||
<thingClass>WulaFallenEmpire.Building_TurretGunHasSpeed</thingClass>
|
||||
<drawerType>MapMeshAndRealTime</drawerType>
|
||||
<modExtensions>
|
||||
<li Class="WulaFallenEmpire.ModExt_HasSpeedTurret">
|
||||
<speed>0.2</speed> <!-- 旋转速度 (度/Tick)。迫击炮旋转较慢。 -->
|
||||
</li>
|
||||
</modExtensions>
|
||||
<graphicData>
|
||||
<texPath>Wula/Building/WULA_Turret_Component</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<drawSize>(3,3)</drawSize>
|
||||
<!-- <drawOffset>(0,0,-0.16)</drawOffset> -->
|
||||
<damageData>
|
||||
<rect>(0.3,0.3,1.4,1.4)</rect>
|
||||
</damageData>
|
||||
<shadowData>
|
||||
<volume>(0.5,0.35,0.75)</volume>
|
||||
<offset>(0,0,-0.05)</offset>
|
||||
</shadowData>
|
||||
</graphicData>
|
||||
<receivesSignals>true</receivesSignals>
|
||||
<uiIconPath>Wula/Building/Wula_Base_Mortar_Turret</uiIconPath>
|
||||
<uiIconScale>1.0</uiIconScale>
|
||||
<altitudeLayer>Building</altitudeLayer>
|
||||
<stealable>false</stealable>
|
||||
<rotatable>false</rotatable>
|
||||
<size>(3,3)</size>
|
||||
<statBases>
|
||||
<MaxHitPoints>1500</MaxHitPoints>
|
||||
<Flammability>0</Flammability>
|
||||
<WorkToBuild>3200</WorkToBuild>
|
||||
<Mass>80</Mass>
|
||||
<Beauty>0</Beauty>
|
||||
<ShootingAccuracyTurret>0.80</ShootingAccuracyTurret>
|
||||
</statBases>
|
||||
<costList Inherit="False">
|
||||
<WULA_Alloy>100</WULA_Alloy>
|
||||
<WULA_Charge_Cube>6</WULA_Charge_Cube>
|
||||
</costList>
|
||||
<leaveResourcesWhenKilled>false</leaveResourcesWhenKilled>
|
||||
<tickerType>Normal</tickerType>
|
||||
<passability>PassThroughOnly</passability>
|
||||
<pathCost>50</pathCost>
|
||||
<fillPercent>0.5</fillPercent>
|
||||
<hasTooltip>true</hasTooltip>
|
||||
<building>
|
||||
<combatPower>450</combatPower>
|
||||
<ai_combatDangerous>true</ai_combatDangerous>
|
||||
<turretGunDef>Wula_Base_Mortar_Turret_Weapon</turretGunDef>
|
||||
<turretBurstCooldownTime>4</turretBurstCooldownTime>
|
||||
<turretTopOffset>(-0.04, 0)</turretTopOffset>
|
||||
<turretTopDrawSize>5.0</turretTopDrawSize>
|
||||
</building>
|
||||
<placeWorkers>
|
||||
<li>PlaceWorker_TurretTop</li>
|
||||
<li>PlaceWorker_ShowTurretRadius</li>
|
||||
</placeWorkers>
|
||||
<comps>
|
||||
<li Class="CompProperties_CanBeDormant" />
|
||||
<li Class="CompProperties_Initiatable" />
|
||||
<li Class="CompProperties_WakeUpDormant">
|
||||
<wakeUpSound>MechanoidsWakeUp</wakeUpSound>
|
||||
</li>
|
||||
<li Class="CompProperties_Stunnable">
|
||||
<affectedDamageDefs>
|
||||
<li>EMP</li>
|
||||
</affectedDamageDefs>
|
||||
</li>
|
||||
<li Class="CompProperties_AmbientSound">
|
||||
<sound>MechTurretBig_Call</sound>
|
||||
</li>
|
||||
<li Class="WulaFallenEmpire.CompProperties_FactionSetter">
|
||||
<!-- <factionDef>Mechanoid</factionDef> 不写默认玩家派系-->
|
||||
<usePlayerFactionIfNull>true</usePlayerFactionIfNull>
|
||||
<overrideExistingFaction>false</overrideExistingFaction>
|
||||
</li>
|
||||
<li Class="CompProperties_Power">
|
||||
<compClass>CompPowerTrader</compClass>
|
||||
<basePowerConsumption>200</basePowerConsumption> <!-- 电力消耗较低 -->
|
||||
</li>
|
||||
<li Class="CompProperties_Glower">
|
||||
<glowRadius>6</glowRadius>
|
||||
<glowColor>(252,240,120,0)</glowColor> <!-- 黄色光晕 -->
|
||||
</li>
|
||||
<li Class="WulaFallenEmpire.CompProperties_ForceTargetable" />
|
||||
</comps>
|
||||
</ThingDef>
|
||||
|
||||
<!-- 迫击炮塔武器 -->
|
||||
<ThingDef ParentName="BaseWeaponTurret">
|
||||
<defName>Wula_Base_Mortar_Turret_Weapon</defName>
|
||||
<label>MTt-8"深渊"</label>
|
||||
<description>迫击炮塔,可以从远距离上对敌方集群造成巨大伤害。</description>
|
||||
<tradeability>None</tradeability>
|
||||
<destroyOnDrop>true</destroyOnDrop>
|
||||
<techLevel>Ultra</techLevel>
|
||||
<graphicData>
|
||||
<texPath>Wula/Building/Wula_Base_ATGun_Turret_Weapon</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<drawSize>3</drawSize>
|
||||
</graphicData>
|
||||
<uiIconScale>0.33</uiIconScale>
|
||||
<statBases>
|
||||
<Mass>150</Mass>
|
||||
<AccuracyTouch>0.3</AccuracyTouch>
|
||||
<AccuracyShort>0.7</AccuracyShort>
|
||||
<AccuracyMedium>0.85</AccuracyMedium>
|
||||
<AccuracyLong>0.8</AccuracyLong>
|
||||
</statBases>
|
||||
<verbs>
|
||||
<li>
|
||||
<verbClass>Verb_Shoot</verbClass>
|
||||
<hasStandardCommand>true</hasStandardCommand>
|
||||
<defaultProjectile>Bullet_WULA_WM_Mortar_Turret</defaultProjectile>
|
||||
<warmupTime>2.5</warmupTime>
|
||||
<defaultCooldownTime>5</defaultCooldownTime>
|
||||
<minRange>10</minRange>
|
||||
<range>75</range>
|
||||
<burstShotCount>1</burstShotCount>
|
||||
<forcedMissRadius>1.9</forcedMissRadius>
|
||||
<soundCast>WULA_MW_Mass_Drivers_Shootingsound</soundCast>
|
||||
<soundCastTail>GunTail_Heavy</soundCastTail>
|
||||
<muzzleFlashScale>18</muzzleFlashScale>
|
||||
<targetParams>
|
||||
<canTargetLocations>true</canTargetLocations>
|
||||
</targetParams>
|
||||
</li>
|
||||
</verbs>
|
||||
</ThingDef>
|
||||
|
||||
<!-- 迫击炮弹 -->
|
||||
<ThingDef ParentName="BaseBullet">
|
||||
<defName>Bullet_WULA_WM_Mortar_Turret</defName>
|
||||
<label>深渊迫击炮弹</label>
|
||||
<thingClass>WulaFallenEmpire.Projectile_NorthArcTrail</thingClass>
|
||||
<tickerType>Normal</tickerType>
|
||||
<neverMultiSelect>True</neverMultiSelect>
|
||||
<graphicData>
|
||||
<texPath>Wula/Projectile/WULA_Bullet_ChargeLanceShot_Red</texPath>
|
||||
<graphicClass>Graphic_Single</graphicClass>
|
||||
<shaderType>TransparentPostLight</shaderType>
|
||||
<drawSize>5</drawSize>
|
||||
</graphicData>
|
||||
<projectile>
|
||||
<damageDef>Bomb</damageDef>
|
||||
<damageAmountBase>220</damageAmountBase>
|
||||
<speed>20</speed>
|
||||
<armorPenetrationBase>0.8</armorPenetrationBase>
|
||||
<explosionRadius>5.0</explosionRadius>
|
||||
<soundHitThickRoof>Artillery_HitThickRoof</soundHitThickRoof>
|
||||
<soundExplode>MortarBomb_Explode</soundExplode>
|
||||
<soundImpactAnticipate>MortarRound_PreImpact</soundImpactAnticipate>
|
||||
<soundAmbient>MortarRound_Ambient</soundAmbient>
|
||||
<stoppingPower>5</stoppingPower>
|
||||
<flyOverhead>true</flyOverhead>
|
||||
<arcHeightFactor>150</arcHeightFactor>
|
||||
</projectile>
|
||||
<modExtensions>
|
||||
<li Class="WulaFallenEmpire.TrackingBulletDef">
|
||||
<tailFleckDef>WULA_GunTail_Lighting</tailFleckDef>
|
||||
<fleckMakeFleckTickMax>3</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>
|
||||
|
||||
</Defs>
|
||||
Reference in New Issue
Block a user