Advertisement
bobmarley12345

particle system config

Dec 12th, 2021
995
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.52 KB | None | 0 0
  1. # structure
  2. # Systems:
  3. #   Particle_System_Name:
  4. #     LocationGen:
  5. #       Location_Generator_Type:
  6. #         ... parameters...
  7. #         SubGenerator:
  8. #           ... optional SubGenerator for the location ...
  9. #   ParticleGen:
  10. #     Particle_Generator_Type
  11. #       ... paramters ...
  12. #
  13.  
  14. Systems:
  15.   XMAS Spawn Loop:
  16.     World: new-xmas-test
  17.     LocationGen:
  18.       CircularGenerator:
  19.        # generate around these Y coords
  20.         # this also has a sub-generator which alters the Y coo
  21.         AxisY: 0
  22.         # 3.0 looks like a circle sort of thing
  23.         AnglePerTick: 3.0
  24.         # 0.05 actually looks like a sine wave in a circle
  25.         # AnglePerTick: 0.05
  26.         Radius: 3
  27.         SubGenerator:
  28.          # generates Y coordinate values
  29.           AxisChangeGenerator:
  30.             ChangePerTick: 0.2
  31.             X: 1176
  32.             Z: -1436
  33.             Axis: Y
  34.             Min: 65
  35.             Max: 70
  36.             # if true, set value to min if max is reached
  37.             # if false, decrease the value until min, then increase, etc
  38.             # false gives up/down, true gives only up
  39.             ResetOnMax: false
  40.     ParticleGen:
  41.       LPRandColourParticleGenerator:
  42.         CountPerParticle:
  43.     Triggers:
  44.       RegionTrigger:
  45.         PriorityDeactivation: true
  46.         Min: { X: 1165, Y: 50, Z: -1447 }
  47.         Max: { X: 1187, Y: 80, Z: -1425 }
  48.   XMAS Tree Loop:
  49.     World: new-xmas-test
  50.     LocationGen:
  51.       CircularGenerator:
  52.        # generate around these Y coords
  53.         # this also has a sub-generator which alters the Y coo
  54.         AxisY: 67
  55.         X: 1131
  56.         Z: -1436
  57.         # RADIANS!!! NOT DEGREES (6.2 radians == 360 degrees)
  58.         AnglePerTick: 0.015
  59.         Radius: 20
  60.     ParticleGen:
  61.       LPRandColourParticleGenerator:
  62.         CountPerParticle: 30
  63.     Triggers:
  64.       RegionTrigger:
  65.         PriorityDeactivation: true
  66.         Min: { X: 1105, Y: 50, Z: -1465 }
  67.         Max: { X: 1160, Y: 150, Z: -1409 }
  68.   Spawn Thing:
  69.     World: world
  70.     LocationGen:
  71.       CircularGenerator:
  72.        # generate around these Y coords
  73.         # this also has a sub-generator which alters the Y coo
  74.         AxisY: 0
  75.         # 3.0 looks like a circle sort of thing
  76.         AnglePerTick: 5.6
  77.         # 0.05 actually looks like a sine wave in a circle
  78.         # AnglePerTick: 0.05
  79.         Radius: 3
  80.         SubGenerator:
  81.          # generates Y coordinate values
  82.           AxisChangeGenerator:
  83.             ChangePerTick: 0.2
  84.             Axis: Y
  85.             Min: 64
  86.             Max: 70
  87.             # if true, set value to min if max is reached
  88.             # if false, decrease the value until min, then increase, etc
  89.             # false gives up/down, true gives only up
  90.             ResetOnMax: false
  91.             SubGenerator:
  92.               AxisChangeGenerator:
  93.                 ChangePerTick: 0.2
  94.                 X: -1011
  95.                 Z: -803
  96.                 Axis: X
  97.                 Min: -1015
  98.                 Max: -1006
  99.                 # if true, set value to min if max is reached
  100.                 # if false, decrease the value until min, then increase, etc
  101.                 # false gives up/down, true gives only up
  102.                 ResetOnMax: false
  103.     ParticleGen:
  104.       LPRandColourParticleGenerator:
  105.         CountPerParticle: 65
  106.     Triggers:
  107.       RegionTrigger:
  108.         PriorityDeactivation: true
  109.         Min: { X: -1020, Y: 50, Z: -810 }
  110.         Max: { X: -1000, Y: 80, Z: -790 }
  111.   new Player Particles:
  112.     World: world
  113.     LocationGen:
  114.       CircularGenerator:
  115.        # generate around these Y coords
  116.         # this also has a sub-generator which alters the Y coo
  117.         AxisY: 0
  118.         # 3.0 looks like a circle sort of thing
  119.         AnglePerTick: 5.6
  120.         # 0.05 actually looks like a sine wave in a circle
  121.         # AnglePerTick: 0.05
  122.         Radius: 3
  123.         SubGenerator:
  124.          # generates Y coordinate values
  125.           AxisChangeGenerator:
  126.             ChangePerTick: 0.2
  127.             X: -1011
  128.             Z: -745
  129.             Axis: Y
  130.             Min: 65
  131.             Max: 70
  132.             # if true, set value to min if max is reached
  133.             # if false, decrease the value until min, then increase, etc
  134.             # false gives up/down, true gives only up
  135.             ResetOnMax: false
  136.     ParticleGen:
  137.       LPRandColourParticleGenerator:
  138.         CountPerParticle: 65
  139.     Triggers:
  140.       RegionTrigger:
  141.         PriorityDeactivation: true
  142.         Min: { X: -1020, Y: 60, Z: -754 }
  143.         Max: { X: -1002, Y: 70, Z: -735 }
  144.  
  145.  
  146.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement