Steven Del 3 Posted December 29, 2018 Hello Im making my mod and I have a problem the gun does not have any sound effects when I trigger or fire the gun.. It will have a sound when I actually hit something... And I also get this error message in the image below. Can anyone help me with the coding? did I miss something please help! https://www.facebook.com/photo.php?fbid=1713552572123830&set=a.100732796739157&type=3&theater 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4206 Posted December 29, 2018 1 hour ago, Steven Del said: Can anyone help me with the coding? Hello there Steven Del ! Just add also your code below also. Share this post Link to post Share on other sites
Steven Del 3 Posted December 30, 2018 Hello George this is my entire code class CfgPatches { class DSR50 { units[]={}; weapons[]={}; requiredVersion=0.100000; }; }; class Mode_SemiAuto; class Mode_Burst; class Mode_FullAuto; class CfgWeapons { class arifle_MX_Base_F; class DSR50: arifle_MX_Base_F { displayName="DSR-50"; scope=2; picture="\ARMA3-Sniper-weapons\DSR-50\VGUI\DSR_00_00_00.paa"; soundBegin[]= { "begin1", 0.500000, "begin2", 0.500000 }; reloadAction="ReloadGM6"; closure1[]= { "A3\sounds_f\weapons\closure\closure_rifle_6", 1.584890, 1, 30 }; closure2[]= { "A3\sounds_f\weapons\closure\closure_rifle_7", 1.584890, 1, 30 }; recoil="recoil_single_mx"; drySound[]= { "ARMA3-Sniper-weapons\L96\sound\L96 Pull.wav", 0.562341, 1, 10 }; handAnim[]= { "OFP2_ManSkeleton", "\A3\Weapons_F\Rifles\MX\data\Anim\MX_cqc.rtm" }; reloadMagazineSound[]= { "ARMA3-Sniper-weapons\L96\sound\L96 Mag In.wav", 0.398107, 1, 30 }; model="ARMA3-Sniper-weapons\DSR-50\DSR50.p3d"; magazines[]= { "50BMG_5rndsDSR50" }; class WeaponSlotsInfo { allowedslots[]={901}; mass=4; class MuzzleSlot { access=1; linkProxy="\A3\data_f\proxies\weapon_slots\MUZZLE"; compatibleItems[]={}; scope=0; }; class CowsSlot { access=1; compatibleitems[]= { "iansky_rx01", "iansky_rds", "optic_tws_mg", "optic_tws", "optic_Hamr", "optic_Arco", "optic_NVS", "optic_Nightstalker", "optic_Holosight_smg", "optic_ACO_grn_smg", "optic_Aco_smg", "optic_SOS", "optic_Holosight", "optic_ACO", "optic_MRCO", "FHQ_optic_ACOG", "FHQ_optic_AIM", "FHQ_optic_AIM_tan", "FHQ_optic_HWS_G33", "FHQ_optic_HWS", "FHQ_optic_HWS_tan", "FHQ_optic_HWS_G33_tan", "FHQ_optic_ACOG_tan", "FHQ_optic_MicroCCO", "FHQ_optic_MicroCCO_tan", "FHQ_optic_MicroCCO_low", "FHQ_optic_MicroCCO_low_tan", "FHQ_optic_LeupoldERT", "FHQ_optic_LeupoldERT_tan", "R3F_AIMPOINT", "R3F_AIMPOINT_DES", "R3F_EOTECH", "R3F_EOTECH_DES", "R3F_J4", "R3F_J4_DES", "R3F_FELIN", "R3F_FELIN_DES", "R3F_J8", "R3F_J8_DES", "R3F_J8_MILDOT", "R3F_J8_MILDOT_DES", "R3F_J10", "R3F_J10_DES", "R3F_J10_MILDOT", "R3F_J10_MILDOT_DES", "R3F_NF", "R3F_NF_DES", "R3F_ZEISS", "R3F_ZEISS_DES", "R3F_OB50" }; displayname="Optics Slot"; linkproxy="\A3\data_f\proxies\weapon_slots\TOP"; scope=0; }; class PointerSlot { access=1; compatibleitems[]= { "acc_flashlight", "acc_pointer_IR", "FHQ_acc_ANPEQ15", "FHQ_acc_LLM01L", "FHQ_acc_LLM01F", "R3F_LAMPE_SURB", "R3F_LAMPE_SURB_DES", "R3F_POINTEUR_SURB", "R3F_POINTEUR_SURB_DES", "R3F_PIRAT", "R3F_PIRAT_DES" }; displayname="Pointer Slot"; linkproxy="\A3\data_f\proxies\weapon_slots\SIDE"; scope=0; }; }; modes[]= { "Single" }; class Single: Mode_SemiAuto { recoil="recoil_single_gm6"; recoilProne="recoil_single_prone_gm6"; begin1[]= { "ARMA3-Sniper-weapons\DSR-50\sound\fire.wav", 1.412540, 1, 1200 }; begin2[]= { "ARMA3-Sniper-weapons\DSR-50\sound\fire.wav", 1.412540, 1, 1200 }; soundBegin[]= { "begin1", 0.500000, "begin2", 0.500000 }; closure1[]= { "ARMA3-Sniper-weapons\L96\sound\L96 Pull.wav", 1.584890, 1, 30 }; closure2[]= { "ARMA3-Sniper-weapons\L96\sound\L96 Pull.wav", 1.584890, 1, 30 }; soundClosure[]= { "closure1", 0.500000, "closure2", 0.500000 }; class StandardSound: BaseSoundModeType { begin1[]= { "ARMA3-Sniper-weapons\DSR-50\sound\fire.wav", 7.9432826, 1, 2200 }; begin2[]= { "ARMA3-Sniper-weapons\DSR-50\sound\fire.wav", 7.9432826, 1, 2200 }; soundBegin[]= { "begin1", 0.5, "begin2", 0.5 }; weaponSoundEffect="DefaultRifle"; dispersion=0.000180; soundContinuous=0; reloadTime=1.500000; minRange=2; minRangeProbab=0.100000; midRange=250; midRangeProbab=0.700000; maxRange=350; maxRangeProbab=0.050000; aiRateOfFire=3; aiRateOfFireDistance=500; }; }; }; 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4206 Posted December 30, 2018 TIP : use the spoiler and add all this with the code <> button and you can also highlight as well. I'm going to check also ! Share this post Link to post Share on other sites
GEORGE FLOROS GR 4206 Posted December 30, 2018 (edited) First, you have forgot maybe to copy paste the last "}" ? This : "ARMA3-Sniper-weapons\DSR-50\sound\fire.wav", should be : "\ARMA3_Sniper_weapons\DSR-50\sound\fire.wav", Edited December 31, 2018 by GEORGE FLOROS GR ARMA3_Sniper_weapons Share this post Link to post Share on other sites
Steven Del 3 Posted December 30, 2018 Okay New problem since I am new to modding how do I now make this into a pbo file? im now getting error code 1073741819 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4206 Posted December 30, 2018 check here : Share this post Link to post Share on other sites
Steven Del 3 Posted December 31, 2018 Still the same thing no changes at all Share this post Link to post Share on other sites
Steven Del 3 Posted December 31, 2018 Still No sounds Share this post Link to post Share on other sites
GEORGE FLOROS GR 4206 Posted December 31, 2018 3 minutes ago, Steven Del said: Still No sounds Change also this abd remember to rename your folder as well : ARMA3-Sniper-weapons to ARMA3_Sniper_weapons Share this post Link to post Share on other sites
GEORGE FLOROS GR 4206 Posted December 31, 2018 And i just noticed that you have mixed the whole stuff a lot . Since you want the sniper 50 cal , you should check for the lynx config. Share this post Link to post Share on other sites
Steven Del 3 Posted December 31, 2018 Il give those a shot a tomorrow the enitre sounds are not even working could it be a wav file problem? but when I hit something the firing sounds starts.. its like instead of squeezing the trigger to make the firing sounds... I have to hit something to start the fire sounds Share this post Link to post Share on other sites
Steven Del 3 Posted January 1, 2019 Still not working Im giving up Share this post Link to post Share on other sites
GEORGE FLOROS GR 4206 Posted January 1, 2019 did you checked for the lynx config? Share this post Link to post Share on other sites