Boomotang 10 Posted July 29, 2013 (edited) I'm trying to make a very basic sound replacement addon for the MX rifle. I'm starting here just to try and get a handle on the basics of config editing as this is my first attempt. This is the tutorial that I've been going from. http://tactical.nekromantix.com/wiki/doku.php?id=arma2:sound_config_tutorial All I'm trying to do is replace the MX firing sounds with a laser sound effect. Something not too subtle, so I can easily tell when the mod is working properly. The only two files in the addon are the config.cpp and lazer.wss converted from a WAV in the same root folder. Here is how I've set up my P drive: P:\BOOM\BOOM_Lazers - addon project folder P:\BOOM\a3 - All of the .cpp's in their folders from the Arma 3 "Addons" folder. P:\BOOM\bin - The unpacked bin.pbo from inside the Arma 3 "dta" folder. This is my config.cpp: class CfgPatches { class BOOM_Lazers { requiredaddons[] = {}; requiredversion = 0.1; units[] = {}; weapons[] = {}; }; }; class Mode_SemiAuto; class Mode_Burst; class Mode_FullAuto; class cfgWeapons { class arifle_MX_Base_F { class Single: Mode_SemiAuto { begin1[] = {"BOOM\BOOM_Lazers\lazer.wss",1.4125376,1,1200}; begin2[] = {"BOOM\BOOM_Lazers\lazer.wss",1.4125376,1,1200}; soundBegin[] = {"begin1",0.5,"begin2",0.5}; }; class FullAuto: Mode_FullAuto { begin1[] = {"BOOM\BOOM_Lazers\lazer.wss",1.4125376,1,1200}; begin2[] = {"BOOM\BOOM_Lazers\lazer.wss",1.4125376,1,1200}; soundBegin[] = {"begin1",0.5,"begin2",0.5}; }; }; }; I'm getting lots of errors when packing it with binPBO, and the mod isn't working in Arma 3 Beta Dev Branch. Is there something wrong with my P drive setup, or with my config.cpp? Any help is appreciated. Edited July 29, 2013 by Boomotang Share this post Link to post Share on other sites
bigpickle 0 Posted August 4, 2013 (edited) I see your problem, firstly your only changing the base class, you need to change each weapon after that too. Use The instead: class CfgPatches { class yourmodname { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Weapons_F"}; version = "1"; projectName = "yourmodname"; author = "you"; }; }; class CfgAddons { class PreloadAddons { class CONFIG_SOUNDS_CLASS { list[] = {"yourmodname"}; }; }; }; class Single; // External class reference class FullAuto; // External class reference class Mode_SemiAuto; // External class reference class Mode_FullAuto; // External class reference class CfgWeapons { class Rifle_Base_F; // External class reference class arifle_MX_Base_F : Rifle_Base_F { drySound[] = {"\yourmodname\Dry", 1, 1, 1}; reloadMagazineSound[] = {"yourmodname\rifle_reload", 1, 1, 1}; class Single : Mode_SemiAuto { begin1[] = {"yourmodname\shot1", 1, 1, 600}; begin2[] = {"yourmodname\shot2", 1, 1, 600}; begin3[] = {"yourmodname\shot3", 1, 1, 600}; begin4[] = {"yourmodname\shot4", 1, 1, 600}; begin5[] = {"yourmodname\shot5", 1, 1, 600}; begin6[] = {"yourmodname\shot6", 1, 1, 600}; begin7[] = {"yourmodname\shot7", 1, 1, 600}; begin8[] = {"yourmodname\shot8", 1, 1, 600}; soundBegin[] = {"begin1", 0.125, "begin2", 0.125, "begin3", 0.125, "begin4", 0.125, "begin5", 0.125, "begin6", 0.125, "begin7", 0.125, "begin8", 0.125}; closure1[] = {"yourmodname\bolt\bolt1", 1, 1, 1}; closure2[] = {"yourmodname\bolt\bolt2", 1, 1, 1}; closure3[] = {"yourmodname\bolt\bolt3", 1, 1, 1}; closure4[] = {"yourmodname\bolt\bolt4", 1, 1, 1}; closure5[] = {"yourmodname\bolt\bolt5", 1, 1, 1}; closure6[] = {"yourmodname\bolt\bolt6", 1, 1, 1}; closure7[] = {"yourmodname\bolt\bolt7", 1, 1, 1}; closure8[] = {"yourmodname\bolt\bolt8", 1, 1, 1}; closure9[] = {"yourmodname\bolt\bolt9", 1, 1, 1}; closure10[] = {"yourmodname\bolt\bolt10", 1, 1, 1}; soundClosure[] = {"closure1", 0.1, "closure2", 0.1, "closure3", 0.1, "closure4", 0.1, "closure5", 0.1, "closure6", 0.1, "closure7", 0.1, "closure8", 0.1, "closure9", 0.1, "closure10", 0.1}; }; class FullAuto : Mode_FullAuto { begin1[] = {"yourmodname\shot1", 1, 1, 600}; begin2[] = {"yourmodname\shot2", 1, 1, 600}; begin3[] = {"yourmodname\shot3", 1, 1, 600}; begin4[] = {"yourmodname\shot4", 1, 1, 600}; begin5[] = {"yourmodname\shot5", 1, 1, 600}; begin6[] = {"yourmodname\shot6", 1, 1, 600}; begin7[] = {"yourmodname\shot7", 1, 1, 600}; begin8[] = {"yourmodname\shot8", 1, 1, 600}; soundBegin[] = {"begin1", 0.125, "begin2", 0.125, "begin3", 0.125, "begin4", 0.125, "begin5", 0.125, "begin6", 0.125, "begin7", 0.125, "begin8", 0.125}; closure1[] = {"yourmodname\bolt\bolt1", 1, 1, 1}; closure2[] = {"yourmodname\bolt\bolt2", 1, 1, 1}; closure3[] = {"yourmodname\bolt\bolt3", 1, 1, 1}; closure4[] = {"yourmodname\bolt\bolt4", 1, 1, 1}; closure5[] = {"yourmodname\bolt\bolt5", 1, 1, 1}; closure6[] = {"yourmodname\bolt\bolt6", 1, 1, 1}; closure7[] = {"yourmodname\bolt\bolt7", 1, 1, 1}; closure8[] = {"yourmodname\bolt\bolt8", 1, 1, 1}; closure9[] = {"yourmodname\bolt\bolt9", 1, 1, 1}; closure10[] = {"yourmodname\bolt\bolt10", 1, 1, 1}; soundClosure[] = {"closure1", 0.1, "closure2", 0.1, "closure3", 0.1, "closure4", 0.1, "closure5", 0.1, "closure6", 0.1, "closure7", 0.1, "closure8", 0.1, "closure9", 0.1, "closure10", 0.1}; }; }; class arifle_MX_F : arifle_MX_Base_F { drySound[] = {"\yourmodname\Dry", 1, 1, 1}; reloadMagazineSound[] = {"yourmodname\rifle_reload", 1, 1, 1}; class Single : Mode_SemiAuto { begin1[] = {"yourmodname\shot1", 1, 1, 600}; begin2[] = {"yourmodname\shot2", 1, 1, 600}; begin3[] = {"yourmodname\shot3", 1, 1, 600}; begin4[] = {"yourmodname\shot4", 1, 1, 600}; begin5[] = {"yourmodname\shot5", 1, 1, 600}; begin6[] = {"yourmodname\shot6", 1, 1, 600}; begin7[] = {"yourmodname\shot7", 1, 1, 600}; begin8[] = {"yourmodname\shot8", 1, 1, 600}; soundBegin[] = {"begin1", 0.125, "begin2", 0.125, "begin3", 0.125, "begin4", 0.125, "begin5", 0.125, "begin6", 0.125, "begin7", 0.125, "begin8", 0.125}; closure1[] = {"yourmodname\bolt\bolt1", 1, 1, 1}; closure2[] = {"yourmodname\bolt\bolt2", 1, 1, 1}; closure3[] = {"yourmodname\bolt\bolt3", 1, 1, 1}; closure4[] = {"yourmodname\bolt\bolt4", 1, 1, 1}; closure5[] = {"yourmodname\bolt\bolt5", 1, 1, 1}; closure6[] = {"yourmodname\bolt\bolt6", 1, 1, 1}; closure7[] = {"yourmodname\bolt\bolt7", 1, 1, 1}; closure8[] = {"yourmodname\bolt\bolt8", 1, 1, 1}; closure9[] = {"yourmodname\bolt\bolt9", 1, 1, 1}; closure10[] = {"yourmodname\bolt\bolt10", 1, 1, 1}; soundClosure[] = {"closure1", 0.1, "closure2", 0.1, "closure3", 0.1, "closure4", 0.1, "closure5", 0.1, "closure6", 0.1, "closure7", 0.1, "closure8", 0.1, "closure9", 0.1, "closure10", 0.1}; }; class FullAuto : Mode_FullAuto { begin1[] = {"yourmodname\shot1", 1, 1, 600}; begin2[] = {"yourmodname\shot2", 1, 1, 600}; begin3[] = {"yourmodname\shot3", 1, 1, 600}; begin4[] = {"yourmodname\shot4", 1, 1, 600}; begin5[] = {"yourmodname\shot5", 1, 1, 600}; begin6[] = {"yourmodname\shot6", 1, 1, 600}; begin7[] = {"yourmodname\shot7", 1, 1, 600}; begin8[] = {"yourmodname\shot8", 1, 1, 600}; soundBegin[] = {"begin1", 0.125, "begin2", 0.125, "begin3", 0.125, "begin4", 0.125, "begin5", 0.125, "begin6", 0.125, "begin7", 0.125, "begin8", 0.125}; closure1[] = {"yourmodname\bolt\bolt1", 1, 1, 1}; closure2[] = {"yourmodname\bolt\bolt2", 1, 1, 1}; closure3[] = {"yourmodname\bolt\bolt3", 1, 1, 1}; closure4[] = {"yourmodname\bolt\bolt4", 1, 1, 1}; closure5[] = {"yourmodname\bolt\bolt5", 1, 1, 1}; closure6[] = {"yourmodname\bolt\bolt6", 1, 1, 1}; closure7[] = {"yourmodname\bolt\bolt7", 1, 1, 1}; closure8[] = {"yourmodname\bolt\bolt8", 1, 1, 1}; closure9[] = {"yourmodname\bolt\bolt9", 1, 1, 1}; closure10[] = {"yourmodname\bolt\bolt10", 1, 1, 1}; soundClosure[] = {"closure1", 0.1, "closure2", 0.1, "closure3", 0.1, "closure4", 0.1, "closure5", 0.1, "closure6", 0.1, "closure7", 0.1, "closure8", 0.1, "closure9", 0.1, "closure10", 0.1}; }; }; class arifle_MX_GL_F : arifle_MX_Base_F { drySound[] = {"\yourmodname\Dry", 1, 1, 1}; reloadMagazineSound[] = {"yourmodname\rifle_reload", 1, 1, 1}; class Single : Mode_SemiAuto { begin1[] = {"yourmodname\shot1", 1, 1, 600}; begin2[] = {"yourmodname\shot2", 1, 1, 600}; begin3[] = {"yourmodname\shot3", 1, 1, 600}; begin4[] = {"yourmodname\shot4", 1, 1, 600}; begin5[] = {"yourmodname\shot5", 1, 1, 600}; begin6[] = {"yourmodname\shot6", 1, 1, 600}; begin7[] = {"yourmodname\shot7", 1, 1, 600}; begin8[] = {"yourmodname\shot8", 1, 1, 600}; soundBegin[] = {"begin1", 0.125, "begin2", 0.125, "begin3", 0.125, "begin4", 0.125, "begin5", 0.125, "begin6", 0.125, "begin7", 0.125, "begin8", 0.125}; closure1[] = {"yourmodname\bolt\bolt1", 1, 1, 1}; closure2[] = {"yourmodname\bolt\bolt2", 1, 1, 1}; closure3[] = {"yourmodname\bolt\bolt3", 1, 1, 1}; closure4[] = {"yourmodname\bolt\bolt4", 1, 1, 1}; closure5[] = {"yourmodname\bolt\bolt5", 1, 1, 1}; closure6[] = {"yourmodname\bolt\bolt6", 1, 1, 1}; closure7[] = {"yourmodname\bolt\bolt7", 1, 1, 1}; closure8[] = {"yourmodname\bolt\bolt8", 1, 1, 1}; closure9[] = {"yourmodname\bolt\bolt9", 1, 1, 1}; closure10[] = {"yourmodname\bolt\bolt10", 1, 1, 1}; soundClosure[] = {"closure1", 0.1, "closure2", 0.1, "closure3", 0.1, "closure4", 0.1, "closure5", 0.1, "closure6", 0.1, "closure7", 0.1, "closure8", 0.1, "closure9", 0.1, "closure10", 0.1}; }; class FullAuto : Mode_FullAuto { begin1[] = {"yourmodname\shot1", 1, 1, 600}; begin2[] = {"yourmodname\shot2", 1, 1, 600}; begin3[] = {"yourmodname\shot3", 1, 1, 600}; begin4[] = {"yourmodname\shot4", 1, 1, 600}; begin5[] = {"yourmodname\shot5", 1, 1, 600}; begin6[] = {"yourmodname\shot6", 1, 1, 600}; begin7[] = {"yourmodname\shot7", 1, 1, 600}; begin8[] = {"yourmodname\shot8", 1, 1, 600}; soundBegin[] = {"begin1", 0.125, "begin2", 0.125, "begin3", 0.125, "begin4", 0.125, "begin5", 0.125, "begin6", 0.125, "begin7", 0.125, "begin8", 0.125}; closure1[] = {"yourmodname\bolt\bolt1", 1, 1, 1}; closure2[] = {"yourmodname\bolt\bolt2", 1, 1, 1}; closure3[] = {"yourmodname\bolt\bolt3", 1, 1, 1}; closure4[] = {"yourmodname\bolt\bolt4", 1, 1, 1}; closure5[] = {"yourmodname\bolt\bolt5", 1, 1, 1}; closure6[] = {"yourmodname\bolt\bolt6", 1, 1, 1}; closure7[] = {"yourmodname\bolt\bolt7", 1, 1, 1}; closure8[] = {"yourmodname\bolt\bolt8", 1, 1, 1}; closure9[] = {"yourmodname\bolt\bolt9", 1, 1, 1}; closure10[] = {"yourmodname\bolt\bolt10", 1, 1, 1}; soundClosure[] = {"closure1", 0.1, "closure2", 0.1, "closure3", 0.1, "closure4", 0.1, "closure5", 0.1, "closure6", 0.1, "closure7", 0.1, "closure8", 0.1, "closure9", 0.1, "closure10", 0.1}; }; }; class arifle_MXC_F : arifle_MX_Base_F { drySound[] = {"\yourmodname\Dry", 1, 1, 1}; reloadMagazineSound[] = {"yourmodname\rifle_reload", 1, 1, 1}; class Single : Mode_SemiAuto { begin1[] = {"yourmodname\shot1", 1, 1, 600}; begin2[] = {"yourmodname\shot2", 1, 1, 600}; begin3[] = {"yourmodname\shot3", 1, 1, 600}; begin4[] = {"yourmodname\shot4", 1, 1, 600}; begin5[] = {"yourmodname\shot5", 1, 1, 600}; begin6[] = {"yourmodname\shot6", 1, 1, 600}; begin7[] = {"yourmodname\shot7", 1, 1, 600}; begin8[] = {"yourmodname\shot8", 1, 1, 600}; soundBegin[] = {"begin1", 0.125, "begin2", 0.125, "begin3", 0.125, "begin4", 0.125, "begin5", 0.125, "begin6", 0.125, "begin7", 0.125, "begin8", 0.125}; closure1[] = {"yourmodname\bolt\bolt1", 1, 1, 1}; closure2[] = {"yourmodname\bolt\bolt2", 1, 1, 1}; closure3[] = {"yourmodname\bolt\bolt3", 1, 1, 1}; closure4[] = {"yourmodname\bolt\bolt4", 1, 1, 1}; closure5[] = {"yourmodname\bolt\bolt5", 1, 1, 1}; closure6[] = {"yourmodname\bolt\bolt6", 1, 1, 1}; closure7[] = {"yourmodname\bolt\bolt7", 1, 1, 1}; closure8[] = {"yourmodname\bolt\bolt8", 1, 1, 1}; closure9[] = {"yourmodname\bolt\bolt9", 1, 1, 1}; closure10[] = {"yourmodname\bolt\bolt10", 1, 1, 1}; soundClosure[] = {"closure1", 0.1, "closure2", 0.1, "closure3", 0.1, "closure4", 0.1, "closure5", 0.1, "closure6", 0.1, "closure7", 0.1, "closure8", 0.1, "closure9", 0.1, "closure10", 0.1}; }; class FullAuto : Mode_FullAuto { begin1[] = {"yourmodname\shot1", 1, 1, 600}; begin2[] = {"yourmodname\shot2", 1, 1, 600}; begin3[] = {"yourmodname\shot3", 1, 1, 600}; begin4[] = {"yourmodname\shot4", 1, 1, 600}; begin5[] = {"yourmodname\shot5", 1, 1, 600}; begin6[] = {"yourmodname\shot6", 1, 1, 600}; begin7[] = {"yourmodname\shot7", 1, 1, 600}; begin8[] = {"yourmodname\shot8", 1, 1, 600}; soundBegin[] = {"begin1", 0.125, "begin2", 0.125, "begin3", 0.125, "begin4", 0.125, "begin5", 0.125, "begin6", 0.125, "begin7", 0.125, "begin8", 0.125}; closure1[] = {"yourmodname\bolt\bolt1", 1, 1, 1}; closure2[] = {"yourmodname\bolt\bolt2", 1, 1, 1}; closure3[] = {"yourmodname\bolt\bolt3", 1, 1, 1}; closure4[] = {"yourmodname\bolt\bolt4", 1, 1, 1}; closure5[] = {"yourmodname\bolt\bolt5", 1, 1, 1}; closure6[] = {"yourmodname\bolt\bolt6", 1, 1, 1}; closure7[] = {"yourmodname\bolt\bolt7", 1, 1, 1}; closure8[] = {"yourmodname\bolt\bolt8", 1, 1, 1}; closure9[] = {"yourmodname\bolt\bolt9", 1, 1, 1}; closure10[] = {"yourmodname\bolt\bolt10", 1, 1, 1}; soundClosure[] = {"closure1", 0.1, "closure2", 0.1, "closure3", 0.1, "closure4", 0.1, "closure5", 0.1, "closure6", 0.1, "closure7", 0.1, "closure8", 0.1, "closure9", 0.1, "closure10", 0.1}; }; }; class arifle_MX_SW_F : arifle_MX_Base_F { drySound[] = {"\yourmodname\Dry", 1, 1, 1}; reloadMagazineSound[] = {"yourmodname\rifle_reload", 1, 1, 1}; class Single : Mode_SemiAuto { begin1[] = {"yourmodname\shot1", 1, 1, 600}; begin2[] = {"yourmodname\shot2", 1, 1, 600}; begin3[] = {"yourmodname\shot3", 1, 1, 600}; begin4[] = {"yourmodname\shot4", 1, 1, 600}; begin5[] = {"yourmodname\shot5", 1, 1, 600}; begin6[] = {"yourmodname\shot6", 1, 1, 600}; begin7[] = {"yourmodname\shot7", 1, 1, 600}; begin8[] = {"yourmodname\shot8", 1, 1, 600}; soundBegin[] = {"begin1", 0.125, "begin2", 0.125, "begin3", 0.125, "begin4", 0.125, "begin5", 0.125, "begin6", 0.125, "begin7", 0.125, "begin8", 0.125}; closure1[] = {"yourmodname\bolt\bolt1", 1, 1, 1}; closure2[] = {"yourmodname\bolt\bolt2", 1, 1, 1}; closure3[] = {"yourmodname\bolt\bolt3", 1, 1, 1}; closure4[] = {"yourmodname\bolt\bolt4", 1, 1, 1}; closure5[] = {"yourmodname\bolt\bolt5", 1, 1, 1}; closure6[] = {"yourmodname\bolt\bolt6", 1, 1, 1}; closure7[] = {"yourmodname\bolt\bolt7", 1, 1, 1}; closure8[] = {"yourmodname\bolt\bolt8", 1, 1, 1}; closure9[] = {"yourmodname\bolt\bolt9", 1, 1, 1}; closure10[] = {"yourmodname\bolt\bolt10", 1, 1, 1}; soundClosure[] = {"closure1", 0.1, "closure2", 0.1, "closure3", 0.1, "closure4", 0.1, "closure5", 0.1, "closure6", 0.1, "closure7", 0.1, "closure8", 0.1, "closure9", 0.1, "closure10", 0.1}; }; class FullAuto : Mode_FullAuto { begin1[] = {"yourmodname\shot1", 1, 1, 600}; begin2[] = {"yourmodname\shot2", 1, 1, 600}; begin3[] = {"yourmodname\shot3", 1, 1, 600}; begin4[] = {"yourmodname\shot4", 1, 1, 600}; begin5[] = {"yourmodname\shot5", 1, 1, 600}; begin6[] = {"yourmodname\shot6", 1, 1, 600}; begin7[] = {"yourmodname\shot7", 1, 1, 600}; begin8[] = {"yourmodname\shot8", 1, 1, 600}; soundBegin[] = {"begin1", 0.125, "begin2", 0.125, "begin3", 0.125, "begin4", 0.125, "begin5", 0.125, "begin6", 0.125, "begin7", 0.125, "begin8", 0.125}; closure1[] = {"yourmodname\bolt\bolt1", 1, 1, 1}; closure2[] = {"yourmodname\bolt\bolt2", 1, 1, 1}; closure3[] = {"yourmodname\bolt\bolt3", 1, 1, 1}; closure4[] = {"yourmodname\bolt\bolt4", 1, 1, 1}; closure5[] = {"yourmodname\bolt\bolt5", 1, 1, 1}; closure6[] = {"yourmodname\bolt\bolt6", 1, 1, 1}; closure7[] = {"yourmodname\bolt\bolt7", 1, 1, 1}; closure8[] = {"yourmodname\bolt\bolt8", 1, 1, 1}; closure9[] = {"yourmodname\bolt\bolt9", 1, 1, 1}; closure10[] = {"yourmodname\bolt\bolt10", 1, 1, 1}; soundClosure[] = {"closure1", 0.1, "closure2", 0.1, "closure3", 0.1, "closure4", 0.1, "closure5", 0.1, "closure6", 0.1, "closure7", 0.1, "closure8", 0.1, "closure9", 0.1, "closure10", 0.1}; }; }; class arifle_MXM_F : arifle_MX_Base_F { drySound[] = {"\yourmodname\Dry", 1, 1, 1}; reloadMagazineSound[] = {"yourmodname\rifle_reload", 1, 1, 1}; class Single : Mode_SemiAuto { begin1[] = {"yourmodname\shot1", 1, 1, 600}; begin2[] = {"yourmodname\shot2", 1, 1, 600}; begin3[] = {"yourmodname\shot3", 1, 1, 600}; begin4[] = {"yourmodname\shot4", 1, 1, 600}; begin5[] = {"yourmodname\shot5", 1, 1, 600}; begin6[] = {"yourmodname\shot6", 1, 1, 600}; begin7[] = {"yourmodname\shot7", 1, 1, 600}; begin8[] = {"yourmodname\shot8", 1, 1, 600}; soundBegin[] = {"begin1", 0.125, "begin2", 0.125, "begin3", 0.125, "begin4", 0.125, "begin5", 0.125, "begin6", 0.125, "begin7", 0.125, "begin8", 0.125}; closure1[] = {"yourmodname\bolt\bolt1", 1, 1, 1}; closure2[] = {"yourmodname\bolt\bolt2", 1, 1, 1}; closure3[] = {"yourmodname\bolt\bolt3", 1, 1, 1}; closure4[] = {"yourmodname\bolt\bolt4", 1, 1, 1}; closure5[] = {"yourmodname\bolt\bolt5", 1, 1, 1}; closure6[] = {"yourmodname\bolt\bolt6", 1, 1, 1}; closure7[] = {"yourmodname\bolt\bolt7", 1, 1, 1}; closure8[] = {"yourmodname\bolt\bolt8", 1, 1, 1}; closure9[] = {"yourmodname\bolt\bolt9", 1, 1, 1}; closure10[] = {"yourmodname\bolt\bolt10", 1, 1, 1}; soundClosure[] = {"closure1", 0.1, "closure2", 0.1, "closure3", 0.1, "closure4", 0.1, "closure5", 0.1, "closure6", 0.1, "closure7", 0.1, "closure8", 0.1, "closure9", 0.1, "closure10", 0.1}; }; class FullAuto : Mode_FullAuto { begin1[] = {"yourmodname\shot1", 1, 1, 600}; begin2[] = {"yourmodname\shot2", 1, 1, 600}; begin3[] = {"yourmodname\shot3", 1, 1, 600}; begin4[] = {"yourmodname\shot4", 1, 1, 600}; begin5[] = {"yourmodname\shot5", 1, 1, 600}; begin6[] = {"yourmodname\shot6", 1, 1, 600}; begin7[] = {"yourmodname\shot7", 1, 1, 600}; begin8[] = {"yourmodname\shot8", 1, 1, 600}; soundBegin[] = {"begin1", 0.125, "begin2", 0.125, "begin3", 0.125, "begin4", 0.125, "begin5", 0.125, "begin6", 0.125, "begin7", 0.125, "begin8", 0.125}; closure1[] = {"yourmodname\bolt\bolt1", 1, 1, 1}; closure2[] = {"yourmodname\bolt\bolt2", 1, 1, 1}; closure3[] = {"yourmodname\bolt\bolt3", 1, 1, 1}; closure4[] = {"yourmodname\bolt\bolt4", 1, 1, 1}; closure5[] = {"yourmodname\bolt\bolt5", 1, 1, 1}; closure6[] = {"yourmodname\bolt\bolt6", 1, 1, 1}; closure7[] = {"yourmodname\bolt\bolt7", 1, 1, 1}; closure8[] = {"yourmodname\bolt\bolt8", 1, 1, 1}; closure9[] = {"yourmodname\bolt\bolt9", 1, 1, 1}; closure10[] = {"yourmodname\bolt\bolt10", 1, 1, 1}; soundClosure[] = {"closure1", 0.1, "closure2", 0.1, "closure3", 0.1, "closure4", 0.1, "closure5", 0.1, "closure6", 0.1, "closure7", 0.1, "closure8", 0.1, "closure9", 0.1, "closure10", 0.1}; }; }; }; Edited August 4, 2013 by Bigpickle Share this post Link to post Share on other sites
hellfire257 3 Posted August 10, 2013 Please be very careful with base classes. You can cause all sorts of weird things if you're not careful. Check your RPT for updating base class messages. If you get those, you're doing it wrong. Share this post Link to post Share on other sites
.kju 3244 Posted August 10, 2013 You might find this useful: http://forums.bistudio.com/showthread.php?153282-Sound-Replacement-Template Share this post Link to post Share on other sites