New particle system

Report bugs, errors and balance issues you may encounter ingame here.

Moderator: Developers

Post Reply
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

New particle system

Post by Zefz »

The new particle system doesnt work correctly. I still cannot spawn any particle image higher than 255.
bgbirdsey
{]-[0{0|307 (Developer)
{]-[0{0|307 (Developer)
Posts: 1864
Joined: Wed Jul 23, 2008 4:22 am
Location: Minnesota, USA

Post by bgbirdsey »

hmmm... I'll have to check that out. There may be a clamp somewhere that is limiting the maxiumum particle number.
bgbirdsey
{]-[0{0|307 (Developer)
{]-[0{0|307 (Developer)
Posts: 1864
Joined: Wed Jul 23, 2008 4:22 am
Location: Minnesota, USA

Post by bgbirdsey »

There is at least a couple of other minor problems with particle spawning/despawning/lifetimes that I have to figure out.
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Post by Zefz »

Okay :) I was playing around with creating new spells and couldn't access the new goodies ;)
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Post by Zefz »

End Spawn Particle does no longer seem to work. (When current particle ends, spawn a new particle).

SpawnAttachedSizedParticle seems also not to work anymore.
bgbirdsey
{]-[0{0|307 (Developer)
{]-[0{0|307 (Developer)
Posts: 1864
Joined: Wed Jul 23, 2008 4:22 am
Location: Minnesota, USA

Post by bgbirdsey »

This is a bit or a mystery. Have you downloaded the latest SVN? I changed something about the frame counting.
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Post by Zefz »

Yes, I do have newest revision.

I found two bugs with the SpawnAttachedSizeParticle.
1. The particle simply does not appear if it is attached it seems. If I disabled the attachment effect then the particle spawns where it should.
2. prt_set_size() used in SpawnAttachedSizeParticle also doesn't work. Both ACTIVE_PRT() and !DEFINED_PPRT() is stopping it from changing size. (although the spawn_particle() function returns a particle index without failing to spawn anything).


I haven't checked out End Spawn particle yet.


[edit]
index == 35 name == "import\temp0001.obj\part0.txt" create_count == 285 request_count == 285

part0.txt is spawned through SpawnAttachedParticle
[/edit]
bgbirdsey
{]-[0{0|307 (Developer)
{]-[0{0|307 (Developer)
Posts: 1864
Joined: Wed Jul 23, 2008 4:22 am
Location: Minnesota, USA

Post by bgbirdsey »

ARGH! This whole thing about the state of the particle's initialization is so difficult to get right. Sometimes it is important to be fully initialized, but for all functions that are used on initializing objects, they need to accept uninitialized...

--------------------------

Looks like I fixed the resizing problem, but there is still a problem with the attached particles not despawning.
Post Reply