123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- class CfgSkeletons
- {
- class Default
- {
- isDiscrete=1;
- skeletonInherit="";
- skeletonBones[]={};
- };
- class 3AS_DC15A_Skeleton: Default
- {
- skeletonBones[]=
- {
- "barrel", "",
- "sights", "barrel",
- "glass", "barrel",
- "slug", "barrel",
- "rods", "barrel",
- "trigger", "",
- "zasleh", ""
- };
- };
- };
- class CfgModels
- {
- class Default
- {
- sectionsInherit="";
- sections[]={};
- skeletonName="";
- };
- class 3AS_DC15A_F
- {
- htMin=1;
- htMax=600;
- afMax=0;
- mfMax=0;
- mFact=1;
- tBody=100;
- skeletonName="3AS_DC15A_Skeleton";
- sectionsInherit="";
- sections[]={"zasleh", "camo", "camo1", "camo2"};
- class Animations
- {
- class trigger
- {
- type="rotationz";
- source="reload";
- selection="trigger";
- sourceAddress="clamp";
- axis="trigger_axis";
- minPhase=0;
- maxPhase=1;
- minValue=0;
- maxValue=1;
- angle0=0; //Radians, Degrees 0
- angle1=-0.261799; //Radians, Degrees 15
- };
- class magazine_hide
- {
- type="hide";
- source="reloadmagazine.0";
- selection="slug";
- sourceAddress="clamp";
- minPhase=0;
- maxPhase=1;
- minValue=0;
- maxValue=1;
- memory=0;
- hideValue=0.302326;
- unHideValue=0.503876;
- };
- class no_magazine
- {
- type="hide";
- source="hasmagazine";
- selection="slug";
- sourceAddress="clamp";
- minPhase=0;
- maxPhase=1;
- minValue=0;
- maxValue=1;
- memory=0;
- hideValue=0.5;
- unHideValue=-1;
- };
- class Barrel_reload_Rot_1 //Rotate Barrel down to eject Slug
- {
- type="rotationz";
- source="reloadmagazine.0";
- selection="barrel";
- sourceAddress="clamp";
- axis="barrel_axis";
- minPhase=0;
- maxPhase=1;
- minValue=0.162791; //0.18 for old
- maxValue=0.217054; //0.22 for old
- angle0=0; //Radians, Degrees 0
- angle1="rad -75"; //Radians, Degrees 85
- };
- class Barrel_reload_Rot_2 //Rotate Barrel up after new slug
- {
- type="rotationz";
- source="reloadmagazine.0";
- selection="barrel";
- sourceAddress="clamp";
- axis="barrel_axis";
- minPhase=0;
- maxPhase=1;
- minValue=0.775194;
- maxValue=0.821705;
- angle0=0; //Radians, Degrees 0
- angle1="rad 75"; //Radians, Degrees 85
- };
- class Slug_reload_move_1 //Ejection of Slug
- {
- type="translation";
- source="reloadmagazine.0";
- selection="slug";
- sourceAddress="clamp";
- axis="slug_axis";
- minPhase=0;
- maxPhase=1;
- minValue=0.209302;
- maxValue=0.302326;
- offset0=0;
- offset1=-6.5;
- };
- class Slug_reload_move_2 //Return to entrance while Slug is Hidden
- {
- type="translation";
- source="reloadmagazine.0";
- selection="slug";
- sourceAddress="clamp";
- axis="slug_axis";
- minPhase=0;
- maxPhase=1;
- minValue=0.35;
- maxValue=0.4;
- offset0=0;
- offset1=5.5;
- };
- class Slug_reload_move_3 //Slug pushed back into Barrel
- {
- type="translation";
- source="reloadmagazine.0";
- selection="slug";
- sourceAddress="clamp";
- axis="slug_axis";
- minPhase=0;
- maxPhase=1;
- minValue=0.503876;
- maxValue=0.534884;
- offset0=0;
- offset1=1;
- };
- class Slug_reload_rot_1 //Clockwise pivot after slug leaves barrel
- {
- type="rotationy";
- source="reloadmagazine.0";
- selection="slug";
- sourceAddress="clamp";
- memory=0;
- axis="";
- minPhase=0;
- maxPhase=1;
- minValue=0.232558;
- maxValue=0.302326;
- angle0=0;
- angle1=2.70526; //Radians, 155 Degrees
- };
- class Slug_reload_rot_2 //Counter Clockwise Pivot While Slug Hide
- {
- type="rotationy";
- source="reloadmagazine.0";
- selection="slug";
- sourceAddress="clamp";
- memory=0;
- axis="";
- minPhase=0;
- maxPhase=1;
- minValue=0.35;
- maxValue=0.4;
- angle0=0;
- angle1=-2.70526; //Radians, 155 Degrees
- };
- class zaslehrot
- {
- type="rotationx";
- source="ammorandom";
- selection="zasleh";
- sourceAddress="loop";
- axis="";
- centerFirstVertex=true;
- minPhase=0;
- maxPhase=4;
- minValue=0;
- maxValue=4;
- memory=0;
- angle0=0;
- angle1=6.283185;
- };
- };
- };
- };
|