Frictional Games Forum (read-only)
Changing sound for an objects destruction? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Changing sound for an objects destruction? (/thread-17260.html)



Changing sound for an objects destruction? - Wrathborn771 - 07-25-2012

Hey guys,
Is it possible to change the sound from when an object breaks?
I want a vase to have a custom soundfile when being thrown at the ground and shattered into pieces.

If it's possible, what kind of file(s) will I need? My guess would be that I would have to convert my audiofile into .ogg and then making a .snt?

Thanks
Jonathan


RE: Changing sound for an objects destruction? - Mackiiboy - 07-25-2012

Yea, it's possible! You could open the entity of the item you want to change the sound of, and press Settings - > user defined variables, scroll down till' you find BreakSound. Change that sound to w/e you want. Yea, you will have to convert your sound to .ogg and create a .snt-file. The .snt-file should be written in the BreakSound box. Do not forget to save the entity as a new one :]
.
(07-25-2012, 06:03 PM)Wrathborn771 Wrote: Hey guys,
Is it possible to change the sound from when an object breaks?
I want a vase to have a custom soundfile when being thrown at the ground and shattered into pieces.

If it's possible, what kind of file(s) will I need? My guess would be that I would have to convert my audiofile into .ogg and then making a .snt?

Thanks
Jonathan



RE: Changing sound for an objects destruction? - Wrathborn771 - 07-27-2012

Do I change that in the modeleditor? Smile


RE: Changing sound for an objects destruction? - Adny - 07-27-2012






Yes.









RE: Changing sound for an objects destruction? - Wrathborn771 - 07-27-2012

Thanks guys, Imma try it out.