Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - biorcsman

#1
Help / Making gun mods CE compatible(need some help)
December 27, 2017, 12:02:27 AM
<ThingDef ParentName="RimmuNationBaseMakeableGun">
<defName>Gun_DP28LMG</defName>
<label>DP-28</label>
<description>A light machine gun.</description>
<graphicData>
<texPath>Things/Item/Equipment/LMG/DP28</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<soundInteract>InteractRifle</soundInteract>
    <recipeMaker>
      <researchPrerequisite>GasOperation</researchPrerequisite>
    </recipeMaker>
<statBases>
<WorkToMake>27500</WorkToMake>
      <SightsEfficiency>0.50</SightsEfficiency>
      <ShotSpread>0.06</ShotSpread>
      <SwayFactor>1.51</SwayFactor>
      <Bulk>14.05</Bulk>
      <Mass>10.50</Mass>
      <RangedWeapon_Cooldown>0.56</RangedWeapon_Cooldown>
</statBases>
<costList>
<Steel>75</Steel>
<Component>4</Component>
</costList>
<verbs>
<li Class="CombatExtended.VerbPropertiesCE">
        <recoilAmount>0.90</recoilAmount>
<verbClass>CombatExtended.Verb_ShootCE</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_762x51mmNATO_FMJ</defaultProjectile>
<warmupTime>1.8</warmupTime>
<range>70</range>
<ticksBetweenBurstShots>5</ticksBetweenBurstShots>
<burstShotCount>8</burstShotCount>
<soundCast>RNShotL86LMG</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>9</muzzleFlashScale>
</li>
</verbs>
<comps>
<li Class="CombatExtended.CompProperties_AmmoUser">
<magazineSize>47</magazineSize>
        <reloadTime>6.7</reloadTime>
        <ammoSet>AmmoSet_762x51mmNATO</ammoSet>
</li>
<li Class="CombatExtended.CompProperties_FireModes">
<aiUseBurstMode>FALSE</aiUseBurstMode>
<aiAimMode>SuppressFire</aiAimMode>
<aimedBurstShotCount>5</aimedBurstShotCount>
</li>
</comps>

<weaponTags>
<li>EliteGun</li>
</weaponTags>
    <tools>
      <li Class="CombatExtended.ToolCE">
        <label>stock</label>
        <capacities>
          <li>Blunt</li>
        </capacities>
        <power>9</power>
        <cooldownTime>1.8</cooldownTime>
      </li>
      <li Class="CombatExtended.ToolCE">
        <label>barrel</label>
        <capacities>
          <li>Blunt</li>
          <li>Poke</li>
        </capacities>
        <power>10</power>
        <cooldownTime>1.9</cooldownTime>
      </li>
    </tools>
  </ThingDef>


Will this DP-28 work on CE mod?

and more, can anybody teach me about <tools> sections?