Skip to content

Particles

Rinaldo Alipio Bueno edited this page Jun 17, 2024 · 12 revisions

Particles Tag Reference

All particles properties
<Particles>
  <Particle>
    <Source></Source> <!-- subTexture id 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 x="0" y="0" ></Direction>
    <DirectionRange x="0" y="0" ></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> <!-- boolean  -->
    <IsOnInvisible></IsOnInvisible> <!-- boolean  -->
    <IsOnGround></IsOnGround> <!-- boolean  -->
    <IsOnAir></IsOnAir> <!-- boolean  -->
    <IsAiming></IsAiming> <!-- boolean  -->
    <IsNeutral></IsNeutral> <!-- boolean  -->
    <IsTeamBlue></IsTeamBlue> <!-- boolean  -->
    <IsTeamRed></IsTeamRed> <!-- boolean  -->
    <IsHat></IsHat> <!-- boolean  -->
    <IsNotHat></IsNotHat> <!-- boolean  -->
    <IsCrown></IsCrown> <!-- boolean  -->
    <IsDucking></IsDucking> <!-- boolean  -->
    <IsDodging></IsDodging> <!-- boolean  -->
    <IsLedgeGrab></IsLedgeGrab> <!-- boolean  -->
    <IsNormal></IsNormal> <!-- boolean  -->
    <IsDying></IsDying ><!-- boolean  -->
    <DuckingOffset x="0" y="0" />
    <HatOffset x="0" y="0" />
    <CrownOffset x="0" y="0" />
  </Particle>
</Particles>

For Customs

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>

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