WiseSmokeStack: HL2 Smoke Stack

From Valve Developer Community
Jump to: navigation, search


This tutorial was originally created by wisemx. It was originally posted on SDKnuts.net.

This is rather simple and it creates a nice visual effect. There are lots of methods you can use to create the chimney and there are multiple models in the Source SDK that can be used, for this one I used models/props_rooftop/roof_vent004.mdl.

The entity class is prop_static.

  • Collisions: Not Solid
  • Disable Shadows: Yes (Decide if shadows are desired and if anything will be bumping into it.)

Next I’ve created and positioned a env_smokestack, shown in red below.

WiseSmokeStack position.png
Note.pngNote:If you are going to trigger the smoke give this a name. If you are not going to trigger it make sure Initial State is On.

There are lots of settings for your smoke, it will be best to experiment. The settings for this example are:

  • Initial State: On
  • Spread at the base: 10
  • Spread Speed: 15
  • Speed: 30
  • Particle start size: 10
  • Particle end size: 30
  • Emission rate: 20
  • Length of smoke trail: 180
  • Wind X/Y Angle: 10
  • Wind Speed: 17
  • Particle material: particle/SmokeStack.vmt
  • Twist: 5
  • Base Color (R G B): 129 129 129
  • Translucency: 170