Custom explosion effect

Engineer of Stuff

L1: Registered
Oct 1, 2017
13
0
I am working on a map where the payload nuke explodes. I took a .pcf of the explosion effect I want from a Gmod addon, but how do I add it to my TF2 map?
 
Mar 23, 2013
1,013
347
open the game with -tools as launch command. At the top you can somewhere select the "particle viewer", now click open, click the .pcf and it should load a list with all particle effects in the pcf. You can preview all of them, and even edit them if you want.
Copy the name of the effect you want in your map and use the name for a info_particle_system. Give the info_particle_syste, the "start" input to start the particle effect if you use the "spawn disabled" property.
I'm not sure though if you can just grab a particle effect from gmod, especially if it wasn't made to be placed in a map, but just go ahead and try it out.
 

Engineer of Stuff

L1: Registered
Oct 1, 2017
13
0
open the game with -tools as launch command. At the top you can somewhere select the "particle viewer", now click open, click the .pcf and it should load a list with all particle effects in the pcf. You can preview all of them, and even edit them if you want.
Copy the name of the effect you want in your map and use the name for a info_particle_system. Give the info_particle_syste, the "start" input to start the particle effect if you use the "spawn disabled" property.
I'm not sure though if you can just grab a particle effect from gmod, especially if it wasn't made to be placed in a map, but just go ahead and try it out.

And I would have the env_explosion trigger the particle system, right?

I will post the results for future reference.
 
Last edited:
Mar 23, 2013
1,013
347
I do explosions with info_particle_system for visuals, ambient_generic for sound, env_shake for realism and trigger_hurt for ze hurting. But I guess you use env_explosion too