How to silence the noisy infestation

FocusedWolfFocusedWolf Join Date: 2005-01-09 Member: 34258Members
edited February 2011 in NS2 General Discussion
Ok this is preliminary/<b>experimental</b> and if it worked or didn't work then please provide feedback for others :P

To silence the noisy texture you need a decent text editor so <a href="http://notepad-plus-plus.org/" target="_blank">Notepad++</a> or whatever you prefer.

1. Find the following file in your NS2 directory: "GeneralEffects.lua" (path ..."\Steam\steamapps\common\natural selection 2\ns2\lua\GeneralEffects.lua").

2. Comment out (put "//" in front of) line #33 so it look like this:

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->//{sound = "sound/ns2.fev/alien/infestation/build", classname = "Infestation", done = true}, //think this stops the major crazy sounds<!--c2--></div><!--ec2-->

Besides the repeating sounds, if you find the general sound of infestation a tad too distracting then continue with the following steps to COMPLETELY silence DI!!!1 :D

3. Comment out line #'s 93 - 98 so they look like this: (some or all of these have a idle sound that sounds like constant DI growth. Feel free to experiment with which you disable):

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->//{sound = "sound/ns2.fev/alien/structures/hive_idle", classname = "Hive", done = true},
//{sound = "sound/ns2.fev/alien/structures/hydra/idle", classname = "Hydra", done = true},
//{sound = "sound/ns2.fev/alien/structures/crag/idle", classname = "Crag", done = true},
//{sound = "sound/ns2.fev/alien/structures/shade/idle", classname = "Shade", done = true},
//{sound = "sound/ns2.fev/alien/structures/shift/idle", classname = "Shift", done = true},
//{sound = "sound/ns2.fev/alien/structures/whip/idle", classname = "Whip", done = true},<!--c2--></div><!--ec2-->

4. Comment out line #261 so it looks like this:

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->//{stop_sound = "sound/ns2.fev/alien/infestation/build", classname = "Infestation", done = true},<!--c2--></div><!--ec2-->

5. Block comment out lines #355 through #361 so they look like this:

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->/*
infestation_grown =
{
    infestationEffects =
    {
        {stop_sound = "sound/ns2.fev/alien/infestation/build", classname = "Infestation", done = true},
    },
},
*/<!--c2--></div><!--ec2-->

Comments

  • SquidgetSquidget Join Date: 2003-06-13 Member: 17334Members
    edited February 2011
    OH THANK YOU. The sound is driving me batty, especially since it can drown out game alerts.

    Edit: Sorry, forgot to mention. Yes, the line #33 change worked like a charm.
  • HarimauHarimau Join Date: 2007-12-24 Member: 63250Members
    edited February 2011
    Btw, the game comes with a version of Decoda (in your NS2 folder, or opened through launch pad), which is great for browsing and editing the code.

    When in Decoda, Go to Menu Bar>Project>Open Project>ns2.deproj
Sign In or Register to comment.