Skip to content

Instantly share code, notes, and snippets.

@chrjen
Last active May 24, 2020 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrjen/6ef74e5e43f278aa064cc90027354f41 to your computer and use it in GitHub Desktop.
Save chrjen/6ef74e5e43f278aa064cc90027354f41 to your computer and use it in GitHub Desktop.
List of particle system settings changes from default for easy reference. Settings are for dry erase board stamps used in Half-Life: Alyx.

Paticle system settings

Example settings for a Source 2 particle system to be used with the dry erase boards in Half-Life: Alyx. The list are all the changes away from the default values.

Base Properties

  • max particles = 1
  • time to sleep when not drawn = 0.1

Emitter

  • Instantaneous Emitter
    • num to emit = 1

Initializer

  • Position Within Sphere Random
  • Normal align to CP
  • Radius Random
    • radius min = 12 // Determines the size, so customise these values. The two values should stay equal.
    • radius max = 12 // Determines the size, so customise these values. The two values should stay equal.
  • Rotation Random
    • yaw offset min = 90
    • yaw offset max = 90
    • randomly flip direction = off

Operator

  • Remap control point to scalar
    • input control point number = 1
    • input minimum = 1
    • input maximum = 50
    • output minimum = 1
    • output maximum = 50
    • set value method = "Scale Initial Value"

Renderer

  • Sprite Renderer
    • orientation type = "Particle Normal Align"
    • self illum amount = 1 // Try playing with this value.
    • texture = "materials/particle/dry_erase/stamps/example.vtex" // Change this to your image texture.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment