add PN_Artillery
This commit is contained in:
parent
1fe5bb0680
commit
8b1fc03266
@ -76,4 +76,164 @@
|
|||||||
<li>Fabrication</li>
|
<li>Fabrication</li>
|
||||||
</researchPrerequisites>
|
</researchPrerequisites>
|
||||||
</ThingDef>
|
</ThingDef>
|
||||||
|
|
||||||
|
<!--==================================== 오토캐논 ====================================-->
|
||||||
|
<ThingDef ParentName="BuildingBase">
|
||||||
|
<defName>PN_Artillery_Base</defName>
|
||||||
|
<label>PnL Auto Artillery</label>
|
||||||
|
<description>...</description>
|
||||||
|
<thingClass>Building_TurretGun</thingClass>
|
||||||
|
<graphicData>
|
||||||
|
<texPath>Things/Building/PN_Artillery_Base</texPath>
|
||||||
|
<graphicClass>Graphic_Single</graphicClass>
|
||||||
|
<shaderType>CutoutComplex</shaderType>
|
||||||
|
<drawSize>(3,3)</drawSize>
|
||||||
|
<damageData>
|
||||||
|
<rect>(0.2,0.2,0.6,0.6)</rect>
|
||||||
|
</damageData>
|
||||||
|
<shadowData>
|
||||||
|
<volume>(1.5,0.35,1.4)</volume>
|
||||||
|
<offset>(0,0,-0.05)</offset>
|
||||||
|
</shadowData>
|
||||||
|
</graphicData>
|
||||||
|
<uiIconPath>Things/Building/PN_Artillery_Ui</uiIconPath>
|
||||||
|
<altitudeLayer>Building</altitudeLayer>
|
||||||
|
<minifiedDef>MinifiedThing</minifiedDef>
|
||||||
|
<thingCategories>
|
||||||
|
<li>BuildingsSecurity</li>
|
||||||
|
</thingCategories>
|
||||||
|
<stealable>false</stealable>
|
||||||
|
<size>(3,3)</size>
|
||||||
|
<statBases>
|
||||||
|
<MaxHitPoints>250</MaxHitPoints>
|
||||||
|
<Flammability>0.7</Flammability>
|
||||||
|
<WorkToBuild>20000</WorkToBuild>
|
||||||
|
<Mass>100</Mass>
|
||||||
|
<Beauty>-20</Beauty>
|
||||||
|
<ShootingAccuracyTurret>0.996</ShootingAccuracyTurret>
|
||||||
|
</statBases>
|
||||||
|
<tickerType>Normal</tickerType>
|
||||||
|
<comps>
|
||||||
|
<li Class="CompProperties_Explosive">
|
||||||
|
<explosiveRadius>5.9</explosiveRadius>
|
||||||
|
<explosiveDamageType>Bomb</explosiveDamageType>
|
||||||
|
<chanceNeverExplodeFromDamage>0.5</chanceNeverExplodeFromDamage>
|
||||||
|
</li>
|
||||||
|
<li Class="CompProperties_Refuelable">
|
||||||
|
<fuelLabel>Shells Remaining</fuelLabel>
|
||||||
|
<fuelGizmoLabel>Belt</fuelGizmoLabel>
|
||||||
|
<fuelFilter>
|
||||||
|
<thingDefs>
|
||||||
|
<li>Shell_HighExplosive</li>
|
||||||
|
</thingDefs>
|
||||||
|
</fuelFilter>
|
||||||
|
<fuelCapacity>21</fuelCapacity>
|
||||||
|
<initialFuelPercent>0</initialFuelPercent>
|
||||||
|
<autoRefuelPercent>1</autoRefuelPercent>
|
||||||
|
<showFuelGizmo>true</showFuelGizmo>
|
||||||
|
<minimumFueledThreshold>1</minimumFueledThreshold>
|
||||||
|
<fuelMultiplier>1</fuelMultiplier>
|
||||||
|
<!--<factorByDifficulty>true</factorByDifficulty>-->
|
||||||
|
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
|
||||||
|
<outOfFuelMessage>Cannot shoot: Needs shells</outOfFuelMessage>
|
||||||
|
<fuelIconPath>Things/Building/PN_shellfuel</fuelIconPath>
|
||||||
|
</li>
|
||||||
|
</comps>
|
||||||
|
<passability>PassThroughOnly</passability>
|
||||||
|
<pathCost>50</pathCost>
|
||||||
|
<fillPercent>0.5</fillPercent>
|
||||||
|
<hasTooltip>true</hasTooltip>
|
||||||
|
<stuffCategories>
|
||||||
|
<li>Metallic</li>
|
||||||
|
</stuffCategories>
|
||||||
|
<costStuffCount>50</costStuffCount>
|
||||||
|
<costList>
|
||||||
|
<Steel>250</Steel>
|
||||||
|
<ComponentIndustrial>15</ComponentIndustrial>
|
||||||
|
</costList>
|
||||||
|
<terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
|
||||||
|
<designationCategory>Security</designationCategory>
|
||||||
|
<specialDisplayRadius>29.9</specialDisplayRadius>
|
||||||
|
<constructionSkillPrerequisite>6</constructionSkillPrerequisite>
|
||||||
|
<building>
|
||||||
|
<ai_combatDangerous>true</ai_combatDangerous>
|
||||||
|
<turretGunDef>PN_Artillery_Turret</turretGunDef>
|
||||||
|
<turretBurstCooldownTime>45</turretBurstCooldownTime>
|
||||||
|
<turretTopDrawSize>3.0</turretTopDrawSize>
|
||||||
|
<turretTopOffset>(0, 0.27)</turretTopOffset>
|
||||||
|
</building>
|
||||||
|
<placeWorkers>
|
||||||
|
<li>PlaceWorker_TurretTop</li>
|
||||||
|
</placeWorkers>
|
||||||
|
<researchPrerequisites>
|
||||||
|
<li>Mortars</li>
|
||||||
|
</researchPrerequisites>
|
||||||
|
<uiIconScale>0.6</uiIconScale>
|
||||||
|
</ThingDef>
|
||||||
|
|
||||||
|
<ThingDef ParentName="BaseBullet">
|
||||||
|
<defName>Bullet_AutoMortarTurret</defName>
|
||||||
|
<label>High-explosive shell</label>
|
||||||
|
<thingClass>Projectile_Explosive</thingClass>
|
||||||
|
<graphicData>
|
||||||
|
<texPath>Things/Projectile/ShellHighExplosive</texPath>
|
||||||
|
<graphicClass>Graphic_Single</graphicClass>
|
||||||
|
</graphicData>
|
||||||
|
<projectile>
|
||||||
|
<flyOverhead>true</flyOverhead>
|
||||||
|
<damageAmountBase>50</damageAmountBase>
|
||||||
|
<speed>88</speed>
|
||||||
|
<explosionRadius >3.9</explosionRadius >
|
||||||
|
<damageDef>Bomb</damageDef>
|
||||||
|
</projectile>
|
||||||
|
</ThingDef>
|
||||||
|
|
||||||
|
<ThingDef ParentName="BaseWeaponTurret">
|
||||||
|
<defName>PN_Artillery_Turret</defName>
|
||||||
|
<label>PnL Auto Artillery Turret</label>
|
||||||
|
<description>...</description>
|
||||||
|
<graphicData>
|
||||||
|
<texPath>Things/Building/PN_Artillery_Turret</texPath>
|
||||||
|
<graphicClass>Graphic_Single</graphicClass>
|
||||||
|
<drawSize>(6.0,6.0)</drawSize>
|
||||||
|
</graphicData>
|
||||||
|
<soundInteract>Interact_Rifle</soundInteract>
|
||||||
|
<menuHidden>true</menuHidden>
|
||||||
|
<destroyOnDrop>true</destroyOnDrop>
|
||||||
|
<tradeability>None</tradeability>
|
||||||
|
<useHitPoints>false</useHitPoints>
|
||||||
|
<statBases>
|
||||||
|
<AccuracyTouch>0.1</AccuracyTouch>
|
||||||
|
<AccuracyShort>0.1</AccuracyShort>
|
||||||
|
<AccuracyMedium>0.1</AccuracyMedium>
|
||||||
|
<AccuracyLong>0.996</AccuracyLong>
|
||||||
|
<RangedWeapon_Cooldown>0</RangedWeapon_Cooldown>
|
||||||
|
<DeteriorationRate>0</DeteriorationRate>
|
||||||
|
<Mass>40</Mass>
|
||||||
|
<Flammability>0</Flammability>
|
||||||
|
</statBases>
|
||||||
|
<weaponTags Inherit="false">
|
||||||
|
<li>Artillery_BaseDestroyer</li>
|
||||||
|
</weaponTags>
|
||||||
|
<verbs>
|
||||||
|
<li>
|
||||||
|
<verbClass>Verb_Shoot</verbClass>
|
||||||
|
<forceNormalTimeSpeed>false</forceNormalTimeSpeed>
|
||||||
|
<hasStandardCommand>true</hasStandardCommand>
|
||||||
|
<defaultProjectile>Bullet_AutoMortarTurret</defaultProjectile>
|
||||||
|
<warmupTime>1.0</warmupTime>
|
||||||
|
<forcedMissRadius>5</forcedMissRadius>
|
||||||
|
<requireLineOfSight>false</requireLineOfSight>
|
||||||
|
<minRange>29.9</minRange>
|
||||||
|
<range>500</range>
|
||||||
|
<burstShotCount>1</burstShotCount>
|
||||||
|
<soundCast>Mortar_LaunchA</soundCast>
|
||||||
|
<muzzleFlashScale>16</muzzleFlashScale>
|
||||||
|
<targetParams>
|
||||||
|
<canTargetLocations>true</canTargetLocations>
|
||||||
|
</targetParams>
|
||||||
|
<consumeFuelPerShot>1</consumeFuelPerShot>
|
||||||
|
</li>
|
||||||
|
</verbs>
|
||||||
|
</ThingDef>
|
||||||
</Defs>
|
</Defs>
|
BIN
Textures/Things/Building/PN_Artillery_Base.png
Normal file
BIN
Textures/Things/Building/PN_Artillery_Base.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
BIN
Textures/Things/Building/PN_Artillery_Basem.png
Normal file
BIN
Textures/Things/Building/PN_Artillery_Basem.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
BIN
Textures/Things/Building/PN_Artillery_Turret.png
Normal file
BIN
Textures/Things/Building/PN_Artillery_Turret.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
BIN
Textures/Things/Building/PN_Artillery_Ui.png
Normal file
BIN
Textures/Things/Building/PN_Artillery_Ui.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 63 KiB |
BIN
Textures/Things/Building/PN_shellfuel.png
Normal file
BIN
Textures/Things/Building/PN_shellfuel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
Loading…
x
Reference in New Issue
Block a user