Hey, we have forums!

Author Topic: Jukebox mod  (Read 104402 times)

0 Members and 1 Guest are viewing this topic.

Offline Alphasoldier

  • Dream Bit
  • **********
  • Posts: 1810
  • Zero Suit!
    • View Profile
Re: Jukebox mod
« Reply #45 on: January 29, 2008, 08:35:27 pm »
How about just making a new mod out of it, without having people to make it themselfs. Some are lazy... Like me. :D
God sees and knows everything, but at least he won't gossip about it.

Offline Dolphin's Cry

  • Bit Bit
  • ****
  • Posts: 61
    • View Profile
Re: Jukebox mod
« Reply #46 on: January 30, 2008, 07:47:28 am »
Make sure that in your copy of the mod you've changed all the import statements in the scripts to import from the copy, not from the original! That bit me in the butt when I was fiddling around with it.
I have run across that problem as well. It would be nice, if there was some easy way to re-use scripts in other mods that does not require knowing the name of the mod beforehand. Maybe a stripped down version of the standard Lua "require" function which only works for Lua modules? So instead of
Quote
dofile("_mods/jukebox/scripts/jukeboxinclude.lua")
one could just do
Quote
require "jukeboxinclude"
(with minor changes to jukeboxinclude.lua to make it a Lua module)
Can you hear the dolphin's cry?

Offline Hiro

  • Hero Bit
  • *********
  • Posts: 674
  • Kriel's Legionary
    • View Profile
    • The Rat Hole
Re: Jukebox mod
« Reply #47 on: January 31, 2008, 04:22:23 am »
Ahh, I see the problem now then.

What Dolphin suggested sounds like it could be a real improvement to the system if it could be added. Something we should maybe suggest/point out to Alec. Unless it would be too hard to put in.
Given how useful I think it would be to be able to make something as a mod for others to use in other, bigger mods (such as I make a certain script that allows walking, and others want to use it in their mod) I think it would be cool to be able to just move the files around.

I'll listen to that eric thing now. All this work on getting to the voices has made me really want to hear it. XD
My site is: http://www.therathole.co.nr/
Where I put pictures and blog posts and stuff..

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: Jukebox mod
« Reply #48 on: January 31, 2008, 04:50:29 am »
Seems like a voice over player could just be added to the jukebox mod. I don't really see a reason to have them as two separate mods.

Offline Hiro

  • Hero Bit
  • *********
  • Posts: 674
  • Kriel's Legionary
    • View Profile
    • The Rat Hole
Re: Jukebox mod
« Reply #49 on: January 31, 2008, 05:53:57 am »
Alec has a point. :D

[EDIT]
I got it to work. That piano version of the main theme must go into the OST.

I have something to point out: when exiting the mod the thing keeps playing, even the subtitles. Something Alec might want to look at.
« Last Edit: January 31, 2008, 06:02:38 am by Hiro »
My site is: http://www.therathole.co.nr/
Where I put pictures and blog posts and stuff..

Offline frozenfire

  • Mini Bit
  • **
  • Posts: 5
    • View Profile
Re: Jukebox mod
« Reply #50 on: January 31, 2008, 06:58:44 am »
Alec has a point. :D

[EDIT]
I got it to work. That piano version of the main theme must go into the OST.

I have something to point out: when exiting the mod the thing keeps playing, even the subtitles. Something Alec might want to look at.

yeap realized that too. pointed that out in the voice test thread i think...or some other thread....heck can't remember..

p/s I wonder why I don't remember anything post I make in this forum. Only happened here. Nowwhere else.

Offline RobertWalker

  • Extra Bit
  • *****
  • Posts: 154
    • View Profile
    • My Blog
Re: Jukebox mod
« Reply #51 on: January 31, 2008, 07:07:36 am »
Yes. Voice clips go into a queue, so you can queue up several and they'll play one after another. The stopVoice() function will stop the currently playing voice. Any others that might be queued up will still play. The stopAllVoice() function will stop the current voice and clear the queue. So when you start a new clip or exit the mod, you need to call stopVoice() first.

I can see the argument for making one sound mod to rule them all.  The only tricksy part is that (as we've seen), voices work a little differently from music: they queue and they don't loop. Another possible issue comes up if we also do sound effects; I don't know how many there are, but if there are a lot, a simple previous/next interface wouldn't be so hot. Thoughts?

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: Jukebox mod
« Reply #52 on: January 31, 2008, 07:16:28 am »
Mods aren't limited to being one screen, you could hit a button on the first screen to warp naija to another with a totally different interface.

Offline Hiro

  • Hero Bit
  • *********
  • Posts: 674
  • Kriel's Legionary
    • View Profile
    • The Rat Hole
Re: Jukebox mod
« Reply #53 on: January 31, 2008, 10:57:06 am »
Um, the voice clip in that little voice example thing with Eric that I listened to did loop. But that may have been something to do with the mod playing it again automatically.
Or maybe it just had a que of the same thing because I clicked on next to see what happened (nothing seemed changed, but I guess all I did was add the same song into a que).
My site is: http://www.therathole.co.nr/
Where I put pictures and blog posts and stuff..

Offline RobertWalker

  • Extra Bit
  • *****
  • Posts: 154
    • View Profile
    • My Blog
Re: Jukebox mod
« Reply #54 on: January 31, 2008, 10:21:21 pm »
Um, the voice clip in that little voice example thing with Eric that I listened to did loop. But that may have been something to do with the mod playing it again automatically.
Or maybe it just had a que of the same thing because I clicked on next to see what happened (nothing seemed changed, but I guess all I did was add the same song into a que).
Yes. With only one song in the list, when you hit next it hit the end, wrapped around to the beginning and stuck the same song in the queue again.

Regarding an über sound mod, I think Alec has hit on the thing to do. Maybe put three little buttons in the corner that say "Music," "Dialog" and "Sounds," with the current one highlighted. Clicking on one would warp Naija to that interface. (Ooh, with different backgrounds!) "Music" would work just like the current jukebox mod. ""Sounds" could present a paginated list of the sounds and let you click one to listen to it. "Dialog" could go either way, or maybe a  different interface that nobody's thought of yet.

Offline Hiro

  • Hero Bit
  • *********
  • Posts: 674
  • Kriel's Legionary
    • View Profile
    • The Rat Hole
Re: Jukebox mod
« Reply #55 on: February 01, 2008, 12:45:31 pm »
:D I got Audacity working so now I can listen to lonely Eric as often as I want. Although I cut out some of it that didn't have music backing. That piano theme really needs music notes put out so I can rig my friend into learning it, so he can play it for me all the time. ;D Great song.

And yeah, an uber sound mod would be cool. With everything....
My site is: http://www.therathole.co.nr/
Where I put pictures and blog posts and stuff..

Offline Alphasoldier

  • Dream Bit
  • **********
  • Posts: 1810
  • Zero Suit!
    • View Profile
Re: Jukebox mod
« Reply #56 on: February 01, 2008, 01:52:13 pm »
Add more buttons? =p
God sees and knows everything, but at least he won't gossip about it.

Offline flipit

  • Mini Bit
  • **
  • Posts: 2
    • View Profile
Re: Jukebox mod
« Reply #57 on: February 03, 2008, 07:47:59 pm »
Thank you very much frozen fire for a code to let me listen to that voice file!

:D I got Audacity working so now I can listen to lonely Eric as often as I want. Although I cut out some of it that didn't have music backing. That piano theme really needs music notes put out so I can rig my friend into learning it, so he can play it for me all the time. ;D Great song.


How do you get the Eric file to play in Audacity?  Thank you for your time!  I'm with you on learning that song on the piano, it's beautiful.

Offline Hiro

  • Hero Bit
  • *********
  • Posts: 674
  • Kriel's Legionary
    • View Profile
    • The Rat Hole
Re: Jukebox mod
« Reply #58 on: February 03, 2008, 11:20:00 pm »
Well in audacity if you hit ctrl+P then you get the preferances menu, and you should be able to make the recording device your output. That is, it will record what you hear. Then you hit the red circle to record, and run the aquaria mod. Make sure that on the main menu you mute music and sound effects so that you wont get crossovers as the mod loads. Then when the voice clip finnishes, close aquaria and hit the stop (square) button on audacity. Now you should have the whole thing recorded, and you can select bits of the recording and hit delete to remove them (bits such as the silence as aquaria loaded, the menu song of aquaria etc.)

Or if you ask me nicely then I suppose I could send you mine, but its really not that hard to do and I did cut out bits of where Eric talks about Naija.
My site is: http://www.therathole.co.nr/
Where I put pictures and blog posts and stuff..

Offline Alphasoldier

  • Dream Bit
  • **********
  • Posts: 1810
  • Zero Suit!
    • View Profile
Re: Jukebox mod
« Reply #59 on: February 03, 2008, 11:59:09 pm »
Could I ask real nicely? :3

Is also easy for other members too if you host it somewhere. ^-^
God sees and knows everything, but at least he won't gossip about it.