Skip to content

Particles

Rinaldo Bueno edited this page Jun 15, 2023 · 12 revisions

In your custom archerData.xml

you can have a single or many you want, but they need to be children of

<Particle>
</Particle>

or

<Particles>
  <Particle>
  </Particle>
</Particles>
All particles properties
<Particles>
  <Particle>
    <Source></Source> [sprite from atlas]
    <Amount></Amount> [number]
    <Acceleration x="0" y="0" />
    <Position x="0" y="0" />
    <Color></Color> [hex color]
    <Color2></Color2> [hex color]
    <ColorSwitch></ColorSwitch>
    <ColorSwitchLoop></ColorSwitchLoop>
    <Speed></Speed> [number]
    <SpeedRange></SpeedRange> [number]
    <SpeedMultiplier></SpeedMultiplier> [number]
    <Acceleration x="0" y="0" />
    <Direction></Direction>
    <DirectionRange></DirectionRange>
    <Life></Life> [number]
    <LifeRange></LifeRange>[number]
    <Size></Size> [number]
    <SizeRange></SizeRange> [number]
    <Rotated></Rotated> [number]
    <RandomRotate></RandomRotate>
    <ScaleOut></ScaleOut> [number]
    <PositionRange x="0" y="0" />
    <Interval></Interval> [number]
    <StartDelay></StartDelay> [number]
    <Foreground></Foreground> [bool]
    <IsOnInvisible></IsOnInvisible> [bool]
    <IsOnGround></IsOnGround> [bool]
    <IsOnAir></IsOnAir> [bool]
    <IsAiming></IsAiming> [bool]
    <IsNeutral></IsNeutral> [bool]
    <IsTeamBlue></IsTeamBlue> [bool]
    <IsTeamRed></IsTeamRed> [bool]
    <IsHat></IsHat> [bool]
    <IsNotHat></IsNotHat> [bool]
    <IsCrown></IsCrown> [bool]
    <IsDucking></IsDucking> [bool]
    <IsDodging></IsDodging> [bool]
    <IsLedgeGrab></IsLedgeGrab> [bool]
    <IsNormal></IsNormal> [bool]
    <IsDying></IsDying> [bool]
    <DuckingOffset x="0" y="0" />
    <HatOffset x="0" y="0" />
    <CrownOffset x="0" y="0" />
  </Particle>
</Particles>

Particle Samples

ambience

Purple Ambience-like particle
<Particle>
      <Source>ringParticle</Source>
      <Color>d07d9a</Color>
      <Color2>cc4584</Color2>
      <ColorSwitch>6</ColorSwitch>
      <ColorSwitchLoop>False</ColorSwitchLoop>
      <Acceleration x="0" y="0"/>
      <Speed>0</Speed>
      <SpeedRange>0</SpeedRange>
      <SpeedMultiplier>0.95</SpeedMultiplier>
      <Direction>-1.57079637</Direction>
      <DirectionRange>1.57079637</DirectionRange>
      <Life>20</Life>
      <LifeRange>4</LifeRange>
      <Size>0.5</Size>
      <SizeRange>0.375</SizeRange>
      <ScaleOut>True</ScaleOut>
      <Rotated>True</Rotated>
      <RandomRotate>False</RandomRotate>
      <Interval>5</Interval>
      <StartDelay>10</StartDelay>
      <PositionRange x="7" y="6" />
      <DuckingOffset x="0" y="5" />
  </Particle> 

Clone this wiki locally