레일건 포탑 추가
This commit is contained in:
parent
6b0ef8692b
commit
7a824dd48f
@ -159,4 +159,174 @@
|
|||||||
</defaultStorageSettings>
|
</defaultStorageSettings>
|
||||||
</building>
|
</building>
|
||||||
</ThingDef>
|
</ThingDef>
|
||||||
|
|
||||||
|
<!--==================================== 레일건 ====================================-->
|
||||||
|
<ThingDef ParentName="BuildingBase">
|
||||||
|
<defName>PN_Railgun_Base_Core</defName>
|
||||||
|
<label>PnL Railgun</label>
|
||||||
|
<description>Railgun designed by PnL Industry.</description>
|
||||||
|
<!--<designatorDropdown>PN_Artillery_Dropdown</designatorDropdown>-->
|
||||||
|
<thingClass>Building_TurretGun</thingClass>
|
||||||
|
<drawerType>MapMeshAndRealTime</drawerType>
|
||||||
|
<graphicData>
|
||||||
|
<texPath>Things/Building/PN_Artillery_Base</texPath>
|
||||||
|
<graphicClass>Graphic_Single</graphicClass>
|
||||||
|
<shaderType>CutoutComplex</shaderType>
|
||||||
|
<drawSize>(3,3)</drawSize>
|
||||||
|
</graphicData>
|
||||||
|
<minifiedDef>MinifiedThing</minifiedDef>
|
||||||
|
<!--<altitudeLayer>MoteOverhead</altitudeLayer>-->
|
||||||
|
<altitudeLayer>Building</altitudeLayer>
|
||||||
|
<hasInteractionCell>True</hasInteractionCell>
|
||||||
|
<interactionCellOffset>(0,0,-3)</interactionCellOffset> <!--상호작용 위치-->
|
||||||
|
<stealable>false</stealable>
|
||||||
|
<size>(3,3)</size>
|
||||||
|
<passability>PassThroughOnly</passability>
|
||||||
|
<pathCost>50</pathCost>
|
||||||
|
<fillPercent>0.4</fillPercent>
|
||||||
|
<thingCategories>
|
||||||
|
<li>BuildingsSecurity</li>
|
||||||
|
</thingCategories>
|
||||||
|
<stuffCategories>
|
||||||
|
<li>Metallic</li>
|
||||||
|
</stuffCategories>
|
||||||
|
<tickerType>Normal</tickerType>
|
||||||
|
<designationHotKey>Misc4</designationHotKey>
|
||||||
|
<terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
|
||||||
|
<designationCategory>Security</designationCategory>
|
||||||
|
<costStuffCount>150</costStuffCount>
|
||||||
|
<constructionSkillPrerequisite>5</constructionSkillPrerequisite>
|
||||||
|
<costList>
|
||||||
|
<Steel>150</Steel>
|
||||||
|
<ComponentIndustrial>6</ComponentIndustrial>
|
||||||
|
<PN_BrainCasing>1</PN_BrainCasing>
|
||||||
|
</costList>
|
||||||
|
<inspectorTabs>
|
||||||
|
<li>ITab_Shells</li>
|
||||||
|
</inspectorTabs>
|
||||||
|
<comps>
|
||||||
|
<li Class="CompProperties_Forbiddable"/>
|
||||||
|
<li Class="CompProperties_Mannable">
|
||||||
|
<manWorkType>Violent</manWorkType>
|
||||||
|
</li>
|
||||||
|
<li Class="CompProperties_Power">
|
||||||
|
<compClass>CompPowerTrader</compClass>
|
||||||
|
<basePowerConsumption>1800</basePowerConsumption>
|
||||||
|
</li>
|
||||||
|
<li Class="CompProperties_Explosive">
|
||||||
|
<wickTicks>240</wickTicks>
|
||||||
|
<explosiveRadius>5.9</explosiveRadius>
|
||||||
|
<explosiveDamageType>Bomb</explosiveDamageType>
|
||||||
|
<chanceNeverExplodeFromDamage>0.5</chanceNeverExplodeFromDamage>
|
||||||
|
</li>
|
||||||
|
<li Class="CompProperties_Refuelable">
|
||||||
|
<fuelLabel>Shots until core overload</fuelLabel>
|
||||||
|
<fuelGizmoLabel>Core overload</fuelGizmoLabel>
|
||||||
|
<outOfFuelMessage>Cannot shoot: Needs new core</outOfFuelMessage>
|
||||||
|
<fuelFilter>
|
||||||
|
<thingDefs>
|
||||||
|
<li>PN_BrainCasing</li>
|
||||||
|
</thingDefs>
|
||||||
|
</fuelFilter>
|
||||||
|
<fuelIsMortarBarrel>true</fuelIsMortarBarrel>
|
||||||
|
<fuelCapacity>2</fuelCapacity>
|
||||||
|
<fuelMultiplier>2</fuelMultiplier>
|
||||||
|
<initialFuelPercent>1</initialFuelPercent>
|
||||||
|
<showFuelGizmo>true</showFuelGizmo>
|
||||||
|
<minimumFueledThreshold>1</minimumFueledThreshold>
|
||||||
|
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
|
||||||
|
<initialAllowAutoRefuel>true</initialAllowAutoRefuel>
|
||||||
|
<autoRefuelPercent>0</autoRefuelPercent>
|
||||||
|
<fuelIconPath>Things/Building/PN_cannoncore</fuelIconPath>
|
||||||
|
</li>
|
||||||
|
</comps>
|
||||||
|
<statBases>
|
||||||
|
<MaxHitPoints>520</MaxHitPoints>
|
||||||
|
<Flammability>0.7</Flammability>
|
||||||
|
<WorkToBuild>15000</WorkToBuild>
|
||||||
|
<Mass>200</Mass>
|
||||||
|
<Beauty>-20</Beauty>
|
||||||
|
<ShootingAccuracyTurret>1.00</ShootingAccuracyTurret>
|
||||||
|
</statBases>
|
||||||
|
<building>
|
||||||
|
<turretGunDef>PN_Railgun_Turret</turretGunDef>
|
||||||
|
<turretTopDrawSize>3.0</turretTopDrawSize>
|
||||||
|
<turretTopOffset>(0, 0.35)</turretTopOffset>
|
||||||
|
<turretBurstWarmupTime>4.5</turretBurstWarmupTime>
|
||||||
|
<turretBurstCooldownTime>28.0</turretBurstCooldownTime>
|
||||||
|
<buildingTags Inherit="false">
|
||||||
|
</buildingTags>
|
||||||
|
</building>
|
||||||
|
<placeWorkers>
|
||||||
|
<li>PlaceWorker_TurretTop</li>
|
||||||
|
<li>PlaceWorker_PreventInteractionSpotOverlap</li>
|
||||||
|
</placeWorkers>
|
||||||
|
<researchPrerequisites>
|
||||||
|
<li>PNRP_AutoArtillery</li>
|
||||||
|
</researchPrerequisites>
|
||||||
|
<uiIconPath>Things/Building/PN_Artillery_Ui</uiIconPath>
|
||||||
|
<uiIconScale>0.9</uiIconScale>
|
||||||
|
</ThingDef>
|
||||||
|
|
||||||
|
<ThingDef ParentName="BaseWeaponTurret">
|
||||||
|
<defName>PN_Railgun_Turret</defName>
|
||||||
|
<label>PnL Railgun Turret</label>
|
||||||
|
<description>Railgun designed by PnL Industries.</description>
|
||||||
|
<graphicData>
|
||||||
|
<texPath>Things/Building/PN_Railgun_Turret</texPath>
|
||||||
|
<graphicClass>Graphic_Single</graphicClass>
|
||||||
|
<drawSize>(6.0,6.0)</drawSize>
|
||||||
|
</graphicData>
|
||||||
|
<recoilPower>30</recoilPower>
|
||||||
|
<altitudeLayer>MoteOverhead</altitudeLayer>
|
||||||
|
<weaponTags Inherit="false">
|
||||||
|
</weaponTags>
|
||||||
|
<!--<statBases>
|
||||||
|
<AccuracyTouch>0.20</AccuracyTouch>
|
||||||
|
<AccuracyShort>0.85</AccuracyShort>
|
||||||
|
<AccuracyMedium>0.98</AccuracyMedium>
|
||||||
|
<AccuracyLong>0.80</AccuracyLong>
|
||||||
|
</statBases>-->
|
||||||
|
<verbs>
|
||||||
|
<li>
|
||||||
|
<verbClass>Verb_Shoot</verbClass>
|
||||||
|
<forceNormalTimeSpeed>false</forceNormalTimeSpeed>
|
||||||
|
<warmupTime>4.5</warmupTime>
|
||||||
|
<forcedMissRadius>0</forcedMissRadius>
|
||||||
|
<forcedMissRadiusClassicMortars>0</forcedMissRadiusClassicMortars>
|
||||||
|
<!--<isMortar>true</isMortar>-->
|
||||||
|
<requireLineOfSight>true</requireLineOfSight>
|
||||||
|
<minRange>4.9</minRange>
|
||||||
|
<range>500</range>
|
||||||
|
<burstShotCount>1</burstShotCount>
|
||||||
|
<soundAiming>PN_PrototypeRailGun_Warmup_Sound</soundAiming>
|
||||||
|
<soundCast>PN_PrototypeRailGun_Fire_Sound</soundCast>
|
||||||
|
<soundCastTail>GunTail_Heavy</soundCastTail>
|
||||||
|
<muzzleFlashScale>16</muzzleFlashScale>
|
||||||
|
<consumeFuelPerShot>1</consumeFuelPerShot>
|
||||||
|
<targetParams>
|
||||||
|
<canTargetLocations>true</canTargetLocations>
|
||||||
|
</targetParams>
|
||||||
|
</li>
|
||||||
|
</verbs>
|
||||||
|
<comps>
|
||||||
|
<li Class="CompProperties_ChangeableProjectile" />
|
||||||
|
</comps>
|
||||||
|
<building>
|
||||||
|
<fixedStorageSettings>
|
||||||
|
<filter>
|
||||||
|
<categories>
|
||||||
|
<li>PN_RailgunShell</li>
|
||||||
|
</categories>
|
||||||
|
</filter>
|
||||||
|
</fixedStorageSettings>
|
||||||
|
<defaultStorageSettings>
|
||||||
|
<filter>
|
||||||
|
<categories>
|
||||||
|
<li>PN_RailgunShell</li>
|
||||||
|
</categories>
|
||||||
|
</filter>
|
||||||
|
</defaultStorageSettings>
|
||||||
|
</building>
|
||||||
|
</ThingDef>
|
||||||
</Defs>
|
</Defs>
|
@ -593,4 +593,62 @@
|
|||||||
<soundAmbient>MortarRound_Ambient</soundAmbient>
|
<soundAmbient>MortarRound_Ambient</soundAmbient>
|
||||||
</projectile>
|
</projectile>
|
||||||
</ThingDef>
|
</ThingDef>
|
||||||
|
|
||||||
|
<!--레일건-->
|
||||||
|
<ThingCategoryDef>
|
||||||
|
<defName>PN_RailgunShell</defName>
|
||||||
|
<label>PnL Railgun Shell</label>
|
||||||
|
<parent>PN_AutomatonCatagory</parent>
|
||||||
|
<iconPath>UI/Icons/PNCT_PNShell</iconPath>
|
||||||
|
</ThingCategoryDef>
|
||||||
|
|
||||||
|
<ThingDef ParentName="PN_ShellBase">
|
||||||
|
<defName>PN_Shell_RG</defName>
|
||||||
|
<label>PnL Railgun shell</label>
|
||||||
|
<description>...</description>
|
||||||
|
<graphicData>
|
||||||
|
<texPath>Things/Item/PNShell/PNShellAP</texPath>
|
||||||
|
</graphicData>
|
||||||
|
<projectileWhenLoaded>PN_Bullet_RailGun</projectileWhenLoaded>
|
||||||
|
<statBases>
|
||||||
|
<MaxHitPoints>60</MaxHitPoints>
|
||||||
|
<Mass>1.25</Mass>
|
||||||
|
<Flammability>1.0</Flammability>
|
||||||
|
<DeteriorationRate>1.5</DeteriorationRate>
|
||||||
|
</statBases>
|
||||||
|
<thingCategories Inherit="false">
|
||||||
|
<li>PN_RailgunShell</li>
|
||||||
|
</thingCategories>
|
||||||
|
<comps>
|
||||||
|
|
||||||
|
</comps>
|
||||||
|
<costList>
|
||||||
|
<Uranium>15</Uranium>
|
||||||
|
<Steel>25</Steel>
|
||||||
|
</costList>
|
||||||
|
<costListForDifficulty>
|
||||||
|
<difficultyVar>classicMortars</difficultyVar>
|
||||||
|
<costList>
|
||||||
|
<Uranium>25</Uranium>
|
||||||
|
<Steel>25</Steel>
|
||||||
|
</costList>
|
||||||
|
</costListForDifficulty>
|
||||||
|
</ThingDef>
|
||||||
|
|
||||||
|
<!--<ThingDef ParentName="PN_BaseBullet">
|
||||||
|
<defName>PN_Bullet_Shell_RG</defName>
|
||||||
|
<label>Railgun shell</label>
|
||||||
|
<graphicData>
|
||||||
|
<texPath>Things/Projectile/ChargeLanceShot</texPath>
|
||||||
|
<graphicClass>Graphic_Single</graphicClass>
|
||||||
|
<shaderType>TransparentPostLight</shaderType>
|
||||||
|
</graphicData>
|
||||||
|
<projectile>
|
||||||
|
<damageDef>Bullet</damageDef>
|
||||||
|
<damageAmountBase>40</damageAmountBase>
|
||||||
|
<stoppingPower>3</stoppingPower>
|
||||||
|
<armorPenetrationBase>0.24</armorPenetrationBase>
|
||||||
|
<speed>410</speed>
|
||||||
|
</projectile>
|
||||||
|
</ThingDef>-->
|
||||||
</Defs>
|
</Defs>
|
BIN
Content/Textures/Things/Building/PN_Railgun_Turret.png
Normal file
BIN
Content/Textures/Things/Building/PN_Railgun_Turret.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
Loading…
x
Reference in New Issue
Block a user