bama1234 Posted September 9, 2014 Report Share Posted September 9, 2014 Is it possible to make certain ambient polygons (ambiance sounds) play at certain intervals during the game clock? The atmo_night_rural sound goes really well with the rural feel of my map, but I don't want it to play constantly, so is there a way I can make it play only during the nighttime hours? Thanks in advance Quote Link to comment Share on other sites More sharing options...
itchboy Posted September 9, 2014 Report Share Posted September 9, 2014 Is it possible to make certain ambient polygons (ambiance sounds) play at certain intervals during the game clock? The atmo_night_rural sound goes really well with the rural feel of my map, but I don't want it to play constantly, so is there a way I can make it play only during the nighttime hours? Thanks in advanceTry some of these codes. I am not sure though if they work as command scripts. These are typically found in mission scripts.void StopAmbientSound(const char* name_);void SetAmbientSoundVolumeByName(const char *name_, float volume_);void SetAmbientSoundVolumeBySound(const char *sound_, float volume_); Quote Link to comment Share on other sites More sharing options...
bama1234 Posted September 9, 2014 Author Report Share Posted September 9, 2014 Try some of these codes. I am not sure though if they work as command scripts. These are typically found in mission scripts.void StopAmbientSound(const char* name_);void SetAmbientSoundVolumeByName(const char *name_, float volume_);void SetAmbientSoundVolumeBySound(const char *sound_, float volume_); Alright, would these need to go in fp_params or..? I'll tinker around with it. Quote Link to comment Share on other sites More sharing options...
itchboy Posted September 9, 2014 Report Share Posted September 9, 2014 Alright, would these need to go in fp_params or..? I'll tinker around with it. They would go into an actual mission script or command script. Quote Link to comment Share on other sites More sharing options...