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

Disabling Begining Sounds

broken avatar :(
Created 9 years ago
by MJPWGaming
0 Members and 1 Guest are viewing this topic.
1,639 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 26 March 2014
Last active: 3 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
Hi so in my map I had the power on and I was wondering how to disable the sounds the power makes when turning on as well as the sounds it makes when you start the game (not the round sounds).
Marked as best answer by MJPWGaming 9 years ago
broken avatar :(
×
broken avatar :(
Location: gbComing up in the world
Date Registered: 26 November 2013
Last active: 9 years ago
Posts
325
Respect
Forum Rank
Perk Hacker
Primary Group
Community Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
I own the hat!
×
DuaLVII's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
DuaLVII's Contact & Social Linksthomas.gascoigne.7DuaLVIIDuaLVIITheProlonger
Heya MJPW,

The solution to your problem is very simple.
First you need too navigate too your mapname_amb.csc which is a client script, This may either exist in your mods/modname/clientscripts folder itself or within raw/clientscript.

When you open your mapname_amb.csc you can either disable the function for playing both powerdown and poweron or disable only powerdown leaving the poweron sound.

To disable both you can just find;
Code Snippet
Plaintext
thread power_audio_2d();

And comment it out;
Code Snippet
Plaintext
//thread power_audio_2d();



To disable just powerdown sound, find;
Code Snippet
Plaintext
playsound( 0, "power_down_2d", (0,0,0) );

and comment it out;
Code Snippet
Plaintext
//playsound( 0, "power_down_2d", (0,0,0) );



Happy modding!
DuaLVII

 
Loading ...