(Cell)Spread for Particle Spawning

Registered by Mustafa Alperen SEKÄ°

Currently if you spawn a particle using SpawnsParticle= all particles spawns at center. I want to make some large explosions (SCUD SW/Toxin Truck) spawn those particles too but they should be spawned a bit away from center. I think this should be an Animation vaule rather than Particle itself.

[SCUDExplosion]
SpawnsParticle=AnthraxAlpha
Particle.CellSpread=9

Blueprint information

Status:
Complete
Approver:
AlexB
Priority:
Low
Drafter:
Mustafa Alperen SEKÄ°
Direction:
Approved
Assignee:
AlexB
Definition:
Approved
Series goal:
Accepted for 0.c
Implementation:
Implemented
Milestone target:
milestone icon 0.c
Started by
AlexB
Completed by
AlexB

Related branches

Sprints

Whiteboard

Implemented a bit differently: Not using CellSpread, because that would not uniform-ish-ly distribute the particles. (It would prefer spawning farther away from the center, and could spawn particles close to each other.)

This feature divides the circle around animation's base coords into NumParticles sections. Each section will get exactly one spawned particle. The height above ground will be the same as the animation's height above the base cell.

[AnimType]SpawnsParticle.RangeMinimum= (double - cells, defaults to 0)
The distance from the center where particles start spawning at. If negative, the absolute of the random distance will be used, allowing to double the chance to spawn particles closer to the center.

[AnimType]SpawnsParticle.RangeMaximum= (double - cells, defaults to 0)
The distance from the center where particles will not spawn beyond. Has to be equal to or larger than SpawnsParticle.RangeMinimum.

Confirmed here: http://www.ppmforums.com/viewtopic.php?p=545750#545750 and following -AlexB

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.