In order to make sounds more contextual, I'm exploring the ways to only play them when the player has line of sight. Currently mod sounds from weapons are played by the engine from weapons.tdf using the tags soundstart for shooting a projectile, and soundhit for the explosion sound. But is there a way to make these be contingent upon having line of sight?
Only hack I can think of is replacing those sound files with dummy, silent sounds and handling the explosion sounds myself, via tracking projectiles and explosions. But that is unelegant and hackish. Any better solution? Is this already possible?
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum