robathome icon

ParticleBeam_small_bolt

robathome | PRO | 04/15/25 11:48:03 PM UTC | 0 ⭐ | 5957 👁️ | Never ⏰ | []
XML |

2.34 KB

|

None

|

0 👍

/

0 👎

<Item name="" 
  identifier="ParticleBeam_small_bolt" 
  category="Weapon" 
  scale="0.25" 
  sonarsize="2" 
  hideinmenus="true">
  <Sprite 
    texture="%ModDir%/Particles/ParticleBeam_small_bolt.png" 
    sourcerect="0,0,20,8" 
    depth="0.55" />
  <Body 
    width="20" 
    height="8" 
    density="10" />
  <Projectile 
    characterusable="false" 
    hitscan="true" 
    removeonhit="true" 
    damagedoors="true" 
    penetration="0.5">
    <ParticleEmitter 
      particle="ParticleBeam_small_tracer" 
      particleamount="1" 
      velocitymin="0" 
      velocitymax="0"/>
    <Attack 
      structuredamage="5" 
      targetforce="100" 
      itemdamage="25" 
      severlimbsprobability="1.0" 
      penetration="0.5">
      <Affliction 
        identifier="explosiondamage" 
        strength="40" />
      <Affliction 
        identifier="stun" 
        strength="0.5" />
    </Attack>
    <StatusEffect
      type="OnImpact" 
      target="UseTarget">
      <ParticleEmitter 
        particle="ParticleBeam_small_impact" 
        anglemin="0" 
        anglemax="360" 
        particleamount="10" 
        velocitymin="0" 
        scalemin="0.5" 
        scalemax="0.8" />
        <Explosion 
          range="150.0" 
          ballastfloradamage="50" 
          structuredamage="10" 
          itemdamage="250" 
          force="10.0" 
          flames="false" 
          smoke="false" 
          sparks="false" 
          underwaterbubble="false" 
          flashcolor="255,0,0,255" >
          <Affliction
            identifier="burn" 
            strength="100" />
          <Affliction 
            identifier="stun" 
            strength="3" />
        </Explosion>
    </StatusEffect>
    <StatusEffect 
      type="OnImpact" 
      target="UseTarget">
      <Conditional 
        entitytype="eq Structure"/>
      <Conditional 
        hastag="eq door"/>
      <ParticleEmitter 
        particle="ParticleBeam_small_impact" 
        copyentityangle="true" 
        anglemin="-10" 
        anglemax="10" 
        particleamount="5" 
        velocitymin="-10" 
        velocitymax="-200" 
        scalemin="0.5" 
        scalemax="1" />
    </StatusEffect>
    <StatusEffect 
      type="OnNotContained" 
      target="This">
      <Remove />
    </StatusEffect>
  </Projectile>
</Item>

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎