This script makes the player characters exhale clouds as they breathe and speak.
Intended as a visual extra for winter maps.
Installation:
1. Unpack the archive into
2. Add the
3. When compiling the map, don't forget to pack the resources in.
Usage:
By default, players will have the breath clouds anywhere on the map.
By placing trigger_multiples named trigger_disable_cold_breath you can disable cold breath in designated areas (e.g. indoors).
If you place trigger_multiples named trigger_enable_cold_breath, then the default behavior will change and cold breath will be active only inside those triggers.
You can also set
Known problems:
Doesn't work on Spy. Making his cold breath appear/disappear based on invis status was ruining the neat code. Will figure out soon(tm)
Intended as a visual extra for winter maps.
Installation:
1. Unpack the archive into
tf/custom/
2. Add the
!particles/cold_breath.pcf
file to your map's particle manifest.3. When compiling the map, don't forget to pack the resources in.
Usage:
By default, players will have the breath clouds anywhere on the map.
By placing trigger_multiples named trigger_disable_cold_breath you can disable cold breath in designated areas (e.g. indoors).
If you place trigger_multiples named trigger_enable_cold_breath, then the default behavior will change and cold breath will be active only inside those triggers.
You can also set
TRACE_SKY_ACCESS
to true
, in which case the script will toggle exhale clouds depending on whether the ceiling above you is TOOLSSKYBOX. Mildly expensive.Known problems:
Doesn't work on Spy. Making his cold breath appear/disappear based on invis status was ruining the neat code. Will figure out soon(tm)