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

Multiple sounds for firing?

broken avatar :(
Created 10 years ago
by Deleted User
0 Members and 1 Guest are viewing this topic.
3,078 views
broken avatar :(
  • Exofile
  • Deleted Member
×
broken avatar :(
Exofile
This user is deleted :(
So, after a stressfull evening, finally figured out how I'd add sounds to my gun. Works great from what I can tell. But there is one small thing I'm wondering how I'd go about doing.

My gun uses currently shot_00 for firing, but there are a total of 5 sounds, shot_00 - shot_04 that are for the PM63. How do I use all of them? I see that the soundalias only has one place for filename, and in the weaponfile there is one spot for firingsound. So how can I make it use all? Furthermore, are they supposed to be randomized, or played in a sequence? Any help is appreciated.

Edit: I take it they are not supposed to be played over eachother, as they sound like the same sound, only in different pitches.
Last Edit: December 17, 2015, 07:56:46 pm by Exofile
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 3 years ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
Signature
Do not take life too seriously. You will never get out of it alive.
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Method 1:
Copy your alias 5 times then in the sequence column set the range from 1-5 (since 0-4 = 5, zero-based numbering).
Obviously change the file path.

Method 2:
Only one alias and set the sound path like so Weapon/Tar21/fire_##
Sounds are located in Weapon/Tar21/fire/fire_00.wav, 01, 02 etc.
Last Edit: December 17, 2015, 08:08:02 pm by DidUknowiPwn
broken avatar :(
  • Exofile
  • Deleted Member
×
broken avatar :(
Exofile
This user is deleted :(
Copy your alias 5 times then in the sequence column set the range from 1-5 (since 0-4 = 5, zero-based numbering).
Obviously change the file path.

I'll try this out tomorrow as soon as I can. Just one thing though, do I set the sequence column for each alias? so the first one 0,second 1 etc? Furthermore, are the aliases to be named the same? :)
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 3 years ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
I'll try this out tomorrow as soon as I can. Just one thing though, do I set the sequence column for each alias? so the first one 0,second 1 etc? Furthermore, are the aliases to be named the same? :)
Yes you increment the sequence each time and the aliases are the same name.
broken avatar :(
  • Exofile
  • Deleted Member
×
broken avatar :(
Exofile
This user is deleted :(
Yes you increment the sequence each time and the aliases are the same name.

Did method 1, although 2 sounded easier.  :please:
Got no error, so seems to work great, only that I'm not exactly sure if the sound is playing or not, I don't have that great of a listening-skill.  :please:

+1 and best answer, appreciate the help.  ;)
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






Should look something like that
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 3 years ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
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
×
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
Same as method 2.
correct, i was just showing via pics

i remember getting confused on that myself

 
Loading ...