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

Turn off character quotes at start?

broken avatar :(
Created 10 years ago
by BuIlDaLiBlE
0 Members and 1 Guest are viewing this topic.
3,166 views
broken avatar :(
×
broken avatar :(
Location: ruMoscow
Date Registered: 30 July 2013
Last active: 2 years ago
Posts
152
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
BuIlDaLiBlE's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
What function plays character quotes?
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: it
Date Registered: 5 September 2014
Last active: 10 months ago
Posts
282
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
Personal Quote
I belive purple is getting me...
×
IperBreach86's Groups
IperBreach86's Contact & Social LinksIperBreach86
What function plays character quotes?
Thres a variable that handles player speaking,something along the lines of "level.player.is_speaking = 1"
If its 1 characters wont speak until it goes to 0.
You could do a loop, but sicne you only want to mute the start quotes i suppose youll  need to  do something else.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 30 December 2012
Last active: 2 years ago
Posts
577
Respect
Forum Rank
Zombie Enslaver
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Signature
My preferred name is "xSanchez78".
Check me out here: www.steamcommunity.com/id/xSanchez78
×
alaurenc9'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.
alaurenc9's Contact & Social LinksxSanchez78xSanchez78xSanchez78xSanchez78xSanchez78xSanchez78
WaW VO is scattered everywhere through the scripts. Took me an hour to find it all and change it to all use one thing. I'm sure you wouldn't want to do that, so just do this:
Thres a variable that handles player speaking,something along the lines of "level.player.is_speaking = 1"
If its 1 characters wont speak until it goes to 0.
You could do a loop, but sicne you only want to mute the start quotes i suppose youll  need to  do something else.
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
Or just open _zombiemode.gsc, search for function called play_intro_VO() and comment out this line:

Code Snippet
Plaintext
players[i] 	maps\_zombiemode_spawner::do_player_playdialog(player_index, sound_to_play, 0.05);
Marked as best answer by BuIlDaLiBlE 10 years ago
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 14 September 2013
Last active: 6 years ago
Posts
1,895
Respect
Forum Rank
Zombie Destroyer
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
BE ORIGINAL
Signature
×
MakeCents's Groups
Mapper Has released one or more maps to the UGX-Mods community.
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Or just open _zombiemode.gsc, search for function called play_intro_VO() and comment out this line:

Code Snippet
Plaintext
players[i] 	maps\_zombiemode_spawner::do_player_playdialog(player_index, sound_to_play, 0.05);

In my gscs, the call to play_intro_VO() is commented out. dlc3_code.gsc handles the starting sounds in mapStartAudio() function. Commenting this out should remove them, in a dlc3_code.gsc in your mods/mapname/maps folder.

Code Snippet
Plaintext
players[randomint(players.size)] thread level_start_vox(); //Plays a "Power's Out" Message from a random player at start

Modifying the level_start_vox() function like this, is how I fixed the randomized players playing wrong vox to start the game the first time.
Code Snippet
Plaintext
level_start_vox()
{
wait( 6 );//moved here
index = maps\_zombiemode_weapons::get_player_index( self );
plr = "plr_" + index + "_";
// wait( 6 );
self thread create_and_play_dialog( plr, "vox_level_start", 0.25 );
}


You could also, in zombiemode_spawner, in the do_player_playdialog function, check the vars passed, player_index or sound_to_play, and if one of those is something you don't want to play, simply return; For example, adding this will stop the level_start vox's from playing:
Code Snippet
Plaintext
do_player_playdialog(player_index, sound_to_play, waittime, response)
{
if(IsSubStr( sound_to_play,"level_start" )) return;

Last Edit: July 13, 2016, 12:04:09 pm by MakeCents

 
Loading ...