UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

how to do ambient music/sound?

broken avatar :(
Created 11 years ago
by Erthrock
0 Members and 1 Guest are viewing this topic.
5,298 views
broken avatar :(
×
broken avatar :(
Location: usGarrett, IN
Date Registered: 4 May 2014
Last active: 7 years ago
Posts
164
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Signature
The world will always underestimate me...until i show them what my creativity is capable of.
×
Erthrock's Groups
Ok so i want to figure out when a player enters a certain room it plays some music/sound for example: I enter an outdoor area and i have a looping birds chirping or something like that  :nyan: :nyan: :nyan:
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 March 2014
Last active: 5 years ago
Posts
264
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
Signature
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
×
buttkicker845's Groups
buttkicker845's Contact & Social Links
you could do it a few ways this is one.
1st option:
http://wiki.modsrepository.com/index.php?title=Call_of_Duty_5:_SP_-_Enviromental_Audio_System
ive never done it ive only read this tutorial

options via script: you could do it via script using the call ambientPlay which will play an ambient sound. you could do this a couple of different ways im sure

1st script way: you could set it to test if a player is in a certain zone that the sound is played a the location of a script_struct

2nd script way: you also could probably just have a bunch of structs in your map in different locations and have each one continuously play the sound for that area.

those are some options but i honestly couldnt tell you which one would be the best option to use
broken avatar :(
×
broken avatar :(
Face to Face
Location: chSomwhere
Date Registered: 6 October 2013
Last active: 3 years ago
Posts
947
Respect
Forum Rank
The Decider
Primary Group
Member
My Contact & Social Links
More
Signature
Maya <3

Let's Play some osu!
×
MrDunlop4's Groups
MrDunlop4's Contact & Social LinksMrDunlop4Nelielexy0Nelielexy0Nelielexy0Nelielexy0CSNelieley
broken avatar :(
×
broken avatar :(
Location: usGarrett, IN
Date Registered: 4 May 2014
Last active: 7 years ago
Posts
164
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
Erthrock's Groups
There is a Tutorial made by Marsvinking

http://ugx-mods.com/forum/index.php?topic=6803.msg74171#new
checked it out but still didnt work his tutorial is buggy and so far it looks like none got it to work but him.
broken avatar :(
×
broken avatar :(
Face to Face
Location: chSomwhere
Date Registered: 6 October 2013
Last active: 3 years ago
Posts
947
Respect
Forum Rank
The Decider
Primary Group
Member
My Contact & Social Links
More
×
MrDunlop4's Groups
MrDunlop4's Contact & Social LinksMrDunlop4Nelielexy0Nelielexy0Nelielexy0Nelielexy0CSNelieley
checked it out but still didnt work his tutorial is buggy and so far it looks like none got it to work but him.
Sry man never tried this Tutorial :/
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 6 years ago
Posts
6,875
Respect
Forum Rank
Immortal
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
Sry man never tried this Tutorial :/
Then why comment  ???

Theres a problem with the sound alias in that tutorial, the argument for vol_min is completely wrong. Change it to 0.9 or 1, should work then. Its got some very strange characters in there for some reason? Maybe a copy paste mistake
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Then why comment  ???

Theres a problem with the sound alias in that tutorial, the argument for vol_min is completely wrong. Change it to 0.9 or 1, should work then. Its got some very strange characters in there for some reason? Maybe a copy paste mistake

He was obviously going to "try later" if ya know what I mean.  :please:
broken avatar :(
×
broken avatar :(
Face to Face
Location: chSomwhere
Date Registered: 6 October 2013
Last active: 3 years ago
Posts
947
Respect
Forum Rank
The Decider
Primary Group
Member
My Contact & Social Links
More
×
MrDunlop4's Groups
MrDunlop4's Contact & Social LinksMrDunlop4Nelielexy0Nelielexy0Nelielexy0Nelielexy0CSNelieley
He was obviously going to "try later" if ya know what I mean.  :please:
So .... stop that.
broken avatar :(
×
broken avatar :(
Location: usGarrett, IN
Date Registered: 4 May 2014
Last active: 7 years ago
Posts
164
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
Erthrock's Groups
Marked as best answer by Erthrock 11 years ago
broken avatar :(
×
broken avatar :(
Location: no
Date Registered: 1 January 2014
Last active: 4 years ago
Posts
135
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Signature
Map: No Way Out
Weapon Porter
Custom Music
Mapper
https://i.gyazo.com/4dea470ff0a559d7c79a0a350788da30.png
×
Marsvinking's Groups
Marsvinking's Contact & Social Linksmarsvinkingmarsvinkingmarsvinking
checked it out but still didnt work his tutorial is buggy and so far it looks like none got it to work but him.

Just helped him yesterday with it and he got it working when i gave him my sounds cuz he converted them the wrong way GG.                                :) :) :)          More TUTS out SOON :P
Last Edit: May 27, 2015, 07:24:43 am by Marsvinking
broken avatar :(
×
broken avatar :(
Location: usGarrett, IN
Date Registered: 4 May 2014
Last active: 7 years ago
Posts
164
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
Erthrock's Groups
Just helped him yesterday with it and he got it working when i gave him my sounds cuz he converted them the wrong way GG.                                :) :) :)          More TUTS out SOON :P
ya but this tutorial also helped as in his sound aliases had a better volume set for the ambient.

But Marsvinking helped me all the way

 
Loading ...