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

disable voice of player

broken avatar :(
Created 10 years ago
by nikfar1
0 Members and 1 Guest are viewing this topic.
6,131 views
broken avatar :(
×
broken avatar :(
Location: 00persia
Date Registered: 20 December 2012
Last active: 4 years ago
Posts
66
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
nikfar1's Groups
nikfar1's Contact & Social Links
hi all
how do I can disable voice of player in game.(disable calling dlc3_vox.csv).
This topic contains a post which is marked as the Best Answer. Click here to view it.
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
if you just "remove" the sounds, then youll get tons of freezes in game wheneever it "tries" to play certain ones ( for example when they quote after a headshot you will 100% get a momentary freeze )

You would need to find the scripts that are calling the voices and comment out those calls induvidually

I think these calls are spread across each script tho, so quotes for hurting zombies are in zombiemode_spawner, in zombiemode_perks i think theres one for "no money" dialog, zombiemode.gsc has the intro quote, etc etc
Last Edit: January 04, 2016, 09:27:45 pm by Harry Bo21
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
If you want voices to stop, the easiest way I can think of is putting this somewhere when the level starts:

Code Snippet
Plaintext
level.player_is_speaking = 1;
broken avatar :(
×
broken avatar :(
Location: 00persia
Date Registered: 20 December 2012
Last active: 4 years ago
Posts
66
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
nikfar1's Groups
nikfar1's Contact & Social Links
thanks harry and alaurenc9 for replying
yes I tried to comment out  lines(#). but I freezed in game.
I  want to disable voice of player about weapons(stop speaking player when get weapon or shooting..)
If you want voices to stop, the easiest way I can think of is putting this somewhere when the level starts:

Code Snippet
Plaintext
level.player_is_speaking = 1;

I will try it

Double Post Merge: January 04, 2016, 09:59:38 pm
If you want voices to stop, the easiest way I can think of is putting this somewhere when the level starts:

Code Snippet
Plaintext
level.player_is_speaking = 1;

I put it _zombiemode.gsc in this part of script

Code Snippet
Plaintext
round_start()
{
level.zombie_health = level.zombie_vars["zombie_health_start"];
level.round_number = 1;
level.first_round = true;

// so players get init'ed with grenades
players = get_players();
for (i = 0; i < players.size; i++)
{
players[i] giveweapon( "stielhandgranate" );
players[i] setweaponammoclip( "stielhandgranate", 0);
}

/#
//level thread bunker_ui();
#/

level.chalk_hud1 = create_chalk_hud();
level.chalk_hud2 = create_chalk_hud( 64 );

// level waittill( "introscreen_done" );

level thread round_think();
        level.player_is_speaking = 1;

nothing happen
Last Edit: January 04, 2016, 09:59:38 pm by nikfar1
Marked as best answer by nikfar1 10 years ago
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
×
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
thanks harry and alaurenc9 for replying
yes I tried to comment out  lines(#). but I freezed in game.
I  want to disable voice of player about weapons(stop speaking player when get weapon or shooting..)
I will try it

Double Post Merge: January 04, 2016, 09:59:38 pm
I put it _zombiemode.gsc in this part of script

Code Snippet
Plaintext
round_start()
{
level.zombie_health = level.zombie_vars["zombie_health_start"];
level.round_number = 1;
level.first_round = true;

// so players get init'ed with grenades
players = get_players();
for (i = 0; i < players.size; i++)
{
players[i] giveweapon( "stielhandgranate" );
players[i] setweaponammoclip( "stielhandgranate", 0);
}

/#
//level thread bunker_ui();
#/

level.chalk_hud1 = create_chalk_hud();
level.chalk_hud2 = create_chalk_hud( 64 );

// level waittill( "introscreen_done" );

level thread round_think();
        level.player_is_speaking = 1;

nothing happen

Why don't you put it at the top of main() in _zombiemode.gsc? Because if a player speaks early enough before that is called, then it will not work because the player speaking will end up reset back to 0 at the end of the vo. Maybe at the top of main() add

Code Snippet
Plaintext
level thread stop_player_vox();

then at the bottom of _zombiemode.gsc put this

Code Snippet
Plaintext
stop_player_vox()
{
while( true )
{
level.player_is_speaking = 1;
wait 0.01;
}
}
broken avatar :(
×
broken avatar :(
Location: usUnited States
Date Registered: 7 March 2014
Last active: 3 months ago
Posts
1,190
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Site Moderator
My Groups
More
My Contact & Social Links
More
×
MZslayer11's Groups
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
MZslayer11's Contact & Social LinksMZslayer11Service_Code_30#2655
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
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
×
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
Except in co-op when you revive someone  ::)

Oh yeah. In _laststand.gsc there are functions for vox that is not controlled by this variable. You would need to remove that script manually.
broken avatar :(
×
broken avatar :(
Location: 00persia
Date Registered: 20 December 2012
Last active: 4 years ago
Posts
66
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
nikfar1's Groups
nikfar1's Contact & Social Links
thanks alaurenc9 and MZslayer11 for your help it worked
Last Edit: January 05, 2016, 07:06:21 pm by nikfar1

 
Loading ...