Home   Help Search Login Register  

Author Topic: Music coming from one source?  (Read 1036 times)

0 Members and 1 Guest are viewing this topic.

JerryK_387

  • Guest
Music coming from one source?
« on: 29 Oct 2002, 01:53:03 »
Hey I was wondering if it was possible to have a song coming from one central point in OFP? This way I could have the music coming from a radio while it's sitting on a table, or perhaps from a car... this would be awesome for cutscenes. Any ideas? Thanks!  :)

Earl

  • Guest
Re:Music coming from one source?
« Reply #1 on: 29 Oct 2002, 02:04:01 »
Sure JerryK_387, easy as piece of cake.
First u make ur ogg. file 16bit, mono, Frequency 112kbps or lower, constant bitrate. Now the thing is we gonna use this music file as a speech if u want it to come from one source.
Now in the editor u put radio and in its init field u type this exec "music.sqs" and now will write a music.sqs file.
So lets say that the length of ur music file is 1:20, so u'll write
in the notepad like this

#loop
_this say "name of ur song"
~120 - //the actual lenght of the song, we use it if u want the song to loop over
goto "loop"

And thats all, but i assume u already know how to make ur own music and sounds and how to create description.ext, if not then read a tutorial, cheers ;)
« Last Edit: 29 Oct 2002, 02:06:17 by Earl »

JerryK_387

  • Guest
Re:Music coming from one source?
« Reply #2 on: 29 Oct 2002, 04:59:21 »
what if i don't want it to loop? do i still have to script or can I just use    " this playmusic "song.ogg"???

Earl

  • Guest
Re:Music coming from one source?
« Reply #3 on: 29 Oct 2002, 15:06:21 »
Sure, then all u have to do, is type in the init field of the radio this say "name of ur song", but without ogg. extension
And u don't use playmusic cos it won't work if u want it to come out from one source  :beat: :joystick: