123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- class CfgSkeletons
- {
- class Default
- {
- isDiscrete=1;
- skeletonInherit="";
- skeletonBones[]={};
- };
- class TCW_DC15A_Skeleton: Default
- {
- skeletonBones[]=
- {
- "barrel", "",
- "sights", "barrel",
- "glass", "barrel",
- "slug", "barrel",
- "zasleh", ""
- };
- };
- };
- class CfgModels
- {
- class Default
- {
- sectionsInherit="";
- sections[]={};
- skeletonName="";
- };
- class TCW_DC15A_F: Default
- {
- sections[]=
- {
- "zasleh"
- };
- skeletonName="TCW_DC15A_Skeleton";
- class Animations
- {
- class Barrel_reload_1
- {
- type="rotation";
- source="reloadmagazine.0";
- selection="barrel";
- axis="barrel_axis";
- sourceAddress="clamp";
- minPhase=0;
- maxPhase=1;
- minValue=0.24;
- maxValue=0.28;
- memory=1;
- angle0=0;
- angle1="Rad -10";
- };
- class Barrel_reload_2
- {
- type="rotation";
- source="reloadmagazine.0";
- selection="barrel";
- axis="barrel_axis";
- sourceAddress="clamp";
- minPhase=0;
- maxPhase=1;
- minValue=0.83;
- maxValue=0.85;
- memory=1;
- angle0=0;
- angle1="Rad 10";
- };
- class Slug_reload_1 //Slug Eject visible
- {
- type="translation";
- source="reloadmagazine.0";
- selection="slug";
- axis="slug_axis";
- sourceAddress="clamp";
- minPhase=0;
- maxPhase=0;
- minValue=0.28;
- maxValue=0.38;
- memory=1;
- offset0=0;
- offset1=-15;
- };
- class Slug_reload_2 //Slug move to hand position hidden
- {
- type="translation";
- source="reloadmagazine.0";
- selection="slug";
- axis="slug_axis";
- sourceAddress="clamp";
- minPhase=0;
- maxPhase=0;
- minValue=0.5;
- maxValue=0.79;
- memory=1;
- offset0=0;
- offset1=10;
- };
- class Slug_reload_3 //Slug reload visible
- {
- type="translation";
- source="reloadmagazine.0";
- selection="slug";
- axis="slug_axis";
- sourceAddress="clamp";
- minPhase=0;
- maxPhase=0;
- minValue=0.79;
- maxValue=0.82;
- memory=1;
- offset0=0;
- offset1=5;
- };
- class Slug_Hide
- {
- type="hide";
- source="reloadmagazine.0";
- selection="slug";
- sourceAddress="clamp";
- minPhase=0;
- maxPhase=1;
- minValue=0;
- maxValue=1;
- memory=0;
- hideValue=0.5;
- unHideValue=0.79;
- };
- class no_slug
- {
- type="hide";
- source="hasmagazine";
- selection="slug";
- sourceAddress="clamp";
- minPhase=0;
- maxPhase=1;
- minValue=0;
- maxValue=1;
- memory=0;
- hideValue=0.5;
- unHideValue=-1;
- };
- class MuzzleFlashROT
- {
- type="rotationX";
- source="ammoRandom"; //use ammo count as phase for animation
- sourceAddress="loop"; //loop when phase out of bounds
- selection="zasleh"; //selection we want to rotate
- axis="zasleh_axis"; //no own axis - center of rotation is computed from selection
- centerFirstVertex=true; //use first vertex of selection as center of rotation
- minPhase=0;
- maxPhase=4;
- minValue=0;
- maxValue=4; //rotation angle will be 360/4 = 90 degrees
- memory=0;
- angle0="rad 0";
- angle1="rad 360";
- };
- };
- };
- };
|