Particles manifest.txt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(been testing this for AGES. confirmed to not work for Gmod or HL2. where that leaves me particle-wise, I have no idea.)
Line 6: Line 6:


{{note|The location of the per-map manifest depends on the game. Historically, per-map manifests are introduced later in the life of the product.}}
{{note|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.}}
{{confirm|The per-map manifest options may not work in Portal, Ep2, Garry's Mod, HL2 or old OB mods.}}


== Syntax ==
== Syntax ==

Revision as of 10:56, 21 March 2014

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, Garry's Mod, HL2 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"
}