267 lines
9.5 KiB
XML
267 lines
9.5 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<Defs>
|
|
<ThingDef ParentName="BuildingBase">
|
|
<defName>WULA_ArmedShuttle</defName>
|
|
<label>乌拉武装穿梭机</label>
|
|
<description>A chemfuel-powered shuttle designed for long-distance travel, equipped with a turret for defense. It is capable of reaching orbital locations.</description>
|
|
<thingClass>WulaFallenEmpire.Building_ArmedShuttle</thingClass>
|
|
<preventDroppingThingsOn>true</preventDroppingThingsOn>
|
|
<altitudeLayer>Building</altitudeLayer>
|
|
<pathCost>50</pathCost>
|
|
<blockWind>true</blockWind>
|
|
<passability>PassThroughOnly</passability>
|
|
<fillPercent>0.5</fillPercent>
|
|
<size>(3,5)</size>
|
|
<drawHighlight>true</drawHighlight>
|
|
<highlightColor>(0.56, 0.62, 0.9)</highlightColor>
|
|
<uiIconScale>1</uiIconScale>
|
|
<graphicData>
|
|
<graphicClass>Graphic_Multi</graphicClass>
|
|
<texPath>Things/Building/PassengerShuttle/PassengerShuttle</texPath>
|
|
<shaderType>CutoutComplex</shaderType>
|
|
<drawSize>(3,5)</drawSize>
|
|
<shadowData>
|
|
<volume>(1.8, 1.0, 4.1)</volume>
|
|
<offset>(-0.1, 0, 0)</offset>
|
|
</shadowData>
|
|
</graphicData>
|
|
<statBases>
|
|
<MaxHitPoints>6000</MaxHitPoints>
|
|
<Flammability>0.5</Flammability>
|
|
<WorkToBuild>40000</WorkToBuild>
|
|
<Mass>150</Mass>
|
|
<Comfort>0.65</Comfort>
|
|
</statBases>
|
|
<tickerType>Normal</tickerType>
|
|
<designationCategory>Odyssey</designationCategory>
|
|
<constructionSkillPrerequisite>8</constructionSkillPrerequisite>
|
|
<costList>
|
|
<Steel>300</Steel>
|
|
<Plasteel>200</Plasteel>
|
|
<ComponentIndustrial>8</ComponentIndustrial>
|
|
<ComponentSpacer>2</ComponentSpacer>
|
|
<ShuttleEngine>1</ShuttleEngine>
|
|
</costList>
|
|
<canOverlapZones>true</canOverlapZones>
|
|
<killedLeavings>
|
|
<Steel>60</Steel>
|
|
<Plasteel>60</Plasteel>
|
|
<ChunkSlagSteel>5</ChunkSlagSteel>
|
|
<ComponentIndustrial>4</ComponentIndustrial>
|
|
</killedLeavings>
|
|
<rotatable>true</rotatable>
|
|
<hasInteractionCell>true</hasInteractionCell>
|
|
<interactionCellOffset>(2, 0, 0)</interactionCellOffset>
|
|
<defaultPlacingRot>East</defaultPlacingRot>
|
|
<selectable>true</selectable>
|
|
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
|
|
<soundImpactDefault>BulletImpact_Metal</soundImpactDefault>
|
|
<preventSkyfallersLandingOn>true</preventSkyfallersLandingOn>
|
|
<drawerType>RealtimeOnly</drawerType>
|
|
<repairEffect>ConstructMetal</repairEffect>
|
|
<forceDebugSpawnable>true</forceDebugSpawnable>
|
|
<building>
|
|
<claimable>false</claimable>
|
|
<destroySound>BuildingDestroyed_Metal_Big</destroySound>
|
|
<paintable>true</paintable>
|
|
<isInert>true</isInert>
|
|
<forcedCostLeavings>
|
|
<li MayRequire="Ludeon.RimWorld.Odyssey">ShuttleEngine</li>
|
|
</forcedCostLeavings>
|
|
<turretGunDef>Gun_ChargeBlasterHeavyTurret</turretGunDef>
|
|
<turretBurstCooldownTime>5.5</turretBurstCooldownTime>
|
|
<turretTopDrawSize>1.75</turretTopDrawSize>
|
|
<turretTopOffset>(0, 0.05)</turretTopOffset>
|
|
</building>
|
|
<inspectorTabs>
|
|
<li>ITab_ContentsTransporter</li>
|
|
<li>ITab_Shells</li>
|
|
</inspectorTabs>
|
|
<researchPrerequisites>
|
|
<li>Shuttles</li>
|
|
</researchPrerequisites>
|
|
<comps>
|
|
<li Class="CompProperties_Shuttle">
|
|
<shipDef>Ship_ArmedShuttle</shipDef>
|
|
</li>
|
|
<li Class="CompProperties_Launchable">
|
|
<fuelPerTile>3</fuelPerTile>
|
|
<minFuelCost>50</minFuelCost>
|
|
<skyfallerLeaving>ArmedShuttleLeaving_WULA</skyfallerLeaving>
|
|
<worldObjectDef>PassengerShuttle</worldObjectDef>
|
|
<cooldownTicks>3750</cooldownTicks> <!-- 1.5 hours -->
|
|
<fixedLaunchDistanceMax>62</fixedLaunchDistanceMax>
|
|
<cooldownEndedMessage>{0} is ready to launch again.</cooldownEndedMessage>
|
|
</li>
|
|
<li Class="CompProperties_Transporter">
|
|
<massCapacity>500</massCapacity>
|
|
<max1PerGroup>true</max1PerGroup>
|
|
<canChangeAssignedThingsAfterStarting>true</canChangeAssignedThingsAfterStarting>
|
|
<pawnLoadedSound>Shuttle_PawnLoaded</pawnLoadedSound>
|
|
<pawnExitSound>Shuttle_PawnExit</pawnExitSound>
|
|
<showMassInInspectString>true</showMassInInspectString>
|
|
</li>
|
|
<li Class="CompProperties_Refuelable">
|
|
<fuelCapacity>400</fuelCapacity>
|
|
<targetFuelLevelConfigurable>true</targetFuelLevelConfigurable>
|
|
<initialConfigurableTargetFuelLevel>400</initialConfigurableTargetFuelLevel>
|
|
<fuelFilter>
|
|
<thingDefs>
|
|
<li>Chemfuel</li>
|
|
</thingDefs>
|
|
</fuelFilter>
|
|
<fuelLabel>Chemfuel</fuelLabel>
|
|
<fuelGizmoLabel>Chemfuel</fuelGizmoLabel>
|
|
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
|
|
<autoRefuelPercent>1</autoRefuelPercent>
|
|
<showFuelGizmo>true</showFuelGizmo>
|
|
<drawOutOfFuelOverlay>false</drawOutOfFuelOverlay>
|
|
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
|
|
<canEjectFuel>true</canEjectFuel>
|
|
</li>
|
|
<li Class="CompProperties_AmbientSound">
|
|
<sound>ShuttleIdle_Ambience</sound>
|
|
</li>
|
|
</comps>
|
|
<placeWorkers>
|
|
<li>PlaceWorker_NotUnderRoof</li>
|
|
<li>PlaceWorker_TurretTop</li>
|
|
</placeWorkers>
|
|
<uiOrder>2601</uiOrder>
|
|
</ThingDef>
|
|
|
|
<ThingDef ParentName="BaseBullet">
|
|
<defName>WULA_Bullet_ArmedShuttle</defName>
|
|
<label>shuttle cannon shell</label>
|
|
<graphicData>
|
|
<texPath>Things/Projectile/Bullet_Big</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
</graphicData>
|
|
<projectile>
|
|
<damageDef>Bullet</damageDef>
|
|
<damageAmountBase>25</damageAmountBase>
|
|
<speed>70</speed>
|
|
</projectile>
|
|
</ThingDef>
|
|
|
|
<ThingDef ParentName="BaseWeaponTurret">
|
|
<defName>Gun_ChargeBlasterHeavyTurret</defName>
|
|
<label>light charge blaster</label>
|
|
<description>A pulse-charged rapid-fire blaster for area fire.</description>
|
|
<graphicData>
|
|
<texPath>Things/Item/Equipment/WeaponRanged/ChargeBlasterLight</texPath>
|
|
<graphicClass>Graphic_Single</graphicClass>
|
|
</graphicData>
|
|
<statBases>
|
|
<AccuracyLong>0.08</AccuracyLong>
|
|
<RangedWeapon_Cooldown>5.5</RangedWeapon_Cooldown>
|
|
</statBases>
|
|
<verbs>
|
|
<li>
|
|
<verbClass>Verb_Shoot</verbClass>
|
|
<hasStandardCommand>true</hasStandardCommand>
|
|
<defaultProjectile>WULA_Bullet_ArmedShuttle</defaultProjectile>
|
|
<warmupTime>1.25</warmupTime>
|
|
<minRange>3.9</minRange>
|
|
<range>45.9</range>
|
|
<ticksBetweenBurstShots>7</ticksBetweenBurstShots>
|
|
<burstShotCount>9</burstShotCount>
|
|
<soundCast>Shot_ChargeBlaster</soundCast>
|
|
<soundCastTail>GunTail_Heavy</soundCastTail>
|
|
<muzzleFlashScale>9</muzzleFlashScale>
|
|
</li>
|
|
</verbs>
|
|
</ThingDef>
|
|
|
|
<ThingDef ParentName="ShuttleSkyfallerBase">
|
|
<defName>ArmedShuttleIncoming_WULA</defName>
|
|
<label>武装穿梭机 (接近中)</label>
|
|
<thingClass>WulaFallenEmpire.ArmedShuttleIncoming</thingClass>
|
|
<graphicData>
|
|
<graphicClass>Graphic_Multi</graphicClass>
|
|
<texPath>Things/Building/PassengerShuttle/PassengerShuttle</texPath>
|
|
<shaderType>CutoutComplex</shaderType>
|
|
<drawSize>(3,5)</drawSize>
|
|
</graphicData>
|
|
<size>(3,5)</size>
|
|
<skyfaller>
|
|
<anticipationSound>Shuttle_Landing</anticipationSound>
|
|
<anticipationSoundTicks>250</anticipationSoundTicks>
|
|
<ticksToImpactRange>200~250</ticksToImpactRange>
|
|
<shadowSize>(3.5,5.5)</shadowSize>
|
|
<rotationCurve>
|
|
<points>
|
|
<li>(0,30)</li>
|
|
<li>(0.5,5)</li>
|
|
<li>(0.9,-5)</li>
|
|
<li>(0.95,0)</li>
|
|
</points>
|
|
</rotationCurve>
|
|
<zPositionCurve>
|
|
<points>
|
|
<li>(0.95,2.5)</li>
|
|
<li>(1,0)</li>
|
|
</points>
|
|
</zPositionCurve>
|
|
<speedCurve>
|
|
<points>
|
|
<li>(0.6,0.6)</li>
|
|
<li>(0.95,0.1)</li>
|
|
</points>
|
|
</speedCurve>
|
|
</skyfaller>
|
|
</ThingDef>
|
|
|
|
<ThingDef ParentName="ShuttleSkyfallerBase">
|
|
<defName>ArmedShuttleLeaving_WULA</defName>
|
|
<label>穿梭机出口</label>
|
|
<thingClass>PassengerShuttleLeaving</thingClass>
|
|
<rotatable>true</rotatable>
|
|
<graphicData>
|
|
<graphicClass>Graphic_Multi</graphicClass>
|
|
<texPath>Things/Building/PassengerShuttle/PassengerShuttle</texPath>
|
|
<shaderType>CutoutComplex</shaderType>
|
|
<drawSize>(3,5)</drawSize>
|
|
</graphicData>
|
|
<size>(3,5)</size>
|
|
<skyfaller>
|
|
<reversed>true</reversed>
|
|
<anticipationSound>Shuttle_Leaving</anticipationSound>
|
|
<anticipationSoundTicks>-10</anticipationSoundTicks>
|
|
<ticksToImpactRange>-40~-15</ticksToImpactRange>
|
|
<moteSpawnTime>0.05</moteSpawnTime>
|
|
<shadow>Things/Skyfaller/SkyfallerShadowRectangle</shadow>
|
|
<shadowSize>(3.5,5.5)</shadowSize>
|
|
<motesPerCell>1</motesPerCell>
|
|
<rotationCurve>
|
|
<points>
|
|
<li>(0,0)</li>
|
|
<li>(0.15,10)</li>
|
|
<li>(0.5,-5)</li>
|
|
</points>
|
|
</rotationCurve>
|
|
<zPositionCurve>
|
|
<points>
|
|
<li>(0,0)</li>
|
|
<li>(0.08,2)</li>
|
|
</points>
|
|
</zPositionCurve>
|
|
<speedCurve>
|
|
<points>
|
|
<li>(0,0.2)</li>
|
|
<li>(0.4,0.7)</li>
|
|
</points>
|
|
</speedCurve>
|
|
</skyfaller>
|
|
</ThingDef>
|
|
|
|
<TransportShipDef>
|
|
<defName>Ship_ArmedShuttle</defName>
|
|
<label>armed shuttle</label>
|
|
<shipThing>WULA_ArmedShuttle</shipThing>
|
|
<arrivingSkyfaller>ArmedShuttleIncoming_WULA</arrivingSkyfaller>
|
|
<leavingSkyfaller>ArmedShuttleLeaving_WULA</leavingSkyfaller>
|
|
<worldObject>PassengerShuttle</worldObject>
|
|
<playerShuttle>true</playerShuttle>
|
|
</TransportShipDef>
|
|
</Defs> |