[Solved] Issues with getting custom particles to work

Discussion in 'Mapping Questions & Discussion' started by Phil25, Nov 2, 2015.

  1. Phil25

    Phil25 L1: Registered

    Messages:
    49
    Positive Ratings:
    8
    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.
     
  2. Phil25

    Phil25 L1: Registered

    Messages:
    49
    Positive Ratings:
    8
    My bad, haven't read up on the wiki:
    Let this be an example for future people like me :p
     
  3. Egan

    aa Egan

    Messages:
    1,318
    Positive Ratings:
    1,507
    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.