Advertisement
robathome

ParticleBeam_small_bolt

Apr 15th, 2025
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.34 KB | None | 0 0
  1. <Item name=""
  2.  identifier="ParticleBeam_small_bolt"
  3.  category="Weapon"
  4.  scale="0.25"
  5.  sonarsize="2"
  6.  hideinmenus="true">
  7.   <Sprite
  8.    texture="%ModDir%/Particles/ParticleBeam_small_bolt.png"
  9.    sourcerect="0,0,20,8"
  10.    depth="0.55" />
  11.   <Body
  12.    width="20"
  13.    height="8"
  14.    density="10" />
  15.   <Projectile
  16.    characterusable="false"
  17.    hitscan="true"
  18.    removeonhit="true"
  19.    damagedoors="true"
  20.    penetration="0.5">
  21.     <ParticleEmitter
  22.      particle="ParticleBeam_small_tracer"
  23.      particleamount="1"
  24.      velocitymin="0"
  25.      velocitymax="0"/>
  26.     <Attack
  27.      structuredamage="5"
  28.      targetforce="100"
  29.      itemdamage="25"
  30.      severlimbsprobability="1.0"
  31.      penetration="0.5">
  32.       <Affliction
  33.        identifier="explosiondamage"
  34.        strength="40" />
  35.       <Affliction
  36.        identifier="stun"
  37.        strength="0.5" />
  38.     </Attack>
  39.     <StatusEffect
  40.      type="OnImpact"
  41.      target="UseTarget">
  42.       <ParticleEmitter
  43.        particle="ParticleBeam_small_impact"
  44.        anglemin="0"
  45.        anglemax="360"
  46.        particleamount="10"
  47.        velocitymin="0"
  48.        scalemin="0.5"
  49.        scalemax="0.8" />
  50.         <Explosion
  51.          range="150.0"
  52.          ballastfloradamage="50"
  53.          structuredamage="10"
  54.          itemdamage="250"
  55.          force="10.0"
  56.          flames="false"
  57.          smoke="false"
  58.          sparks="false"
  59.          underwaterbubble="false"
  60.          flashcolor="255,0,0,255" >
  61.           <Affliction
  62.            identifier="burn"
  63.            strength="100" />
  64.           <Affliction
  65.            identifier="stun"
  66.            strength="3" />
  67.         </Explosion>
  68.     </StatusEffect>
  69.     <StatusEffect
  70.      type="OnImpact"
  71.      target="UseTarget">
  72.       <Conditional
  73.        entitytype="eq Structure"/>
  74.       <Conditional
  75.        hastag="eq door"/>
  76.       <ParticleEmitter
  77.        particle="ParticleBeam_small_impact"
  78.        copyentityangle="true"
  79.        anglemin="-10"
  80.        anglemax="10"
  81.        particleamount="5"
  82.        velocitymin="-10"
  83.        velocitymax="-200"
  84.        scalemin="0.5"
  85.        scalemax="1" />
  86.     </StatusEffect>
  87.     <StatusEffect
  88.      type="OnNotContained"
  89.      target="This">
  90.       <Remove />
  91.     </StatusEffect>
  92.   </Projectile>
  93. </Item>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement