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.

Removing sounds from objects (with scripts)

Post Mar 2nd '14, 18:21

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
Dan
California

Post Mar 2nd '14, 19:18

I'm pretty sure you can remove the sounds associated with any projectile/contrail/monster etc. in the physical file.
User avatar

$lave

Post Mar 2nd '14, 19:23

Oh, I meant in-game. With scripts. :P
Roses are rose red
Poems don't always make sense
Refridgerator
Dan
California

Post Mar 2nd '14, 21:48

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.
User avatar

Zott
Earth

Post Mar 4th '14, 00:04

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
Dan
California

Post Mar 4th '14, 05:09

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.
User avatar

Hopper

Post Mar 13th '14, 14:29

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
Dan
California


Return to Aleph One Discussion



Who is online

Users browsing this forum: No registered users