model.cfg 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. class CfgSkeletons
  2. {
  3. class Default
  4. {
  5. isDiscrete=1;
  6. skeletonInherit="";
  7. skeletonBones[]={};
  8. };
  9. class 3AS_DC15A_Skeleton: Default
  10. {
  11. skeletonBones[]=
  12. {
  13. "barrel", "",
  14. "sights", "barrel",
  15. "glass", "barrel",
  16. "slug", "barrel",
  17. "rods", "barrel",
  18. "trigger", "",
  19. "zasleh", ""
  20. };
  21. };
  22. };
  23. class CfgModels
  24. {
  25. class Default
  26. {
  27. sectionsInherit="";
  28. sections[]={};
  29. skeletonName="";
  30. };
  31. class 3AS_DC15A_F
  32. {
  33. htMin=1;
  34. htMax=600;
  35. afMax=0;
  36. mfMax=0;
  37. mFact=1;
  38. tBody=100;
  39. skeletonName="3AS_DC15A_Skeleton";
  40. sectionsInherit="";
  41. sections[]={"zasleh", "camo", "camo1", "camo2"};
  42. class Animations
  43. {
  44. class trigger
  45. {
  46. type="rotationz";
  47. source="reload";
  48. selection="trigger";
  49. sourceAddress="clamp";
  50. axis="trigger_axis";
  51. minPhase=0;
  52. maxPhase=1;
  53. minValue=0;
  54. maxValue=1;
  55. angle0=0; //Radians, Degrees 0
  56. angle1=-0.261799; //Radians, Degrees 15
  57. };
  58. class magazine_hide
  59. {
  60. type="hide";
  61. source="reloadmagazine.0";
  62. selection="slug";
  63. sourceAddress="clamp";
  64. minPhase=0;
  65. maxPhase=1;
  66. minValue=0;
  67. maxValue=1;
  68. memory=0;
  69. hideValue=0.302326;
  70. unHideValue=0.503876;
  71. };
  72. class no_magazine
  73. {
  74. type="hide";
  75. source="hasmagazine";
  76. selection="slug";
  77. sourceAddress="clamp";
  78. minPhase=0;
  79. maxPhase=1;
  80. minValue=0;
  81. maxValue=1;
  82. memory=0;
  83. hideValue=0.5;
  84. unHideValue=-1;
  85. };
  86. class Barrel_reload_Rot_1 //Rotate Barrel down to eject Slug
  87. {
  88. type="rotationz";
  89. source="reloadmagazine.0";
  90. selection="barrel";
  91. sourceAddress="clamp";
  92. axis="barrel_axis";
  93. minPhase=0;
  94. maxPhase=1;
  95. minValue=0.162791; //0.18 for old
  96. maxValue=0.217054; //0.22 for old
  97. angle0=0; //Radians, Degrees 0
  98. angle1="rad -75"; //Radians, Degrees 85
  99. };
  100. class Barrel_reload_Rot_2 //Rotate Barrel up after new slug
  101. {
  102. type="rotationz";
  103. source="reloadmagazine.0";
  104. selection="barrel";
  105. sourceAddress="clamp";
  106. axis="barrel_axis";
  107. minPhase=0;
  108. maxPhase=1;
  109. minValue=0.775194;
  110. maxValue=0.821705;
  111. angle0=0; //Radians, Degrees 0
  112. angle1="rad 75"; //Radians, Degrees 85
  113. };
  114. class Slug_reload_move_1 //Ejection of Slug
  115. {
  116. type="translation";
  117. source="reloadmagazine.0";
  118. selection="slug";
  119. sourceAddress="clamp";
  120. axis="slug_axis";
  121. minPhase=0;
  122. maxPhase=1;
  123. minValue=0.209302;
  124. maxValue=0.302326;
  125. offset0=0;
  126. offset1=-6.5;
  127. };
  128. class Slug_reload_move_2 //Return to entrance while Slug is Hidden
  129. {
  130. type="translation";
  131. source="reloadmagazine.0";
  132. selection="slug";
  133. sourceAddress="clamp";
  134. axis="slug_axis";
  135. minPhase=0;
  136. maxPhase=1;
  137. minValue=0.35;
  138. maxValue=0.4;
  139. offset0=0;
  140. offset1=5.5;
  141. };
  142. class Slug_reload_move_3 //Slug pushed back into Barrel
  143. {
  144. type="translation";
  145. source="reloadmagazine.0";
  146. selection="slug";
  147. sourceAddress="clamp";
  148. axis="slug_axis";
  149. minPhase=0;
  150. maxPhase=1;
  151. minValue=0.503876;
  152. maxValue=0.534884;
  153. offset0=0;
  154. offset1=1;
  155. };
  156. class Slug_reload_rot_1 //Clockwise pivot after slug leaves barrel
  157. {
  158. type="rotationy";
  159. source="reloadmagazine.0";
  160. selection="slug";
  161. sourceAddress="clamp";
  162. memory=0;
  163. axis="";
  164. minPhase=0;
  165. maxPhase=1;
  166. minValue=0.232558;
  167. maxValue=0.302326;
  168. angle0=0;
  169. angle1=2.70526; //Radians, 155 Degrees
  170. };
  171. class Slug_reload_rot_2 //Counter Clockwise Pivot While Slug Hide
  172. {
  173. type="rotationy";
  174. source="reloadmagazine.0";
  175. selection="slug";
  176. sourceAddress="clamp";
  177. memory=0;
  178. axis="";
  179. minPhase=0;
  180. maxPhase=1;
  181. minValue=0.35;
  182. maxValue=0.4;
  183. angle0=0;
  184. angle1=-2.70526; //Radians, 155 Degrees
  185. };
  186. class zaslehrot
  187. {
  188. type="rotationx";
  189. source="ammorandom";
  190. selection="zasleh";
  191. sourceAddress="loop";
  192. axis="";
  193. centerFirstVertex=true;
  194. minPhase=0;
  195. maxPhase=4;
  196. minValue=0;
  197. maxValue=4;
  198. memory=0;
  199. angle0=0;
  200. angle1=6.283185;
  201. };
  202. };
  203. };
  204. };