User Tools

Site Tools


world_setup:game_features:particleeffects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
world_setup:game_features:particleeffects [2020/03/11 09:15] mitworld_setup:game_features:particleeffects [2025/05/28 18:58] (current) – external edit 127.0.0.1
Line 3: Line 3:
 You can add 3d particle effects to your world using the effect commands:\\ You can add 3d particle effects to your world using the effect commands:\\
 ''*addeffect [PLAYER_NAME],[EFFECT_NUM],[worldX],[worldY],[worldz](,[SCALE],[PARAM])''\\ ''*addeffect [PLAYER_NAME],[EFFECT_NUM],[worldX],[worldY],[worldz](,[SCALE],[PARAM])''\\
-''*addeffectall''\\ +''*addeffectall [num],[worldX],[worldY],[worldz],[scale],[param]''\\ 
-''*addspreadeffect''\\ +''*addspreadeffect [PLAYER_NAME],[spread_type],[spread_range],[spread_amount],[effectnum],[worldX],[worldY],[worldz],[scale],[param]''\\ 
-''*addspreadeffectall''\\+''*addspreadeffectall [spread_type],[spread_range],[spread_amount],[effectnum],[worldX],[worldY],[worldz],[scale],[param]''\\ 
 +\\
  
 e.g Example of the command used from script: e.g Example of the command used from script:
Line 52: Line 53:
   * 29 - Adds a firework generator at the specified location. The firework generator will launch fireworks at regular intervals for 10 seconds.   * 29 - Adds a firework generator at the specified location. The firework generator will launch fireworks at regular intervals for 10 seconds.
   * 30 - Special effect for attaching armour to a tractor. Limited use cases :)   * 30 - Special effect for attaching armour to a tractor. Limited use cases :)
 +
 +==== Spread Effects ====
 +Using the *addspreadeffect or *addspreadeffectall commands is effectively the same as triggering *addeffect or *addeffectall multiple times, with the location of each effect instance controlled by the spread type and range. 
 +Currently the spread type can be:\\
 +0 - Effects are distributed randomnly in a circular radius around the location given\\
 +1 - Effects are distributed evenly in a circular radius around the location given\\
 +
  
world_setup/game_features/particleeffects.1583918135.txt.gz · Last modified: (external edit)