Difference between revisions of "Particles manifest.txt"

From Valve Developer Community
Jump to: navigation, search
m
Line 8: Line 8:
 
== Syntax ==
 
== Syntax ==
  
{{tip|Systems within PCFs prefixed by a <code>!</code> character will be [[Precache()|precached]] globally. Others will be precached on-demand by entities.}}
+
{{tip|Systems within PCFs prefixed by a <code>!</code> character will be [[Precaching Assets|precached]] globally. Others will be precached on-demand by entities.}}
  
 
  particles_manifest
 
  particles_manifest

Revision as of 00:10, 13 March 2010

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"
}