Tremulous Forum

Media => Mapping Center => Topic started by: Emperor Jack on February 28, 2011, 10:05:17 pm

Title: Particle System <solved>
Post by: Emperor Jack on February 28, 2011, 10:05:17 pm
Hi guys me again, I was wondering if anyone knew of a tutorial that is simple to understand but yet effectice to making a basic particle system, such as smoke. I am creating a massive missile/rocket in my latest map and Its going to be launched and its going to fly! (eventually but I will make it fly). So I was thinking, a giant rocket that goes up straight into the sky? no no no, it needs to have effect, realisticness (sorry about the grammar), I would like to have smoke pool out of its burners as It launches. But this will only start after its triggered. If anyone can help me to creating this particle system it would be much appreicated.
Your emperor
Title: Re: Particle System
Post by: swamp-cecil on March 01, 2011, 01:58:47 am
Hi guys me again, I was wondering if anyone knew of a tutorial that is simple to understand but yet effectice to making a basic particle system, such as smoke. I am creating a massive missile/rocket in my latest map and Its going to be launched and its going to fly! (eventually but I will make it fly). So I was thinking, a giant rocket that goes up straight into the sky? no no no, it needs to have effect, realisticness (sorry about the grammar), I would like to have smoke pool out of its burners as It launches. But this will only start after its triggered. If anyone can help me to creating this particle system it would be much appreicated.
Your emperor
sadly, you cant attach a .particle system to a func_train. I recommend you look in manual.pdf at "particle system" and at some default .particle systems.
Title: Re: Particle System
Post by: Emperor Jack on March 01, 2011, 02:32:42 am
Well, I was thinking, set them at times, so it appears to be following the rocket. And so they turn off at times, if thats possible? Can tehy even be triggerable?
Title: Re: Particle System
Post by: Xedoh on March 01, 2011, 12:42:31 pm
Particle Systems can be turned on/off by targeting them (I don't know if you need to set any special spawnflags or something).

If I understood you right, you want to put a trail of particle systems at the func_trains path. This should work, but it could be hard to get the right timing (so it looks 'natural').
Title: Re: Particle System
Post by: Emperor Jack on March 01, 2011, 11:43:14 pm
Yeah lol but I still need to get the hang of wirting particle system codes or even shader codes. They are pretty much the only thing i dont know how to do but im sure i willl master it in the near future. Oh and if you want to see this func_train glitch with my rocket check the latest pages on "random dev shots"
Title: Re: Particle System
Post by: amz181 on March 03, 2011, 04:47:38 pm
Are people going to be riding in the rockets?
Title: Re: Particle System
Post by: UniqPhoeniX on March 03, 2011, 05:32:56 pm
Particle systems are explained in the manual. If you can get a single particle perfectly following the rocket, you could use the childsystem attribute to attach another particle system to it. Alternatively you could place lots of path corners and have each trigger a particle system.
Title: Re: Particle System
Post by: amz181 on March 03, 2011, 06:48:08 pm
How about using a fog shader? If you make it a dark grey it could look good.
Title: Re: Particle System
Post by: Emperor Jack on March 05, 2011, 01:32:21 am
No-one will ride the rocket. But can path-corners trigger entities when the func_train moves through them?
Title: Re: Particle System
Post by: Emperor Jack on March 05, 2011, 01:55:45 am
Ok I tried to put in a particle system, i used the shinynewpariclesystem example. I put it into a text document, renamed to missile.particle, put in scripts folder. I then created the misc_particlesystem and put the pathname in and made a triger for it. When i go ingame it gives me an error ingame: Particle system not registered???? What does this mean?
Title: Re: Particle System
Post by: swamp-cecil on March 05, 2011, 02:50:05 am
Ok I tried to put in a particle system, i used the shinynewpariclesystem example. I put it into a text document, renamed to missile.particle, put in scripts folder. I then created the misc_particlesystem and put the pathname in and made a triger for it. When i go ingame it gives me an error ingame: Particle system not registered???? What does this mean?
It means you have an error.
Maybe the particle picture you used is invalid?
Title: Re: Particle System
Post by: Emperor Jack on March 05, 2011, 07:50:24 am
I wouldnt know to be honest. Im desperately searching for some answers.
Title: Re: Particle System
Post by: Emperor Jack on March 11, 2011, 05:54:14 am
I still cant fix the problem? Does anyone know what Partical System not registered error means?
Title: Re: Particle System
Post by: Ingar on March 11, 2011, 03:41:08 pm
The error means there is no particle system with a name that matches
the psName you used in the misc_particle_system.

The psName in the misc_particle_system should be like:

Code: [Select]
psName particles/mapobjects/vega/smoke
Make sure it matches the name in your particle script:

Code: [Select]
particles/mapobjects/vega/smoke
{
        ejector
        {
            ...
        }
}
Title: Re: Particle System
Post by: Emperor Jack on March 17, 2011, 11:14:13 pm
Ok its fixed, thx guys. Now to figure out how to give the particle system colour xD