Advertisement
Guest User

CE - RF - Charge Shotgun

a guest
Jul 20th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.51 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <Defs>
  3.  
  4.     <ThingCategoryDef>
  5.       <defName>Ammo6x24mmCharged_Shotgun</defName>
  6.       <label>6x24mm Charged Shotgun</label>
  7.       <parent>AmmoAdvanced</parent>
  8.       <iconPath>UI/Icons/ThingCategories/CaliberCharge</iconPath>
  9.     </ThingCategoryDef>
  10.    
  11.     <!-- ==================== AmmoSet ========================== -->
  12.  
  13.   <CombatExtended.AmmoSetDef>
  14.     <defName>AmmoSet_6x24mmCharged_Shotgun</defName>
  15.     <label>6x24mm ChargedShotgun</label>
  16.     <ammoTypes>
  17.       <Ammo_6x24mmCharged>Bullet_6x24mmCharged_Shotgun</Ammo_6x24mmCharged>
  18.       <Ammo_6x24mmCharged_AP>Bullet_6x24mmCharged_AP_Shotgun</Ammo_6x24mmCharged_AP>
  19.       <Ammo_6x24mmCharged_Ion>Bullet_6x24mmCharged_Ion_Shotgun</Ammo_6x24mmCharged_Ion>
  20.     </ammoTypes>
  21.   </CombatExtended.AmmoSetDef>
  22.    
  23.     <!-- ==================== Ammo ========================== -->
  24.  
  25.   <!-- <ThingDef Name="6x24mmChargedBase" ParentName="SmallAmmoBase" Abstract="True">
  26.    <description>Charged shot ammo used by advanced assault rifle designs.</description>
  27.    <statBases>
  28.       <Mass>0.01</Mass>
  29.       <Bulk>0.03</Bulk>
  30.    </statBases>
  31.    <tradeTags>
  32.      <li>CE_AutoEnableTrade</li>
  33.      <li>CE_AutoEnableCrafting</li>
  34.    </tradeTags>
  35.    <thingCategories>
  36.      <li>Ammo6x24mmCharged</li>
  37.    </thingCategories>
  38.  </ThingDef>
  39.  
  40.  <ThingDef ParentName="6x24mmChargedBase">
  41.    <defName>Ammo_6x24mmCharged</defName>
  42.    <label>6x24mm Charged cartridge</label>
  43.    <graphicData>
  44.      <texPath>Things/Ammo/Charged/Regular</texPath>
  45.      <graphicClass>Graphic_StackCount</graphicClass>
  46.    </graphicData>
  47.    <statBases>
  48.      <MarketValue>0.97</MarketValue>
  49.    </statBases>
  50.    <ammoClass>Charged</ammoClass>
  51.  </ThingDef>
  52.  
  53.  <ThingDef ParentName="6x24mmChargedBase">
  54.    <defName>Ammo_6x24mmCharged_AP</defName>
  55.    <label>6x24mm Charged cartridge (Conc.)</label>
  56.    <graphicData>
  57.      <texPath>Things/Ammo/Charged/Concentrated</texPath>
  58.      <graphicClass>Graphic_StackCount</graphicClass>
  59.    </graphicData>
  60.    <statBases>
  61.      <MarketValue>0.97</MarketValue>
  62.    </statBases>
  63.    <ammoClass>ChargedAP</ammoClass>
  64.  </ThingDef>
  65.  
  66.  <ThingDef ParentName="6x24mmChargedBase">
  67.    <defName>Ammo_6x24mmCharged_Ion</defName>
  68.    <label>6x24mm Charged cartridge (Ion)</label>
  69.    <graphicData>
  70.      <texPath>Things/Ammo/Charged/Ion</texPath>
  71.      <graphicClass>Graphic_StackCount</graphicClass>
  72.    </graphicData>
  73.    <statBases>
  74.      <MarketValue>0.97</MarketValue>
  75.    </statBases>
  76.    <ammoClass>Ionized</ammoClass>
  77.    <canBeSpawningInventory>false</canBeSpawningInventory>
  78.  </ThingDef>
  79.  -->
  80.    
  81.     <!-- ================== Projectiles ================== -->
  82.  
  83.   <ThingDef Name="Base6x24mmChargedBullet" ParentName="BaseBullet" Abstract="true">
  84.     <graphicData>
  85.       <texPath>Things/Projectile/Charge_Small</texPath>
  86.       <graphicClass>Graphic_Single</graphicClass>
  87.     </graphicData>
  88.     <projectile>
  89.       <damageDef>Bullet</damageDef>
  90.       <speed>170</speed>
  91.     </projectile>
  92.   </ThingDef>
  93.  
  94.   <ThingDef ParentName="Base6x24mmChargedBullet">
  95.     <defName>Bullet_6x24mmCharged_Shotgun</defName>
  96.     <label>charge shot</label>
  97.     <projectile>
  98.       <damageAmountBase>11</damageAmountBase>
  99.       <pelletCount>9</pelletCount>
  100.       <spreadMult>70.8</spreadMult>
  101.       <secondaryDamage>
  102.         <li>
  103.           <def>Bomb_Secondary</def>
  104.           <amount>7</amount>
  105.         </li>
  106.       </secondaryDamage>
  107.      
  108.     </projectile>
  109.   </ThingDef>
  110.  
  111.   <ThingDef ParentName="Base6x24mmChargedBullet">
  112.     <defName>Bullet_6x24mmCharged_AP_Shotgun</defName>
  113.     <label>charge shot (Conc.)</label>
  114.     <projectile>
  115.       <damageAmountBase>11</damageAmountBase>
  116.       <pelletCount>9</pelletCount>
  117.       <spreadMult>70.8</spreadMult>
  118.       <secondaryDamage>
  119.         <li>
  120.           <def>Bomb_Secondary</def>
  121.           <amount>3</amount>
  122.         </li>
  123.       </secondaryDamage>
  124.       <armorPenetration>0.7</armorPenetration>
  125.     </projectile>
  126.   </ThingDef>
  127.  
  128.   <ThingDef ParentName="Base6x24mmChargedBullet">
  129.     <defName>Bullet_6x24mmCharged_Ion_Shotgun</defName>
  130.     <label>charge shot (Ion)</label>
  131.     <projectile>
  132.       <damageAmountBase>11</damageAmountBase>
  133.       <pelletCount>9</pelletCount>
  134.       <spreadMult>70.8</spreadMult>
  135.       <secondaryDamage>
  136.         <li>
  137.           <def>EMP</def>
  138.           <amount>8</amount>
  139.         </li>
  140.       </secondaryDamage>
  141.       <armorPenetration>0.5</armorPenetration>
  142.     </projectile>
  143.   </ThingDef>
  144.  
  145.     <!-- ==================== Recipes ========================== -->
  146. </Defs>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement