model.cfg 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. class CfgSkeletons
  2. {
  3. class Default
  4. {
  5. isDiscrete=1;
  6. skeletonInherit="";
  7. skeletonBones[]={};
  8. };
  9. class 3AS_DC15CGL_Skeleton: Default
  10. {
  11. skeletonBones[]=
  12. {
  13. "Magazine", "",
  14. "zasleh", ""
  15. };
  16. };
  17. };
  18. class CfgModels
  19. {
  20. class Default
  21. {
  22. sectionsInherit="";
  23. sections[]={};
  24. skeletonName="";
  25. };
  26. class 3AS_DC15C_GL: Default
  27. {
  28. sections[]=
  29. {
  30. "zasleh",
  31. "camo",
  32. "camo1",
  33. "camo2",
  34. "camo3"
  35. };
  36. skeletonName="3AS_DC15CGL_Skeleton";
  37. class Animations
  38. {
  39. class Magazine_Reload //Slug reload visible
  40. {
  41. type="translation";
  42. source="reloadmagazine.0";
  43. selection="Magazine";
  44. axis="Magazine_axis";
  45. sourceAddress="clamp";
  46. minPhase=0;
  47. maxPhase=0;
  48. minValue=0.30;
  49. maxValue=0.40;
  50. memory=1;
  51. offset0=0;
  52. offset1=-5;
  53. };
  54. class Magazine_Reload1 //Slug reload visible
  55. {
  56. type="translation";
  57. source="reloadmagazine.0";
  58. selection="Magazine";
  59. axis="Magazine_axis";
  60. sourceAddress="clamp";
  61. minPhase=0;
  62. maxPhase=0;
  63. minValue=0.40;
  64. maxValue=0.80;
  65. memory=1;
  66. offset0=0;
  67. offset1=5;
  68. };
  69. class Magazine_Hide
  70. {
  71. type="hide";
  72. source="reloadmagazine.0";
  73. selection="Magazine";
  74. sourceAddress="clamp";
  75. minPhase=0;
  76. maxPhase=1;
  77. minValue=0;
  78. maxValue=1;
  79. memory=0;
  80. hideValue=0.4;
  81. unHideValue=0.8;
  82. };
  83. class no_magazine
  84. {
  85. type="hide";
  86. source="hasmagazine";
  87. selection="magazine";
  88. sourceAddress="clamp";
  89. minPhase=0;
  90. maxPhase=1;
  91. minValue=0;
  92. maxValue=1;
  93. memory=0;
  94. hideValue=0.5;
  95. unHideValue=-1;
  96. };
  97. class MuzzleFlashROT
  98. {
  99. type="rotationX";
  100. source="ammoRandom"; //use ammo count as phase for animation
  101. sourceAddress="loop"; //loop when phase out of bounds
  102. selection="zasleh"; //selection we want to rotate
  103. axis=""; //no own axis - center of rotation is computed from selection
  104. centerFirstVertex=true; //use first vertex of selection as center of rotation
  105. minPhase=0;
  106. maxPhase=4;
  107. minValue=0;
  108. maxValue=4; //rotation angle will be 360/4 = 90 degrees
  109. memory=0;
  110. angle0="rad 0";
  111. angle1="rad 360";
  112. };
  113. };
  114. };
  115. };