particles_manifest.txt

From Valve Developer Community
Revision as of 00:10, 13 March 2010 by Klusark (talk | contribs)

Jump to: navigation, search

Particle systems must be registered in a manifest file. These are:

  • particles\particles_manifest.txt
  • particles\<map name>_manifest.txt (per-map)
Confirm:The second manifest option may not work in Portal, Ep2, or old OB mods.

Syntax

Tip:Systems within PCFs prefixed by a ! character will be precached globally. Others will be precached on-demand by entities.
particles_manifest
{
	file	"particles/error.pcf"
	file	"particles/fire_01.pcf"
	file	"particles/burning_fx.pcf"
	file	"particles/explosions.pcf"
	file	"!particles/muzzleflashes.pcf"
	file	"!particles/rockettrail.pcf"
	file	"!particles/achievement.pcf"
}