Particles manifest.txt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:


* <code>particles\particles_manifest.txt</code>
* <code>particles\particles_manifest.txt</code>
* <code>maps\<map name>_manifest.txt</code> (per-map)
* <code>maps\<map name>_particles.txt</code> (per-map)
* <code>particles\<map name>_manifest.txt</code> (per-map)
* <code>particles\<map name>_manifest.txt</code> (per-map)



Revision as of 22:13, 17 April 2013

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

  • particles\particles_manifest.txt
  • maps\<map name>_particles.txt (per-map)
  • particles\<map name>_manifest.txt (per-map)
Note.pngNote:The location of the per-map manifest depends on the game. Historically, per-map manifests are introduced later in the life of the product.
Confirm:The per-map manifest options 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"
}