model.cfg 5.4 KB

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