The unused fire modes are useful for such general shapes. The check for the structure / vehicle category can be replaced with the C4Fx_FireMode_StructVeh value, too.
But don't introduce new regular callbacks for the normal case. The fire is slow enough as it is now
If there's just a function that returns a static list of bounding rectangles, it should be fine I think. Like:
This would be useful for many applications. Like better collision detection, burn decals, etc.
local bounding_rectangles = [[-8,-8,16,16], [-5,8,10,12]];
func GetBoundingShape() { return bounding_rectangles; }
This would be useful for many applications. Like better collision detection, burn decals, etc.
Well, before my changes, one of the slowest part of the fire effects was calculating the width / height of the fire shape.
I was in the game and there were not a lot of particles. I think it was the old fire. Is the new one in 6.0 already?
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill