Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / need help with music

Author
Message
dark heart
18
Years of Service
User Offline
Joined: 13th May 2006
Location: Australia
Posted: 19th Jul 2006 13:27
how do i make music play through out a game?
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 19th Jul 2006 13:32
You can make a sound file play through a whole level by placing a soundzone over your player start marker and give it the script repeatsound2.fpi.

dark heart
18
Years of Service
User Offline
Joined: 13th May 2006
Location: Australia
Posted: 19th Jul 2006 13:36
okey that cauld work but when i put in a sound zone, it soen't play the sound. cauld you plz tell me what i have done wrong?

i have put the location in the information thing, is there a spercific
file format i need to use?
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 19th Jul 2006 13:52
Make sure you set the soundzone's main script to repeatsound or repeatsound2.
.wav and .ogg formats work with FPSC.


Bloodeath 6 6 6
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: Sierra vista in indonesia
Posted: 19th Jul 2006 13:54
uhm why doesnt anyone use the file>buildgame>globalscript>music?

Whats a fps without the blood,guts,death,khaos,and disorder?
dark heart
18
Years of Service
User Offline
Joined: 13th May 2006
Location: Australia
Posted: 19th Jul 2006 13:58
because mines in french for some reason
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 19th Jul 2006 13:58
Because I can use sondzones and control the music in my game.

dark heart
18
Years of Service
User Offline
Joined: 13th May 2006
Location: Australia
Posted: 19th Jul 2006 14:02 Edited at: 19th Jul 2006 14:31
yes... but... it won't play what's wrong?

-edit- 'later, i'm going to bed, (australia) bye.
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 19th Jul 2006 14:10
I have no idea.It works fine for me.I put the soundzone down and when the player walks through it or what I do is place the soundzone over the player start marker.
The music plays from the time the soundzone is activated until the end of the level.
Try this:
1. Place the soundzone.
2. Right click on the soundzone and then right click on the Main script and pick repeatsound.fpi
3. Right click in the sound spot and change it to whatever music you want to play.
Then accept the changes.
If that doesn't work I'm out of ideas.
You can pick your music in the global script but I think once the song is over it won't play again.

dark heart
18
Years of Service
User Offline
Joined: 13th May 2006
Location: Australia
Posted: 20th Jul 2006 09:51 Edited at: 20th Jul 2006 11:18
hey i have found out something, when i tested the scripting, the sound came in about 1 minute later, wonder why... does that help?

-or maby it would be best if you gave me a screen shot of the right settings.

-edit- okey now i get it, how long is the file alowed to be...
dark heart
18
Years of Service
User Offline
Joined: 13th May 2006
Location: Australia
Posted: 20th Jul 2006 12:47
no... not the file lenth... okey heres the song i'm trying to use, can someone plz try it on your fpsc, and if it works give screen shots of options? and if there's something wrong with the file plz tell me...
i really need this, what is doom without the music?

(still think it's a good game)

Attachments

Login to view attachments
dark heart
18
Years of Service
User Offline
Joined: 13th May 2006
Location: Australia
Posted: 22nd Jul 2006 01:44 Edited at: 22nd Jul 2006 01:44
how is it going? is it working on your computer? is it in the right format? what's happening?
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 22nd Jul 2006 02:03 Edited at: 22nd Jul 2006 02:17
rar format is no good for me
zip it, and I'll check it out

meanwhile, you could write your own script using something like this for an invulnerable dynamic entity

:state=0:music=audiobank\user\happybirthday.ogg

you see, repeatsound.fpi uses the loopsound=$0 action in its script

I prefer writing my own scripts using the music action

like this radio.fpi script I wrote
it lets the user select their background music by holding the enter key down to scroll
when they here the song they want, just release the enter key
check it out



as you can see, I used a user subfolder that I created in the audiobank
remember to always keep your music in the audiobank's path, because it won't work somewhere else


Don't forget to visit Conjured Entertainment
dark heart
18
Years of Service
User Offline
Joined: 13th May 2006
Location: Australia
Posted: 22nd Jul 2006 02:30
yes! thankyou! i'll put it into zip right away!

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-25 06:43:29
Your offset time is: 2024-11-25 06:43:29