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 do you give an xmodel a sound?

broken avatar :(
Created 10 years ago
by AwESOMECONNOR95
0 Members and 1 Guest are viewing this topic.
2,142 views
broken avatar :(
×
broken avatar :(
Location: caAt yo moms house
Date Registered: 1 October 2014
Last active: 7 years ago
Posts
62
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Deez nuts
Signature
Yo, I'm AwESOME95 I have a youtube channel and I'm new to mapping I also got a instagram steam, ps3 and more! Check the accounts out Above! and follow me
I have a black hawk helicopter on my map now I was wondering how do I give it the sound? I got the file and everything so yeah I hope someone can help me port it in?
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: 16 June 2013
Last active: 2 years ago
Posts
1,005
Respect
Forum Rank
Zombie Colossus
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
Signature
Hey if you had tons of fun on playing my maps please DONATE :)

play ESTATE now, and claim your mansion back from the undead!
×
jei9363's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
jei9363's Contact & Social Linksjei9363jei9363jayingardia
something like

Code Snippet
Plaintext
helicopter play_sound();

Code Snippet
Plaintext
play_sound()
{
waittime = 5; //length of sound
 
while(1)
{
self playsound ("sound_name");
wait waittime;
}
}
broken avatar :(
×
broken avatar :(
Location: caAt yo moms house
Date Registered: 1 October 2014
Last active: 7 years ago
Posts
62
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Deez nuts
So where do I put the sound file?

Double Post Merge: November 10, 2014, 06:06:00 pm
I mean like what goes where?
Last Edit: November 10, 2014, 06:06:00 pm by AwESOMECONNOR95
broken avatar :(
×
broken avatar :(
Location: se
Date Registered: 30 July 2013
Last active: 5 days ago
Posts
517
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
Ege115's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Ege115's Contact & Social LinksEge115
Or you can make it wait for the sound to finish automatically instead of struggling with wait lines to decide how long the sound lasts. ;)
Code Snippet
Plaintext
play_sound()
{
while(1)
{
self playsound ("sound_name", "sound_done");
self waittill("sound_done");
}
}
Edit: This will work for any sound, so it waits for any sound to finish automatically.
Last Edit: November 10, 2014, 06:21:30 pm by Ege115
broken avatar :(
×
broken avatar :(
Location: caAt yo moms house
Date Registered: 1 October 2014
Last active: 7 years ago
Posts
62
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Deez nuts
Where do you copy and paste this stuff too?
broken avatar :(
×
broken avatar :(
The Last of Us
Location: scotland
Date Registered: 28 September 2013
Last active: 2 days ago
Posts
1,463
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎
Signature
×
smasher248's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
smasher248's Contact & Social Linkssmasher248smasher248
how would you set it up so that its 3d, for the section of the heli path where the heli is not near the player?
broken avatar :(
×
broken avatar :(
Location: caAt yo moms house
Date Registered: 1 October 2014
Last active: 7 years ago
Posts
62
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Deez nuts
@JayIngardia I added you on skype My name is AwESOMECONNOR95.
broken avatar :(
×
broken avatar :(
Location: caAt yo moms house
Date Registered: 1 October 2014
Last active: 7 years ago
Posts
62
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Deez nuts
So what goes where?
Marked as best answer by AwESOMECONNOR95 9 years ago
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 10 days ago
Posts
3,997
Respect
1,024Add +1
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Or you can make it wait for the sound to finish automatically instead of struggling with wait lines to decide how long the sound lasts. ;)
Code Snippet
Plaintext
play_sound()
{
while(1)
{
self playsound ("sound_name", "sound_done");
self waittill("sound_done");
}
}
Edit: This will work for any sound, so it waits for any sound to finish automatically.

To explain more about this: You need to add sound in raw/sounds, then make soundalias for the sound, check in raw/soundalias for them. Then specify in what folder the sound is in soundalias and "sound_name" in this script is the first part of text in the soundalias. You can add this in mapname.gsc but need to specify in what its played in, which I dont know how. Remember to call soundalias in mod.csv sound,soundalias,,all_sp or mp
broken avatar :(
×
broken avatar :(
The Last of Us
Location: scotland
Date Registered: 28 September 2013
Last active: 2 days ago
Posts
1,463
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎
×
smasher248's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
smasher248's Contact & Social Linkssmasher248smasher248
thanks we got it now we new how to do all that, it was more linking to to a model so when the model is not near the layer the sound is not either, but thanks to BluntStuffy it works :)

 
Loading ...