Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lampoil & narration & custom live main menu background
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#11
RE: Lampoil & narration & custom live main menu background

PlayMusic()?

Or perhaps just PlayGuiSound() if you want to play a short effect but without a 3D source in the level.

09-25-2015, 09:53 PM
Find
Kyzer Offline
Junior Member

Posts: 17
Threads: 6
Joined: Sep 2015
Reputation: 0
#12
RE: Lampoil & narration & custom live main menu background

(09-25-2015, 09:53 PM)Mugbill Wrote: PlayMusic()?

Or perhaps just PlayGuiSound() if you want to play a short effect but without a 3D source in the level.

what is the code for that?
is it just
PlayMusic("<>", 1.0f); ?
09-25-2015, 10:41 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#13
RE: Lampoil & narration & custom live main menu background

What do you mean "Not sound sources"?
Background Ambience IS a sound source.

There is a specific sound folder called "Ambience" with a couple of sounds to choose from.

If you place one in your level, it will continue to player everywhere, unless it's a local ambience.

Trying is the first step to success.
09-25-2015, 10:51 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#14
RE: Lampoil & narration & custom live main menu background

True. If it's constant ambience you want, most likely you want to play a music track using PlayMusic("file.ogg", 1.0f); (yes, like you put it, pretty much). Some of the levels use these kinda tracks, named things like 07_amb.ogg or such. Check the folder.

By the way, you can check up all the scripts on this page: https://wiki.frictionalgames.com/doku.ph..._functions
Just use the find option to search up whatever you're after.

09-26-2015, 02:33 AM
Find




Users browsing this thread: 1 Guest(s)