Hello,
A couple of things to note about this post, this is code from my current project which I've tried to clean up and make in to a "tutorial" of sorts, because Motorsep
asked me to release the code in IRC.
I'd also like to say both thank you and sorry to Spike, as his help via IRC with some of the CSQC was excellent, and I did want to make this work for FTE aswell as DarkPlaces, but unfortuantly, I just dont have the time at the moment to look into that. If anyone does get it working for FTE tho, before I get a chance to have a look at making it work in FTE, *please* post in this thread the changes needed.
This is not going to be a decently written tutorial, as such, beginners to regular QuakeC might want to look at some other stuff before reading this.
There's two-sides to implementing this code, as I see it, so I'l post the steps for each, in an attempt to make it as simple as possible to understand.
EDIT:
Spike has just informed me using particleeffectnum on the SSQC is bad, which made the first version of this code kinda bad. It has been update to code that only uses particleeffectnum on the CSQC side.