Kloers 0 Posted April 15, 2017 Hey can someone explain how to set the damage of a weapon to 0 ? so no one get damaged by the weapon ? the same with the sound of the weapon it always playes the same sound by shooting.. emptySound[]={"\Taser\sound\Sound_S1.wav",1,1}; opticsZoomMin=0.375; opticsZoomInit=0.75; opticsZoomMax=1.1; memoryPointCamera="eye"; fireLightIntensity=0.012; muzzlePos="usti hlavne"; muzzleEnd="konec hlavne"; modes[]={"Single"}; class Single: Mode_SemiAuto { reloadTime=0.05; dispersion=0.00092999998; minrange=2; minRangeProbab=0.30000001; midrange=250; midRangeProbab=0.69999999; maxrange=500; maxRangeProbab=0.2; sounds[]={"StandardSound"}; class BaseSoundModeType { weaponSoundEffect = "DefaultRifle"; closure1[] = {"Taser\sound\Taser_Shot", 0.177828, 1, 10}; closure2[] = {"Taser\sound\Taser_Shot", 0.177828, 1, 10}; soundClosure[] = {"closure1", 0.5, "closure2", 0.5}; }; class StandardSound : BaseSoundModeType { begin1[] = {"Taser\sound\Taser_Shot", 1, 1, 1800}; begin2[] = {"Taser\sound\Taser_Shot", 1, 1, 1800}; begin3[] = {"Taser\sound\Taser_Shot", 1, 1, 1800}; begin4[] = {"Taser\sound\Taser_Shot", 1, 1, 1800}; soundBegin[] = {"begin1", 0.25, "begin2", 0.25, "begin2", 0.25, "begin4", 0.25}; }; this i found on the internet but it doesnt work for me Share this post Link to post Share on other sites
E_50_Panzer 37 Posted April 20, 2017 I would just create a new 0 damage ammo type, and have this gun use that. As for the sounds being the same, it looks like every sound here is using the same file? Share this post Link to post Share on other sites