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 / Using custom sounds in the .FPI scripts - Will the sound remain after game build?

Author
Message
TobiasRipper
15
Years of Service
User Offline
Joined: 17th Mar 2011
Location:
Posted: 18th Mar 2011 08:23
(First of all I want to thank you all for answering all my previous questions so clearly... it is rare to find such a non troll infested forum these days) THANK YOU!!!

well now as for the question... pretty much technical.

I have made a teleporter out of my trigger zone so for the main script I selected the transportifused.fpi script to do that. One problem remains. I want to change the sound sample that is being played when the Im being the action occurs (I'm being teleported). The path to the sound sample is NOT written in the Trigger zone entity but it is written in the transportifused.fpi script file. Well I guess all it takes is to make a copy of that scrit for backup and edit the sound path to a desired sample BUT I am cautious about what will happen when I "build"/compile the full game.

So you all know that if you use custom textures, sounds etc inside** of the map editor then when the final game is "build" or compiled then the FPSC takes all the external files that you mentioned in the map editor and puts them into one single specified folder.

I'm wondering - does that apply to the custom sound files that I mentioned in the .fpi scripts? Will those files be copied too or do I have to copy them manually?

Thank you again for helping

No I'm not your sandwich
Stalker93
17
Years of Service
User Offline
Joined: 1st Sep 2008
Location: Italy
Posted: 22nd Mar 2011 16:29
When you compile a game, FPSC will copy all the needed data into the compiled game folder. So, even if you're using custom sounds, textures, models etc, FPSC will copy them. For me it worked everytime I've built a game. Sometimes could happen that some files are missing (has never happened to me, but to someone has), so, all you need to do is just manually copy the missing files to their specific folders.

Hope this help

Login to post a reply

Server time is: 2026-06-27 17:11:22
Your offset time is: 2026-06-27 17:11:22