IC2 Nuclear Control 2 howler

How to add new sounds to the IC2 Nuclear Control 2 howler alarm.

1. Add new sounds to jar assets. (Soundfiles must be .ogg format. and start with "alarm-". For this Example we add a file named "alarm-purge_siren.ogg"
 * Open IC2NuclearControl-1.7.10-2.4.7.jar with 7zip. (or other)
 * Navigate to IC2NuclearControl-1.7.10-2.4.7.jar\assets\nuclearcontrol\sounds\
 * drag and drop new files into zip. pick add to archive, if asked. Otherways you can extract the whole .jar, add the files, and repack it to .jar, but thats unnessesary complex.

2. edit the sounds.json (edit it inside the .jar file does not work sometimes) After edit the sounds.json file should look like this: { "alarm-default": { "category": "master", "sounds": [ {       "name": "alarm-default", "stream": true }   ]  },  "alarm-sci-fi": { "category": "master", "sounds": [ {       "name": "alarm-sci-fi", "stream": true }   ]  },  "alarm-purge_siren": { "category": "master", "sounds": [ {       "name": "alarm-purge_siren", "stream": true }   ]  } } now you can close the IC2NuclearControl-1.7.10-2.4.7.jar file. (It should be larger then before, since you added a sound file and some text)
 * we continue with the jar, we added our sound-files on.
 * Navigate to IC2NuclearControl-1.7.10-2.4.7.jar\assets\nuclearcontrol\
 * extract the file "sounds.json"
 * There is a structure in it, containing the 2 default sounds. just copy/paste the second one again. Make sure do dont miss a comma or a bracket.
 * copy the name of our new sound file in 2 locations
 * after you edit the sounds.json, drag and drop it in the .jar file again.

3. edit the IC2NuclearControl.cfg file notice that you leave away the leading "alarm-" in that line. S:allowedAlarms=default,sci-fi,purge_siren
 * navigate to your config folder f.e. MultiMC\instances\GTNewHorizonsClient-1.7.10-2.1.2.0\.minecraft\config\
 * edit IC2NuclearControl.cfg
 * add your added sounds to line: "S:allowedAlarms="
 * the line should look like this:

Some reminders:
 * sounds-files must be in .ogg format
 * all sounds-files must be named "alarm-something.ogg"
 * names in sounds.json are equal to sound-file-names
 * names in IC2NuclearControl.cfg must exclude the leading "alarm-".

4. Install your files.


 * copy your IC2NuclearControl-1.7.10-2.4.7.jar to both server and client mod directory
 * copy your IC2NuclearControl.cfg to both server and client config directory