Fun with Particle Effects
In this tutorial, you will learn to modify a particle effect by changing the color and size of the BFG energy ball, as well as removing the smoke and shockwave.
You can use the Decl Editor, the FX Editor, or the Particle Editor to find the properties you’re looking to modify. Each of the tutorials in this section describes the use of a different editor to access particle effect information.
Change the color of a particle effect
- Open Asset Browser
- Open the root folder for the asset you would like to modify, and find the object. For this tutorial, go to: projectile → projectile → player → bfg
- Right click on the bfg thumbnail, then select Edit.
- The Decl Editor should open in the center of your screen, displaying the properties of the bfg projectile entity.
You can always dock any editor in a different area of your screen to fit your needs.
If you have previously opened this editor, you may have to find the docked tab for the editor. Keep in mind, the editor may be on tab behind other editors within a pane. Simply select the tab to switch to that editor view.
- Locate the FX decl → Right Click → Edit
- The FX Editor should open in the center of your screen, displaying the properties of the projectile effect.
You can always dock any editor in a different area of your screen to fit your needs.
If you have previously opened this editor, you may have to find the docked tab for the editor. Keep in mind, the editor may be on tab behind other editors within a pane. Simply select the tab to switch to that editor view.
- In the FX Editor, select the projectile Action you’d like to edit. For this tutorial: Select bfg_ball
- The Action Properties section of the FX Editor will open.
- Locate the Decl Prt in Action Properties: Action Properties → Particle Parms → Decl Prt
The Decl Prt is the particle effect decl, nested in the FX decl.
- Right Click Decl Prt → Edit
- Clicking edit will open the Particle Editor and the Preview.
Keep in mind, the editor may open in a tab behind other editors within a pane. Simply select the tab to switch to that editor view.
It can be useful to dock the Particle Editor and Preview in different panes, so you can see your edits as you make them.
- In the Particle Editor:
- Use the check boxes to select and deselect different parts of the particle effect (smoke, lightning, etc.)
- Use the arrows to expand the parts of the particle effect to access editable options
- In the Particle Editor: Expand Smoke → Click Color Attributes
- Click the color bar to open the Color Picker.
- Use the tool to select a custom color.
- Click OK.
- Edit other parts of the the particle effect, as desired. For this tutorial:
- Change the color of the lightning
- Change the color of the shockwave
- Make the rays more translucent
- Click Save (in the Particle Editor) to save your color changes.
- Load into Sandbox to test.
give weapon/player/bfg
Change the size of a particle effect
- Open the FX Editor.
- In the FX Editor, open the decl of the entity you would like to modify. For this tutorial, go to: Open → weapon → bfg → projectile
- In the FX Editor, expand the projectile Action you’d like to edit. For this tutorial: Expand bfg_ball.
- Now, locate the projectile effect size in the FX Editor: bfg_ball Action Properties → Size
- Change the Size to 5.
This field uses multipliers, not units. So 5 = 5x original size.
- Click Save (in FX Editor) to save your size change.
- Load into Sandbox to test.
give weapon/player/bfg
Add or Remove parts of a particle effect
- Open Asset Browser.
- Open the root folder for the asset you would like to modify, and find the object. For this tutorial, go to: particle → weapons → bfg
- Right click on the bfg_projectile thumbnail.
- Select Edit.
- The Particle Editor and Preview should open, displaying the properties of the bfg projectile entity.
You can always dock any editor in a different area of your screen to fit your needs.
If you have previously opened this editor, you may have to find the docked tab for the editor. Keep in mind, the editor may be on a tab behind other editors within a pane. Simply select the tab to switch to that editor view.
- In the Particle Editor:
- Right Click smoke → Select Remove
- Right Click shockwave → Select Remove
- Click Save (in the Particle Editor) to save your changes.
- Load into Sandbox to test.
give weapon/player/bfg