Custom explosion effect

Discussion in 'Mapping Questions & Discussion' started by Engineer of Stuff, Nov 9, 2017.

  1. Engineer of Stuff

    Engineer of Stuff L1: Registered

    Messages:
    13
    Positive Ratings:
    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?
     
  2. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    337
    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.
     
    • Thanks Thanks x 1
  3. Engineer of Stuff

    Engineer of Stuff L1: Registered

    Messages:
    13
    Positive Ratings:
    0
    And I would have the env_explosion trigger the particle system, right?

    I will post the results for future reference.
     
    Last edited: Nov 9, 2017
  4. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    337
    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
     
    • Thanks Thanks x 1
  5. Engineer of Stuff

    Engineer of Stuff L1: Registered

    Messages:
    13
    Positive Ratings:
    0
    I'll use your way.