Particles manifest.txt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (displaytitle)
mNo edit summary
Line 8: Line 8:
== Syntax ==
== Syntax ==


{{tip|PCFs prefixed with a <code>!</code> character will be [[Precache()|precached]] globally. Others will be precached by entities compiled into the map.}}
{{tip|Systems within PCFs prefixed by a <code>!</code> character will be [[Precache()|precached]] globally. Others will be precached on-demand by entities.}}


  particles_manifest
  particles_manifest

Revision as of 04:40, 21 October 2009

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.pngTip: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"
}