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

Re: Custom Zombie Boss

broken avatar :(
Created 10 years ago
by MJPWGaming
0 Members and 1 Guest are viewing this topic.
2,713 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 26 March 2014
Last active: 5 years ago
Posts
200
Respect
Forum Rank
Mr. Elemental
Primary Group
Donator ♥
My Groups
More
×
MJPWGaming's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
MJPWGaming's Contact & Social Links
Hello so I was going back to a post I did way back in June to add in a boss and I was wondering if there was a way to make this boss have a sound coming from him in a loop till he dies. Like him breathing hard while he chases you.

Also a side note he needs to drop a max ammo.

Heres the post:

http://ugx-mods.com/forum/index.php/topic,6935.0.html
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 2 years ago
Posts
3,997
Respect
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.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Thread function on him to either play loop sound or do while loop with sound, something similar to this:

Code Snippet
Plaintext
boss_ent thread breathing(); // This in boss code to thread it

Code Snippet
Plaintext
breathing()
{
  self endon("death"); // This is to end the loop, when boss dies
  while(isDefined(self)) // Another check for boss being alive, just in case
  {
    self playSound("your_sound_alias_entry"); // Remember to modify this to have your sound
    wait given_time; // Change this to wanted time. Make sure its longer than sound, otherwise it will overlay, when played again
  }
}

Should work, not tested
Marked as best answer by MJPWGaming 10 years ago
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
could also use this :

Code Snippet
Plaintext
breathing()
{
    self endon( "death" );
    self endon( "delete" );
    while( isDefined( self ) )
    {
        self playsound( "SOUNDNAME", "sound_done", true );
        self waittill( "sound_done" );
        wait( randomfloatrange( 7, 18 ) );
     }
}
lol could turn out like darth vader
Last Edit: December 22, 2015, 09:12:53 am by Harry Bo21
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 26 March 2014
Last active: 5 years ago
Posts
200
Respect
Forum Rank
Mr. Elemental
Primary Group
Donator ♥
My Groups
More
×
MJPWGaming's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
MJPWGaming's Contact & Social Links
could also use this :

Code Snippet
Plaintext
breathing()
{
    self endon( "death" );
    self endon( "delete" );
    while( isDefined( self ) )
    {
        self playsound( "SOUNDNAME", "sound_done", true );
        self waittill( "sound_done" );
        wait( randomfloatrange( 7, 18 ) );
     }
}
lol could turn out like darth vader
would this be as a 3D sound? I'm looking for it to be within range of the boss himself. It would be really weird if you're just hearing breathing in your ear every round lol
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 2 years ago
Posts
3,997
Respect
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.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
would this be as a 3D sound? I'm looking for it to be within range of the boss himself. It would be really weird if you're just hearing breathing in your ear every round lol

3D and 2D is set in soundalias. With what we have its going to play on boss itself, so making it 3D in soundalias will make it play properly on boss
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 26 March 2014
Last active: 5 years ago
Posts
200
Respect
Forum Rank
Mr. Elemental
Primary Group
Donator ♥
My Groups
More
×
MJPWGaming's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
MJPWGaming's Contact & Social Links
3D and 2D is set in soundalias. With what we have its going to play on boss itself, so making it 3D in soundalias will make it play properly on boss

Oh sick dude! Thank you guys I'll be able to test in a bit.

 
Loading ...