Removing sounds from objects (with scripts)

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
Dan
Cyborg
Posts: 94
Joined: Feb 20th '14, 02:26
Location: California

Is removing sounds from objects in-game like projectiles and monsters possible?

EDIT: During gameplay.
Last edited by Dan on Mar 2nd '14, 19:23, edited 1 time in total.
Roses are rose red
Poems don't always make sense
Refridgerator
User avatar
$lave
Vidmaster
Posts: 2155
Joined: Jul 30th '07, 01:05
Contact:

I'm pretty sure you can remove the sounds associated with any projectile/contrail/monster etc. in the physical file.
Dan
Cyborg
Posts: 94
Joined: Feb 20th '14, 02:26
Location: California

Oh, I meant in-game. With scripts. :P
Roses are rose red
Poems don't always make sense
Refridgerator
User avatar
Zott
Vidmaster
Posts: 1659
Joined: Jul 1st '06, 21:14
Location: Earth
Contact:

To my knowledge, no.

You can do the inverse however, play sounds with scripts. Depending on what you wish to do, you could, for example, remove the death sound from the monster, then for all but specified cases, use a script to detect and play a sound for monster death.
Dan
Cyborg
Posts: 94
Joined: Feb 20th '14, 02:26
Location: California

Zott wrote:To my knowledge, no.

You can do the inverse however, play sounds with scripts. Depending on what you wish to do, you could, for example, remove the death sound from the monster, then for all but specified cases, use a script to detect and play a sound for monster death.
Welp, thanks for telling me that you can't rid sounds. Oh well. Time to think of solutions to my problems. :P
Roses are rose red
Poems don't always make sense
Refridgerator
User avatar
Hopper
Mjolnir Mark IV
Posts: 585
Joined: May 10th '09, 17:02
Contact:

To add to Zott's suggestion, you can use MML to replace a sound with a .wav file of silence. That still can't be controlled with Lua, but it does work in a plugin without changing the Sounds file.
Dan
Cyborg
Posts: 94
Joined: Feb 20th '14, 02:26
Location: California

Hmm... I guess... Gotta get that good mic out, don't want no statics.
Roses are rose red
Poems don't always make sense
Refridgerator
Post Reply