Home Technical Talk

Compiling particles effects in source...

polycounter lvl 8
Offline / Send Message
Mr. Brightside polycounter lvl 8
So this is my situation, I am working on a weapon animation project for Counter-Strike source and thought it could do with some extra goodies that no other weapon has. I basically took an existing particle from one of Counter-Strikes .pcf files and edited to look like a puff of smoke, I save it under a new .pcf file so that the smoke effect is the only one in that file.
It compiles fine, I have no errors but the effect isn't showing up.

Here's the code in my Qc;
{ event AE_CL_CREATE_PARTICLE_EFFECT 1 "muzzle_puff follow_attachment Muzzle" }

particles_manifest;
"file"        "!particles/custom_particles.pcf"

Here's the .pcf file with the particle effect in it;
http://filesmelt.com/dl/custom_particles.pcf

Anyone know what I'm doing wrong?

Replies

  • Mark Dygert
    It's safer to hold an ice pick up to your eye and fall on your face than try to create custom particles for source...
  • Zipfinator
    Offline / Send Message
    Zipfinator polycounter lvl 9
    Are you sure you're naming everything right? Double check the names and make sure that the name of the effect in the .pcf is the same as the one in your .qc file.

    As a side note, you could be extremely unlucky and just not be able to create custom particles. On my old computer whenever I created a custom particle it would be impossible for me to view it myself in a map. I'm 100% positive that I created it correctly and named it right, but it just wouldn't show up. I had to have someone else compile the map with the particle in it for it to show up. I have no idea why it did that and I never found a solution to it.

    If you're sure that everything is correct with naming and such then I'll pass a link to this thread to a friend of mine who is very experienced with Particles in Source. He should be able to answer it.
Sign In or Register to comment.