[Solved] Issues with getting custom particles to work

Phil25

L1: Registered
Jun 13, 2015
49
10
I created a particle system friendlymode.pcf and placed it in tf/particles/. In it, there's a particle named friendly.

I copied the particles_manifest.txt from the .vpk to the same location as friendlymode.pcf, and added the following line at the end, before the closing bracket:
Code:
"file"		"!particles/friendlymode.pcf"


Yet, the particle is still not visible in the test map. The .bsp loads with these errors:
Code:
Attemped to precache unknown particle system "friendly"!
Attempting to create unknown particle system 'friendly'


I don't know what I am doing wrong, any help gladly appreciated! :)
Yes, "Start Active" is set.
 

Phil25

L1: Registered
Jun 13, 2015
49
10
My bad, haven't read up on the wiki:
Due to the recent Steampipe update, particles now require VPK intergration. This is because the VPK takes priority over non-VPK files, so the VPK's manifest will always overwrite your own.

Let this be an example for future people like me :p
 

Egan

aa
Feb 14, 2010
1,375
1,721
You will need to create a text file in the tf/maps/ directory named cp_nameofmap_a1_particles.txt (replace cp_nameofmap_a1 with the full filename of your map).

Inside paste this in:
Code:
particles_manifest
{
        "file"        "!particles/friendlymode.pcf"
}

You will need a new particles file (and pack it into the .bsp each time - VIDE/Compilepal/BSPZIP) for every map version.