model.cfg 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. class CfgSkeletons
  2. {
  3. class Default
  4. {
  5. isDiscrete=1;
  6. skeletonInherit="";
  7. skeletonBones[]={};
  8. };
  9. class 3AS_Westar_M5_Skeleton: Default
  10. {
  11. skeletonBones[]=
  12. {
  13. "zasleh", "",
  14. "magazine", "",
  15. "bolt", "",
  16. "trigger", ""
  17. };
  18. };
  19. };
  20. class CfgModels
  21. {
  22. class Default
  23. {
  24. sectionsInherit="";
  25. sections[]={};
  26. skeletonName="";
  27. };
  28. class 3AS_Westar_M5_F
  29. {
  30. htMin=1;
  31. htMax=600;
  32. afMax=0;
  33. mfMax=0;
  34. mFact=1;
  35. tBody=100;
  36. skeletonName="3AS_Westar_M5_Skeleton";
  37. sectionsInherit="";
  38. sections[]={"zasleh", "camo", "camo1"};
  39. class Animations
  40. {
  41. class trigger
  42. {
  43. type="translation";
  44. source="reload";
  45. selection="trigger";
  46. sourceAddress="clamp";
  47. axis="Trigger_Axis";
  48. memory=1;
  49. minPhase=0;
  50. maxPhase=1;
  51. minValue=0;
  52. maxValue=1;
  53. offset0=0;
  54. offset1=0.2;
  55. };
  56. /*class magazine_hide
  57. {
  58. type="hide";
  59. source="reloadmagazine.0";
  60. selection="magazine";
  61. sourceAddress="clamp";
  62. minPhase=0;
  63. maxPhase=1;
  64. minValue=0;
  65. maxValue=1;
  66. memory=0;
  67. hideValue=0.302326;
  68. unHideValue=0.503876;
  69. // };*/
  70. /*class no_magazine
  71. {
  72. type="hide";
  73. source="hasmagazine";
  74. selection="slug";
  75. sourceAddress="clamp";
  76. minPhase=0;
  77. maxPhase=1;
  78. minValue=0;
  79. maxValue=1;
  80. memory=0;
  81. hideValue=0.5;
  82. unHideValue=-1;
  83. };*/
  84. class Magazine_Rotate //Rotate Magazine CCW as it shoots
  85. {
  86. type="rotationz";
  87. source="reload";
  88. selection="Magazine";
  89. sourceAddress="loop";
  90. axis="mag_axis";
  91. memory=1;
  92. minPhase=0;
  93. maxPhase=1;
  94. minValue=0; //0.18 for old
  95. maxValue=1; //0.22 for old
  96. angle0=0; //Radians, Degrees 0
  97. angle1="rad -360"; //Radians, Degrees 85
  98. };
  99. class Magazine_Rotate_Reload //Rotate CW during reload
  100. {
  101. type="rotationz";
  102. source="reloadMagazine";
  103. selection="Magazine";
  104. sourceAddress="clamp";
  105. axis="mag_axis";
  106. memory=1;
  107. minPhase=0;
  108. maxPhase=1;
  109. minValue=0; //0.18 for old
  110. maxValue=1; //0.22 for old
  111. angle0=0; //Radians, Degrees 0
  112. angle1="rad 720"; //Radians, Degrees 85
  113. };
  114. class zaslehrot
  115. {
  116. type="rotationx";
  117. source="ammorandom";
  118. selection="zasleh";
  119. sourceAddress="loop";
  120. axis="";
  121. centerFirstVertex=true;
  122. minPhase=0;
  123. maxPhase=4;
  124. minValue=0;
  125. maxValue=4;
  126. memory=0;
  127. angle0=0;
  128. angle1=6.283185;
  129. };
  130. };
  131. };
  132. };