Author Topic: Soundbox question  (Read 2465 times)

0 Members and 1 Guest are viewing this topic.

theparanoidlsdfreak

  • Guest
Soundbox question
« on: March 17, 2003, 09:51:57 PM »
How can I play music in the first room?  I have a working sound file 003 (I tested it with death sound), but I don't know what to type when it says

(send gTheMusic:
         prevSignal()
         stop()
         number()
         loop()
         play()
      )



Offline Brian Provinciano

Re:Soundbox question
« Reply #1 on: March 17, 2003, 09:56:17 PM »
you see in the script there is:
        /****************************************
         * Set up the room's music to play here *
         ****************************************/
      (send gTheMusic:
         prevSignal(0)
         stop()
         number(scriptNumber)
         loop(-1)
         play()
      )

the loop(-1) means it loops (plays) forever. number(scriptNumber) means that the sound according to the current script is executed. For example, if it's room.002, sound.002 is played.

You could do something like this:
      (send gTheMusic:
         prevSignal(0)
         stop()
         number(3)
         loop(-1)
         play()
      )

To play your sound.003.

Offline FastaKilla

Re:Soundbox question
« Reply #2 on: March 18, 2003, 02:03:29 PM »
Thanks.  I will write maybe 1 or 2 songs, and just use some midis for the rest.  I am theparanoidlsdfreak, but I registered as Fasta Killa because that's my e-mail name.  So I will use this name in the game and on this board from now on.
I don't have a homepage, but I have this
http://www.gamefaqs.com/features/recognition/19253.html

Offline Cloudee1

Re:Soundbox question
« Reply #3 on: March 27, 2003, 04:19:27 AM »
Alright it is definately official I am no programmer,

alright i copied and pasted the script plugged in my sound number... I compile looks likes it's going to work and then there's no sound, What's a title screen without music?

I used soundbox and made the file play with any and all options,

I don't even know where to begin, someone help?
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline Brian Provinciano

Re:Soundbox question
« Reply #4 on: March 27, 2003, 05:48:48 AM »
If you hear no sound, your sound driver is incorrect for your machine. You can use sound drivers from existing SCI0 games, as well as the two included with the template game. Just modify resource.cfg in notepad.

Offline Cloudee1

Re:Soundbox question
« Reply #5 on: March 28, 2003, 04:57:05 AM »
hey bri

If I haven't expressed my newness at computer programming I am about to

there is the std driver (standard)
ADL                which one of these is the other sound
GM                                         driver...


                      Ah never mind neither worked when I
                                 changed it in notepad. do I have to
                                            do more than just save

But really it doesn't matter FOR NOW I am having a hard enough time just scripting look get and use strings
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline Brian Provinciano

Re:Soundbox question
« Reply #6 on: March 28, 2003, 06:11:45 AM »
WindowsNT/XP and even sometimes 9x have problems with sound in DOS games. It's most likely a problem with your Sound Card/Windows compatibility.


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.034 seconds with 16 queries.