How to setup custom particle systems?

Discussion in 'Mapping Questions & Discussion' started by takabuschik, Mar 16, 2016.

  1. takabuschik

    aa takabuschik

    Messages:
    660
    Positive Ratings:
    308
    tl;dr I can't get a particle system I downloaded to work, despite doing everything by the book.


    I downloaded a custom particle system (it was made prior to the steampipe update, if that matters somehow).
    It came without a readme file, it had only the .pcf file, so I followed some short explanation about how to set particles up by wiseguy149, from a previous post on this subject:


    What I did is place the particle file in .../tf/custom/custom stuff/particles.
    Then I placed a info_particle_system in my map, and set the Particle System Name to the .pcf name (w/o a directory, as it should be the proper location)
    After that, I made a .txt file, as instructed, called in the exact same name of my map, with the added _particles suffix. I placed it in .../tf/maps- where my map is stored.

    I loaded the map, and using ent_fire, attempted to start the particle system via the start input. It didn't work, and the consule said:
    Attempting to create unknown particle system <the particle system's name>.

    Just to make sure, I used the particle editor to ensure the particle itself is all good, and it works there just fine, as far as I can tell.

    Any ideas what went wrong?
     
  2. ades

    ades L4: Comfortable Member

    Messages:
    165
    Positive Ratings:
    54
    Ive had this same problem for a few months now id really like some answers
     
    • Agree Agree x 1
  3. Vel0city

    aa Vel0city func_fish

    Messages:
    1,902
    Positive Ratings:
    1,516
    You don't want to reference the .pcf file itself in Hammer, but rather the particles that come within that particle file. If you know what the actual particle within the .pcf is called make it that name (a pcf file can contain multiple particle systems inside it). Alternatively you can open up the .pcf in something like Notepad++ and look for the particle's name there. Here TopHattWaffle explains how to find a particle system's name. Or open the .pcf itself in SFM (or in TF2 itself via the launch commands -tools -nop4 and then selecting the Particle Editor Tool) and get a look at the specific particle via that.
     
    • Thanks Thanks x 1
  4. Exactol

    aa Exactol Certified Hammer Hacker

    Messages:
    394
    Positive Ratings:
    451
    create a txt file named mapname_versionnumber_particles with the contents of http://pastebin.com/zKpBMcuK (particlename being the name of the pcf). A example would be koth_eerie_a4_particles.txt

    You could put the particle in the custom folder, but particles is where they normally go
     
  5. takabuschik

    aa takabuschik

    Messages:
    660
    Positive Ratings:
    308
    Done that already.

    IT WORKED!!!! thanks a lot for the help everyone, you made me and my map happy.
     
    • Thanks Thanks x 1