Particle force field question
Hi to devs! I want to use a spherical force to push out particles. I use this simple setup for testing purposes.
Generator {
# string line for mobj
# string line for flags
Spawn Radius = 10.0
Spawn age = -1
Max age = -1
Spawn rate = 1
Force = 1
Force Radius = 70
Particles = 199
Stage {
Type = point
Flags = force
Tics = 35
Rnd = 0.33
Color { 1 1 1 1 }
Radius = 1
}
}
But particles just stay at theirs birth positions. What am I doing wrong?
Comments
For reference, here is the Generator used with DOOM's Invulnerability sphere (in ver 5 syntax):
@Gordon
Sorry but that is incorrect. Spherical force for particle movement was implemented many, many years ago and pretty much all of the current resource packs use it.
I have a habit to create effects in programs where I could see it (like Maya or Houdini), and then script it to dengine.
So now all working.
New poison cloud effect in Maya (the gif doesn't represent actual speed of the animation):
And in dengine
The "Force" is not working for "Mobj" triggered Generators. The "Speed" is not necessary.
In this case, as the poison clouds are a short lived effect that only players can spawn, I'd think you'd be fine using the state triggered model.