Jump to content
Sign in to follow this  
tempestriser

Strang issue with muzzle flash (zasleh2_proxy).

Recommended Posts

Hello guys, im trying to bring an old model of submachine gun called Beretta M972 to ArmA 3, everthing is running except this error that i got when i take this gun from the ammobox:

http://s18.postimg.org/4101xjzq1/error.png (317 kB)

The guns is firing and reloading with no problems, but i noticed that there is no muzzle flash, obviously because of this "zasleh" error, any ideia how do i fix this ?

Here goes the code:

// config.bin - 22:08:01 09/23/13, generated in 0.20 seconds

// Generated by unRap v1.06 by Kegetys

// Separate rootclasses: Disabled, Automatic comments: Enabled

#m_pm2 private 0

#define protected 1

#define public 2

#define true 1

#define false 0

class CfgSkeletons {

class Default; // External class reference

class beretta_mtr_m9_m972 {

isDiscrete = 0;

skeletonInherit = "";

skeletonBones[] = {"bolt", "", "trigger", "", "magazine", "", "follower", "magazine", "bullet01", "magazine", "bullet02", "magazine", "bullet03", "magazine"};

};

};

class Rotation; // External class reference

class CfgModels {

class Default; // External class reference

class Weapon; // External class reference

class beretta_mtr_m9_m972 : Weapon {

skeletonName = "beretta_mtr_m9_m972";

class Animations {

class reload_magazine_hide {

type = "hide";

source = "reloadMagazine";

selection = "magazine";

hidevalue = 0.2;

};

class reload_magazine_release {

type = "rotationZ";

source = "reloadMagazine";

selection = "magazine";

axis = "magazine_axis";

minValue = 0.1;

maxValue = "1";

angle0 = "0";

angle1 = "rad -2";

};

class hide_balles_groupe1 {

type = "hide";

source = "reloadMagazine";

selection = "bullet01";

hidevalue = 0.01;

};

class hide_balles_groupe2 : hide_balles_groupe1 {

selection = "bullet02";

};

class hide_balles_groupe3 : hide_balles_groupe1 {

selection = "bullet03";

};

class bolt {

type = "translationX";

source = "reload";

selection = "bolt";

axis = "bolt_axis";

minValue = 0;

maxValue = .105;

angle0 = "0";

angle1 = -.2;

};

class bolt_back {

type = "translationX";

source = "isEmpty";

selection = "bolt";

axis = "bolt_axis";

minPhase = 0;

maxPhase = 1;

minValue = 0;

maxValue = .105;

offset0 = "0";

offset1 = -.2;

};

class trigger {

type = "rotationZ";

source = "reload";

selection = "trigger";

axis = "trigger_axis";

minValue = 0;

maxValue = "3";

angle0 = "0";

angle1 = "-3";

};

class follower {

type = "rotation";

source = "revolving";

selection = "follower";

begin = "bullets_axis_begin";

end = "bullets_axis_end";

minValue = 0;

maxValue = "1";

angle0 = "rad .06";

angle1 = "0";

};

class balles_groupe1 {

type = "rotation";

source = "revolving";

selection = "bullet01";

begin = "bullets_axis_begin";

end = "bullets_axis_end";

minValue = 0.8;

maxValue = "1";

angle0 = "rad .02";

angle1 = "0";

};

class balles_groupe2 {

type = "rotation";

source = "revolving";

selection = "bullet02";

begin = "bullets_axis_begin";

end = "bullets_axis_end";

minValue = 0.33;

maxValue = "1";

angle0 = "rad .04";

angle1 = "0";

};

class balles_groupe3 {

type = "rotation";

source = "revolving";

selection = "bullet03";

begin = "bullets_axis_begin";

end = "bullets_axis_end";

minValue = 0;

maxValue = "1";

angle0 = "rad .06";

angle1 = "0";

};

};

sections[] = {"zasleh"};

sectionsInherit = "";

};

};

class CfgPatches {

class beretta_mtr_m9_m972 {

units[] = {};

weapons[] = {"beretta_mtr_m9_m972"};

requiredVersion = 0.1;

requiredAddons[] = {};

};

};

class CfgMagazines {

class Default; // External class reference

class CA_Magazine; // External class reference

class 30Rnd_9x21_Mag; // External class reference

class 30Rnd_9x21_M972 : 30Rnd_9x21_Mag {

displayName = "9x21mm M972 30Rnd Mag";

picture = "\ASZ_Beretta\data\ico\m_m9_m972_ca.paa";

};

};

class cfgWeapons {

class Default; // External class reference

class SMG_02_F; // External class reference

class beretta_mtr_m9_m972 : SMG_02_F {

scope = public;

model = "\ASZ_Beretta\beretta_mtr_m9_m972";

magazines[] = {"30Rnd_9x21_M972"};

displayName = "M9 M972";

picture = "\ASZ_Beretta\data\ico\w_m9_m972_ca.paa";

};

};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×