Adding custom sounds
Moderator: NBJeff
Adding custom sounds
Is it possible to add custom sounds to a mod? Like if a prisoner is in a specific room the sound plays.
Re: Adding custom sounds
You can play sounds with Object.Sound() (see la_function_list.txt). Sounds are declared in sounds.txt (surprise!), but I don't know if you can add a new file with new sounds to your mod, or if you have to modify the original sounds.txt for that. The wiki may help with that question.
Good luck!
(If you've found the solution, feel free to share with everyone)
Good luck!
(If you've found the solution, feel free to share with everyone)
Re: Adding custom sounds
sounds.txt is loaded additively (like all the other modable files), so you should be able to add new sounds to it and have it available along the main game sound files no problem!
Who is online
Users browsing this forum: No registered users and 1 guest