• Particle System not working
    3 replies, posted
Hey everyone, For one of my SWEPS, I'm trying to use the smoker_fx.pcf file from L4D2 as a particle system. However, I can't seem to load it. It's inside of "<Swepname>/particles/", and I've tried calling it with PrecacheParticleEffect("smoker_fx.pcf). Any help would be appreciated :)
It doesn't belong in the SWEP's folder. Here are the folders you'd usually put particles /garrysmod/particles/ /garrysmod/addon/addonname/particles/ /garrysmod/gamemode/gamemodename/content/particles/
[QUOTE=Walrus Viking;42884384]It doesn't belong in the SWEP's folder. Here are the folders you'd usually put particles /garrysmod/particles/ /garrysmod/addon/addonname/particles/ /garrysmod/gamemode/gamemodename/content/particles/[/QUOTE] This and you must include the .pcf file with game.AddParticles before precaching it or using it.
[QUOTE=Robotboy655;42885015]This and you must include the .pcf file with game.AddParticles before precaching it or using it.[/QUOTE] @Robotboy, thanks! I'll try this. @Walrus: It is in the second "path" you put down. I wasn't sure what i should have said as the addon name and whatnot. EDIT: When I tried game.AddParticles("particles/smoker_fx.pcf") it said in the console that the UtlBuffer was of the wrong type.
Sorry, you need to Log In to post a reply to this thread.