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

Next revision
Previous revision
world_setup:game_features:particleeffects [2020/03/11 04:15] – created mitworld_setup:game_features:particleeffects [2023/07/12 16:35] (current) – [Spread Effects] mit
Line 1: Line 1:
 ===== 3D Particle Effects ===== ===== 3D Particle Effects =====
  
-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.1583918103.txt.gz · Last modified: 2020/03/11 04:15 by mit

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki