Technical support > Feature Requests

Variable Smoke Persistence

<< < (2/2)

DarkRain:
Actually this would be just as easy as proposed if anyone really wanted to implement it: We don't spawn a single "smoke volume" but several smoke particles -one on each map 'tile'- each particle already has its own timer for despawning, so it would be pretty simple to just randomize said timer for each particle when the smoke field is spawned.

BUT do note that -due to the way the partilces overlap the adjacent 'tiles'- it will be very difficult to see which smoke 'tiles' have despawned when they despawn in the middle of the smoke field. Potentially leaving the palyer's units without cover in the middle of the smoke, when they visually appear to be covered by said smoke, would be BAD IMO.

Edit to clarify: The visibility system is aware of the smoke particle edicts, so one of them despawning will indeed make that tile visible, but other smoke particles in-between might still block visibility from/to that tile anyway.

Navigation

[0] Message Index

[*] Previous page

Go to full version