add/replace "Effecter" to hit

Started by zzz1000, June 26, 2018, 08:53:28 AM

Previous topic - Next topic

zzz1000

Is there way (without dll wizardry) to add something like this :
Quote<EffecterDef>
    <defName>ConstructDirt</defName>
    <children>
      <li>
        <subEffecterClass>SubEffecter_Sustainer</subEffecterClass>
        <soundDef>Interact_ConstructDirt</soundDef>
      </li>
      <li>
        <subEffecterClass>SubEffecter_SprayerChance</subEffecterClass>
        <moteDef>Mote_DustPuff</moteDef>
        <chancePerTick>0.035</chancePerTick>
        <scale>
          <min>0.9</min>
          <max>1.2</max>
        </scale>
        <rotationRate>
          <min>-60</min>
          <max>60</max>
        </rotationRate>
        <speed>
          <min>0.6</min>
          <max>1.8</max>
        </speed>
      </li>
    </children>
  </EffecterDef>
to bullet terrain hit  ?