Replacing ingame sounds with MML

Have a question, suggestion, or comment about Aleph One's features and functionality (Lua, MML, the engine itself, etc)? Post such topics here.
Post Reply
User avatar
JohannesG
Mjolnir Mark IV
Posts: 607
Joined: Jan 22nd '06, 23:52
Contact:

I've been running into some problems with replacing ingame sound effects (sound object placed on a map) with external sounds using MML. In this case the wind sound effect (95) but the original sound simply gets played instead. I've tested this both with the latest stable version along with the latest beta on Ubuntu 18.04 (a1 compiled with libsndfile enabled). During load and gameplay, console throws no errors at me or any meaningful information.

Most likely explanation is that I am misunderstanding some minor thing in the MML documentation. Or maybe there are some limitations with what audio file formats can be used? Anyone here that could point me in the right direction?

Code: Select all

<marathon>
	<sounds>
		<sound index="95" slot="0" file="Data/Audial/test.wav" />
	</sounds>
</marathon>
User avatar
treellama
Vidmaster
Posts: 6110
Joined: Jun 2nd '06, 02:05
Location: Pittsburgh
Contact:

That looks correct to me. I don't think any scenario actually uses those, so it's possible they broke with the XML parser change and nobody noticed.
Post Reply