Jump to content
Sign in to follow this  
Icaruk

Creating particles.

Recommended Posts

I haven't found any working tutorial/example about this, I just want to create water or fire particles on a single position.

I found the drop command but I'm so lost without any working example and particle list.

Any help please?

Share this post


Link to post
Share on other sites
As far as I remember, the wiki does have a working example.

Anyway, look here... that might make it easier:

http://forums.bistudio.com/showthread.php?157226-Particle-Editor

Thanks, I finally did a working particle effect, now how can I make it move to where the player is looking at?

Edit: I found a example, I'll post it when I have it working.

Edited by Icaruk

Share this post


Link to post
Share on other sites
_source = "#particlesource" createVehicleLocal getPos player;

_source setParticleCircle [0, [0, 0, 0]];
_source setParticleRandom [0, [0.25, 0.25, 0], [0.175, 0.175, 0], 0, 0.25, [0, 0, 0, 0.1], 0, 0];
_source setParticleParams [
["\A3\data_f\Cl_water", 1, 0, 1], "", // Particula
"Billboard",  // Tipo de particula
1,	// Timer
1.5,	// Lifetime
[0, 0, 0],	// Pos		
[0, 4, 0.3],		// Move vel
0,2,	1,0.075,	// Simulacion: rotationvel, weight, volume, rubbing
[1, 1, 1],		// Escala
[[1, 1, 1, 0.7], [0.25, 0.25, 0.25, 0.5],	 // Colores
[0.5, 0.5, 0.5, 0]],	// 
[0.08],		// Anim speed
0.01,		// randDirPeriod
0,		// ranDirIntensity
"",		// On timer script
"",		// Destroy script
cosa,		// Follow
20,		// Angulo
true,		// Bounce
0.5,		// How much bounces on ground
[[0,0,0,0]]		// Color emisivo
];

_source setDropInterval 0.05;

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×