Building an RTS I have several hundred units on screen at one time.
Whenever a Unit attacks/gathers something, I want to play a sound (if camera is close enough).
My question is, how do most RTS games do this? Do I play 1 sound per attack per unit, i.e if 200 units are fighting do I play 200 individuals sounds (one sound each time a unit attacks)?
Same goes for gathering, if 20 workers gather wood, do I play a sound each time they hit a tree?
Does this not use up a lot of resources? Is there a better way?