class CfgSkeletons { class Default { isDiscrete = 1; skeletonInherit = ""; skeletonBones[] = {}; }; class AMF_Perseis_II_skeleton_poly : Default { isDiscrete=0; skeletonInherit=""; skeletonBones[]= { "magazine", "", "muzzleflash", "", "bolt", "", "ForeSight", "", "BackSight", "", "trigger", "", "bipod_leg_L", "", "bipod_leg_R", "", "zasleh", "" }; }; }; class CfgModels { class Default { sectionsInherit=""; sections[]={}; skeletonName=""; }; class AMF_Perseis_II_02_F: Default { sections[] = {"zasleh","Camo","bipod_leg_L","bipod_leg_R"}; skeletonName="AMF_Perseis_II_skeleton_poly"; class Animations { class trigger_rotation { type = "rotation"; source = "reload"; sourceAddress = "clamp"; selection = "trigger"; axis = "trigger_axis"; minValue = 0; maxValue = 1; angle0 = "0"; angle1 = "rad -15"; }; class bolt_fire_begin1 { type= rotation; source="reload"; sourceAddress= clamp; selection="bolt"; axis="bolt_axis"; minValue = 0.55; maxValue = 0.6; angle0= (rad 0); angle1= (rad -60); animPeriod = 0.0; initPhase = 3.0; // memory = true; }; class bolt_fire_begin2 { type="translation"; source="reload"; selection="bolt"; axis="bolt_axis";//*probably* // sourceAddress = clamp;// (default) minValue = 0.65;//rad 0.0 maxValue = 0.75;//rad 17.188734 offset0 = 0.0; offset1 = 1.2; animPeriod = 0.0; initPhase = 0.0; // memory = true;//(default assumed) }; class bolt_fire_end1 { type="translation"; source="reload"; selection="bolt"; axis="bolt_axis";//*probably* // sourceAddress = clamp;// (default) minValue = 0.8;//rad 28.64789 maxValue = 0.9;//rad 57.29578 offset0 = 0.0; offset1 = -1.2; animPeriod = 1.0; initPhase = 0.0; // memory = true;//(default assumed) }; class bolt_fire_end2 { type= rotation; source="reload"; sourceAddress= clamp; selection="bolt"; axis="bolt_axis"; minValue = 0.95; maxValue = 1.0; angle0= (rad 0); angle1= (rad 60); animPeriod = 1.0; initPhase = 0.0; // memory = true; }; class bolt_reload_begin1 { type= rotation; source="reloadMagazine"; sourceAddress= clamp; selection="bolt"; axis="bolt_axis"; minValue = 0.04; maxValue = 0.08; angle0= (rad 0); angle1= (rad -60); animPeriod = 0.0; initPhase = 0.0; // memory = true; }; class bolt_reload_begin2 { selection = "bolt"; axis = "bolt_axis"; type="translation"; source="reloadMagazine"; // sourceAddress = clamp;// (default) minValue = 0.1;//rad 0.0 maxValue = 0.14;//rad 17.188734 offset0 = 0.0; offset1 = 1.2; animPeriod = 0.0; initPhase = 0.0; // memory = true;//(default assumed) }; class bolt_reload_end1 { selection = "bolt"; axis = "bolt_axis"; type="translation"; source="reloadMagazine"; // sourceAddress = clamp;// (default) minValue = 0.8;//rad 28.64789 maxValue = 0.84;//rad 57.29578 offset0 = 0.0; offset1 = -1.2; animPeriod = 0.0; initPhase = 0.0; // memory = true;//(default assumed) }; class bolt_reload_end2 { type= rotation; source="reloadMagazine"; sourceAddress= clamp; selection="bolt"; axis="bolt_axis"; minValue = 0.86; maxValue = 0.9; angle0= (rad 0); angle1= (rad 60); animPeriod = 0.0; initPhase = 0.0; // memory = true; }; class magazine_hide { type="hide"; source="reloadMagazine"; selection="magazine"; minValue=0.000000; maxValue=1.00000; hideValue=0.31; unhideValue = 0.550; }; class no_magazine { type="hide"; source="hasMagazine"; selection="magazine"; minValue=0.000000; maxValue=1.00000; hideValue=0.5; unhideValue = -1.0; }; class magazine_reload_move_1 { type = "translation"; source = "reloadMagazine"; selection = "magazine"; axis = "magazine_axis"; minValue = 0.27; maxValue = 0.31; offset0 = 0.0; offset1 = 1.0; }; class magazine_reload_move_2: magazine_reload_move_1 { minValue = 0.52; maxValue = 0.58; offset0 = 0.0; offset1 = -1.0; }; class BackSight_optic { type="rotation"; source="hasOptics"; selection="BackSight"; axis="BackSight_axis"; memory=1; minValue=0.0000000; maxValue=1.0000000; angle0=0.000000; angle1=(rad 90); }; class ForeSight_optic: BackSight_optic { selection="ForeSight"; axis="ForeSight_axis"; angle1=(rad 90); }; class muzzleflash_hide { type="hide"; source="hasSuppressor"; selection="zasleh"; minValue = 0.0; maxvalue = 0.25; hideValue = 0.01; }; class muzzleFlashROT { type="rotationX"; source="ammoRandom"; selection="zasleh"; axis="muzzleflash_axis";//*probably* sourceAddress = loop; minValue = 0.0;//rad 0.0 maxValue = 4.0;//rad 229.18312 angle0 = 0.0;//rad 0.0; angle1 = 1.2443461;//rad 14.0; memory = true;//(default assumed) }; class MuzzleFlashROT1 { type="rotation"; source="ammoRandom"; selection="zasleh"; axis="muzzleflash_axis";//*probably* sourceAddress = loop; minValue = 0.0;//rad 0.0 maxValue = 1.0;//rad 57.29578 angle0 = 0.0;//rad 0.0; angle1 = 1.05235988;//rad 3.0; memory = true;//(default assumed) }; class leg_L_move { type = rotation; source = bipod; sourceAddress = clamp; selection = "bipod_leg_L"; axis = "bipod_leg_L_axis"; minValue = 0; maxValue = 1; angle0 = (rad 0); angle1 = (rad -90); }; class leg_R_move { type = rotation; source = bipod; sourceAddress = clamp; selection = "bipod_leg_R"; axis = "bipod_leg_R_axis"; minValue = 0; maxValue = 1; angle0 = (rad 0); angle1 = (rad -90); }; }; }; };