Hello everyone,
I made my first custom source engine particle today, and had GMOD in mind.
How can I test my new particle?
It is a leaf particle effect, so, I want to see leaves falling from a soda can or something.
Please help.
Thanks,
-Blue
I've never made a effect personally before but I believe it's done with [url=http://wiki.garrysmod.com/page/Global/ParticleEmitter]ParticleEmitter[/url] on the client.
Is their a quick, hackier way to do it?
Do lua consoles exist for gmod?
[QUOTE=mcd1992;46215178]I've never made a effect personally before but I believe it's done with [url=http://wiki.garrysmod.com/page/Global/ParticleEmitter]ParticleEmitter[/url] on the client.[/QUOTE]
He's talking about OB Particles.
You want to use this function:
[url]http://wiki.garrysmod.com/page/Global/ParticleEffect[/url]
Put this into your console while playing singleplayer:
[code]
lua_run game.AddParticles("particles/myfile.pcf") ParticleEffect( "myparticle", Entity(1):GetPos(), Entity(1):GetAngles(), Entity(1) )[/code]
And replace the myfile and myparticle with your actual names.
[editline]12th October 2014[/editline]
This will create the particle at your feet in game.
[editline]12th October 2014[/editline]
If you want it to be attached to an entity, I guess use a tool which is available on workshop ( I don't remember the name )
Thanks!
That Worked!
Sorry, you need to Log In to post a reply to this thread.