Euflorium: The Eufloria Community

Eufloria => Eufloria Classic => Topic started by: Major Cooke on March 29, 2010, 11:37:11 AM

Title: Custom sound definitions for LUA
Post by: Major Cooke on March 29, 2010, 11:37:11 AM
Would it be possible to implement in another patch or so, a way to define sound overwriting definitions so you can put in your own sounds without the need to replace the actual names? Also, would it be possible to define multiple sounds for the game to randomly choose from in say like... a list, or a table of some sort?

For example:

There's a laser mine that... well, emits multiple random sounds when firing his lasers. He'll loop one sound while firing, and then change to another sound after.

It'll have three sound files-- a donkey scream, a loud fart, and a turd minion's gibbing sound from Redneck Rampage.

donkey.ogg
fart.ogg
jib.ogg (no really, it's called that...)

and I want the game to randomly choose one of those three, in place of MineAttackLoop.ogg.

Just to get you the idea of how it would go.

Think it's doable?

Title: Re: Custom sound definitions for LUA
Post by: Alex on March 29, 2010, 06:43:20 PM
We're not set up for that at the moment but I'll have a look - might be easy to do...
Title: Re: Custom sound definitions for LUA
Post by: Major Cooke on March 29, 2010, 08:42:41 PM
Heheh, okay. Sounds great. Yeah, I plan on releasing a custom sound content base if it can be set up.
Title: Re: Custom sound definitions for LUA
Post by: TorchFire on March 31, 2010, 05:58:56 PM
Custom sounds would be great.  At the moment, I have several sounds modified, including my favored v.1.20 attack sound for the seedlings.  It would be nice to have an easier way to play around with these.
Title: Re: Custom sound definitions for LUA
Post by: Rudolf on April 04, 2010, 04:40:20 AM
Maybe we start a "Modding requests" thread?
Or maybe Alex will stab me if he finds out I suggested that...

 :o
Title: Re: Custom sound definitions for LUA
Post by: Major Cooke on April 04, 2010, 06:25:28 AM
I say "DEW EET" because it's an epic idea.
Title: Re: Custom sound definitions for LUA
Post by: Alex on April 06, 2010, 06:00:25 PM
Anything people want to do with the game is good info - I've started the thread
Title: Re: Custom sound definitions for LUA
Post by: Rudolf on April 06, 2010, 09:08:34 PM
Anything people want to do with the game is good info - I've started the thread

Dude... put the knife away...
Title: Re: Custom sound definitions for LUA
Post by: Alex on April 07, 2010, 01:19:49 AM
It's not a 'knife', it's a scalpel.
Title: Re: Custom sound definitions for LUA
Post by: annikk.exe on April 07, 2010, 01:33:54 AM
Perhaps a scalpel for taking flower cuttings (http://www.dyson-game.com/smf/index.php?topic=778.msg4484#msg4484)..? :>