This commit is contained in:
Cocopomel
2022-06-05 20:45:05 +09:00
parent f5dda35b27
commit b627d63120
12 changed files with 21 additions and 69 deletions

View File

@@ -268,7 +268,7 @@
<turretTopDrawSize>3.0</turretTopDrawSize>
<turretTopOffset>(0, 0.35)</turretTopOffset>
<turretBurstWarmupTime>4.5</turretBurstWarmupTime>
<turretBurstCooldownTime>28.0</turretBurstCooldownTime>
<turretBurstCooldownTime>7.0</turretBurstCooldownTime>
<buildingTags Inherit="false">
</buildingTags>
</building>

View File

@@ -180,14 +180,6 @@
<Steel>25</Steel>
<Chemfuel>30</Chemfuel>
</costList>
<costListForDifficulty>
<difficultyVar>classicMortars</difficultyVar>
<costList>
<Uranium>25</Uranium>
<Steel>25</Steel>
<Chemfuel>30</Chemfuel>
</costList>
</costListForDifficulty>
</ThingDef>
<ThingDef ParentName="PN_BaseBullet_Shell">
@@ -607,7 +599,7 @@
<graphicData>
<texPath>Things/Item/PNShell/PNShellAP</texPath>
</graphicData>
<projectileWhenLoaded>PN_Bullet_Shell_RG</projectileWhenLoaded>
<projectileWhenLoaded>PN_Bullet_RailGun</projectileWhenLoaded>
<statBases>
<MaxHitPoints>60</MaxHitPoints>
<Mass>1.25</Mass>
@@ -621,28 +613,5 @@
<Uranium>30</Uranium>
<Steel>50</Steel>
</costList>
<costListForDifficulty>
<difficultyVar>classicMortars</difficultyVar>
<costList>
<Uranium>50</Uranium>
<Steel>50</Steel>
</costList>
</costListForDifficulty>
</ThingDef>
<ThingDef ParentName="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>
<thingClass>Projectile_Explosive</thingClass>
<projectile>
<damageDef>BombSuper</damageDef>
<speed>410</speed>
<explosionRadius>2.4</explosionRadius>
</projectile>
</ThingDef>
</Defs>

View File

@@ -765,37 +765,18 @@
</graphicData>
<thingClass>Projectile_Explosive</thingClass>
<projectile>
<damageDef>BombSuper</damageDef>
<damageDef>PN_BombRG</damageDef>
<speed>410</speed>
<explosionRadius>1.9</explosionRadius>
</projectile>
</ThingDef>
<!--<DamageDef>
<defName>PN_Bomb_RailGun</defName>
<label>bomb</label>
<workerClass>DamageWorker_AddInjury</workerClass>
<externalViolence>true</externalViolence>
<isExplosive>true</isExplosive>
<deathMessage>{0} has died in an explosion.</deathMessage>
<hediff>Shredded</hediff>
<hediffSolid>Crack</hediffSolid>
<harmAllLayersUntilOutside>true</harmAllLayersUntilOutside>
<impactSoundType>Blunt</impactSoundType>
<armorCategory>Sharp</armorCategory>
<minDamageToFragment>300</minDamageToFragment>
<defaultDamage>500</defaultDamage>
<defaultStoppingPower>5.0</defaultStoppingPower>
<defaultArmorPenetration>2.0</defaultArmorPenetration>
<buildingDamageFactorImpassable>4</buildingDamageFactorImpassable>
<buildingDamageFactorPassable>2</buildingDamageFactorPassable>
<plantDamageFactor>4</plantDamageFactor>
<explosionAffectOutsidePartsOnly>false</explosionAffectOutsidePartsOnly>
<explosionHeatEnergyPerCell>5</explosionHeatEnergyPerCell>
<explosionCellFleck>BlastDry</explosionCellFleck>
<explosionColorCenter>(0, 0, 0)</explosionColorCenter>
<explosionColorEdge>(0, 0, 0)</explosionColorEdge>
<soundExplosion>Explosion_Bomb</soundExplosion>
<combatLogRules>Damage_Bomb</combatLogRules>
</DamageDef>-->
<DamageDef ParentName="Bomb">
<defName>PN_BombRG</defName>
<defaultDamage>550</defaultDamage>
<defaultStoppingPower>2.0</defaultStoppingPower>
<defaultArmorPenetration>1.30</defaultArmorPenetration>
<explosionColorCenter>(0.6, 0.5, 0.4)</explosionColorCenter>
<explosionColorEdge>(0.6, 0.5, 0.4)</explosionColorEdge>
</DamageDef>
</Defs>

View File

@@ -186,18 +186,17 @@
<li Class="CompProperties_Styleable"></li>
</comps>
<verbs>
<li Class="TorgueAnty.Verb_Properties_ShotGun">
<verbClass>TorgueAnty.Verb_Shoot_ShotGun</verbClass>
<li>
<verbClass>Verb_Shoot</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>PN_Bullet_TwinPistol</defaultProjectile>
<warmupTime>0.35</warmupTime>
<range>12.9</range>
<ticksBetweenBurstShots>4</ticksBetweenBurstShots>
<burstShotCount>7</burstShotCount>
<ticksBetweenBurstShots>2</ticksBetweenBurstShots>
<burstShotCount>12</burstShotCount>
<soundCast>Shot_Revolver</soundCast>
<soundCastTail>GunTail_Light</soundCastTail>
<muzzleFlashScale>9</muzzleFlashScale>
<pelletCount>2</pelletCount>
</li>
</verbs>
<weaponTags>
@@ -241,7 +240,7 @@
<label>PnL twin pistol bullet</label>
<projectile>
<damageDef>Bullet</damageDef>
<damageAmountBase>5</damageAmountBase>
<damageAmountBase>4</damageAmountBase>
<stoppingPower>0.5</stoppingPower>
<armorPenetrationBase>0.15</armorPenetrationBase>
<speed>70</speed>
@@ -515,7 +514,7 @@
<damageDef>Bullet</damageDef>
<damageAmountBase>40</damageAmountBase>
<stoppingPower>3</stoppingPower>
<armorPenetrationBase>0.24</armorPenetrationBase>
<armorPenetrationBase>0.38</armorPenetrationBase>
<speed>100</speed>
</projectile>
<graphicData>