andylegate wrote:Out of curiosity, and because I'm an engineer who likes to know what makes things tick, I opened up one of the CC Age files.
Now let me stress (before someone goes off half cocked) I'm NOT using anything that belongs to Cyan. I create my own textures, materials, models, etc, etc. But, one can learn a LOT if you look at their stuff and how they did things.
Opening up the Baron's Office, I started looking at the different layers. One thing that I saw in layer 2 was several different points, one of them being named: SfxBaronsCityMusicEmi. The only properties, unfortunately, is alctype = point and a link to the mainroom page.
Interesting, but no other info. I'll await the developement of being able to do this with great anticipation.
That's the sound emission point. All it requires is a CoordinateInterface that defines a location in 3D space.
I have successfully added ambient sounds to two Ages (multiple times) with some messy hex editing and a combination of PRPExplorer, PRPExplorer (development edition), and PrpTool. It wasn't very fun, believe me.
I'm working on a way to add ambient sounds with PyPRP by defining an emission point in Blender and editing some sound properties, but it's a bit slow because of the sheer complexity of sound classes in Plasma.