AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Solved] removing sound of vehicles (https://forums.alliedmods.net/showthread.php?t=134995)

platzpatrone 08-11-2010 06:37

[Solved] removing sound of vehicles
 
Hello guys,

im searching for a method to remove or change the volume of
vehicle sounds. i try to explain it better:

on some maps are some driving things, like a car, jeep, truck,
and so on. but with an anoying driving sound.

is there any way to remove or lowering the volume of those
anoying sound ?

stopsound works only if u repeat the command, but then u
have the problem that u cant use the voice communication.

is there a better method to do this ?

thanks for advance

ConnorMcLeod 08-11-2010 06:45

Re: removing sound of vehicles
 
Already asked few times, please use the search button.

platzpatrone 08-11-2010 07:30

Re: removing sound of vehicles
 
hmm, i searched but doesnt found the right things for this.

i searched after ur post again and tried this:

public plugin_precache( ) {
new iEntity = find_ent_by_class( -1, "func_vehicle" );
DispatchKeyValue( iEntity, "volume", "0" );
DispatchSpawn( iEntity );
}

but still dont work, the sound is playing with all the vehicles (8 pieces)

i tried then this:

RegisterHam( Ham_OnControls, "func_vehicle", "FuncButtonVehicle", 1 )

public FuncButtonVehicle( iVehicle, iPlayerId )
{
DispatchKeyValue( iVehicle, "volume", "0" );
DispatchSpawn( iVehicle );
}

but still dont work, the sound is playing with all the vehicles (8 pieces)
and the vehicles are very slow. :shock:

ConnorMcLeod 08-11-2010 09:16

Re: removing sound of vehicles
 
2sec search : http://forums.alliedmods.net/search....archid=6116675

Zpoke 08-11-2010 12:24

Re: removing sound of vehicles
 
GJ connor

platzpatrone 08-11-2010 13:29

Re: removing sound of vehicles
 
Quote:

Originally Posted by ConnorMcLeod (Post 1268063)

i still get this message: Sorry - no matches. Please try some different terms. :oops:

EDIT:
nvm. i found it in the france section, i cant speack or understand france, but it works as needed.

Merci Conner, send u some baguette :P

Hunter-Digital 08-11-2010 19:31

Re: removing sound of vehicles
 
Quote:

Originally Posted by ConnorMcLeod (Post 1268063)

You shouldn't post links to search sessions, they expire pretty quick and everybody else would see "no matches", you should've told him what your query was or the result(s).

Quote:

Originally Posted by platzpatrone (Post 1268224)
i still get this message: Sorry - no matches. Please try some different terms. :oops:

What I said above.


All times are GMT -4. The time now is 21:59.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.