Cyberpunk 2077
warning Scheduled Downtime - On 3 August 2021 starting from 09:30 (GMT+1) until approximately 13:30 (GMT+1) our site and forums will be undergoing maintenance.
0 of 0

File information

Last updated

Original upload

Created by

donk7413

Uploaded by

donk74

Virus scan

Safe to use

Tags for this mod

About this mod

Play any Audio file in CET or using our API in your mod!

Requirements
Permissions and credits
Changelogs
CET Library that calls an external program that will play any audio file from a given file path or your mod path. The exe is launched at CET boot.

!!! This mod is a library that other mod can use. It doesn't work alone. !!!
You like my work ?┬áBuy me a Beer ­čŹ║

In collaboration with MaximiliumM from Appearance Menu Mod
(Check out his amazing mod!)

Example code:
´╗┐SoundManager = GetMod("000sound_mod")
yourMod.soundpath = "yourMod\sounds"
SoundManager.PlaySound("mySound", yourMod.soundpath, "sound",volume) //volume is between 0 and 100
SoundManager.IsPlaying(channel)
SoundManager.Pause("sound")
SoundManager.Resume("sound")
SoundManager.Stop("sound")
SoundManager.SetSoundSettingValue(volumTag,value) //volumTag can be : MasterVolume/SfxVolume/DialogueVolume/MusicVolume/CarRadioVolume
SoundManager.GetSoundSettingValue(volumTag) //volumTag can be : MasterVolume/SfxVolume/DialogueVolume/MusicVolume/CarRadioVolume
------------------------------------------------

There are 3 channels available:
"music"
"sound"
"env"

You can only play one sound in each channel. For example, if you try playing Sound A while Sound B is already playing in "music" channel, it won't play. 
Three sounds can be played at the same time if you use different channels for each sound.

For music channel only : Game setting MusicVolume and CarRadioVolume will be setted at 0 (mute) when playing/resume then restored at previous value when pause or stop

IMPORTANT

Thanks and we hope you enjoy this little hacky thing ;D ! 

Check out my other mod:
Immersive Roleplay