Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.53 KB | None | 0 0
  1. ////////////////////////////////////////////////////////////////////
  2. //ExtractSkeleton: Produced from mikero's Dos Tools Dll version 6.13
  3. //'now' is Thu Apr 20 11:01:29 2017 : 'file' last modified on Wed Oct 26 16:35:53 2016
  4. //http://dev-heaven.net/projects/list_files/mikero-pbodll
  5. ////////////////////////////////////////////////////////////////////
  6.  
  7. class cfgSkeletons
  8. {
  9. class dc17
  10. {
  11. skeletonInherit = "";
  12. isDiscrete = 0;
  13. SkeletonBones[]=
  14. {
  15. "trigger" ,"",
  16. "bolt" ,"",
  17. "bolt_catch" ,"",
  18. "magazine" ,"",
  19. "safety" ,"",
  20. "muzzleflash" ,"",
  21. "op" ,"",
  22. "foresight" ,"",
  23. "backsight" ,""
  24. };
  25. };
  26. };
  27. class CfgModels
  28. {
  29. class Default
  30. {
  31. sections[] = {};
  32. sectionsInherit="";
  33. skeletonName = "";
  34. };
  35. class dc17:Default
  36. {
  37. skeletonName="dc17";
  38. sections[]=
  39. {
  40. "muzzleflash"
  41. };
  42. /*<potential axis>
  43. usti hlavne
  44. konec hlavne
  45. nabojnicestart
  46. nabojniceend
  47. trigger_axis
  48. eye
  49. pilot
  50. zamek2
  51. os_ramie2
  52. os_ramie1
  53. os_ramie3
  54. slide_axis_begin
  55. slide_axis_end
  56. zamek
  57. zamek1
  58. ak12
  59. magazine
  60. muzzleflash
  61. mp28
  62. para
  63. </potential axis>*/
  64. class Animations
  65. {
  66. class trigger
  67. {
  68. type="rotation";
  69. source="reload";
  70. selection="trigger";
  71. axis="trigger_axis";//*probably*
  72. // sourceAddress = clamp;// (default)
  73. minValue = 0.0;//rad 0.0
  74. maxValue = 1.0;//rad 57.29578
  75. angle0 = 0.0;//rad 0.0;
  76. angle1 = -0.5235988;//rad -30.0;
  77. animPeriod = 0.0;
  78. initPhase = 0.0;
  79. // memory = true;//(default assumed)
  80. };
  81. class magazine_hide
  82. {
  83. type="hide";
  84. source="reloadMagazine";
  85. selection="magazine";
  86. // sourceAddress = clamp;// (default)
  87. minValue = 0.0;//rad 0.0
  88. maxValue = 1.0;//rad 57.29578
  89. hideValue = 0.188;
  90. unHideValue = 0.55;
  91. animPeriod = 0.0;
  92. initPhase = 0.0;
  93. };
  94. class no_magazine
  95. {
  96. type="hide";
  97. source="hasMagazine";
  98. selection="magazine";
  99. // sourceAddress = clamp;// (default)
  100. minValue = 0.0;//rad 0.0
  101. maxValue = 1.0;//rad 57.29578
  102. hideValue = 0.5;
  103. // unHideValue = -1.0;//(default)
  104. animPeriod = 0.0;
  105. initPhase = 0.0;
  106. };
  107. class magazine_reload_move_1
  108. {
  109. type="translation";
  110. source="reloadMagazine";
  111. selection="magazine";
  112. axis="magazine_axis";//*probably*
  113. // sourceAddress = clamp;// (default)
  114. minValue = 0.145;//rad 8.307888
  115. maxValue = 0.17;//rad 9.740283
  116. offset0 = 0.0;
  117. offset1 = 0.5;
  118. animPeriod = 0.0;
  119. initPhase = 0.0;
  120. // memory = true;//(default assumed)
  121. };
  122. class magazine_reload_move_2
  123. {
  124. type="translation";
  125. source="reloadMagazine";
  126. selection="magazine";
  127. axis="magazine_axis";//*probably*
  128. // sourceAddress = clamp;// (default)
  129. minValue = 0.573;//rad 32.830482
  130. maxValue = 0.602;//rad 34.492058
  131. offset0 = 0.0;
  132. offset1 = -0.5;
  133. animPeriod = 0.0;
  134. initPhase = 0.0;
  135. // memory = true;//(default assumed)
  136. };
  137. class muzzleFlashROT
  138. {
  139. type="rotationX";
  140. source="ammoRandom"; //use ammo count as phase for animation
  141. sourceAddress="loop"; //loop when phase out of bounds
  142. selection="muzzleFlash"; //selection we want to rotate
  143. axis=""; //no own axis - center of rotation is computed from selection
  144. centerFirstVertex=true; //use first vertex of selection as center of rotation
  145. minValue=0;
  146. maxValue=4; //rotation angle will be 360/4 = 90 degrees
  147. angle0="rad 0";
  148. angle1="rad 360";
  149. };
  150. };//Animations
  151. };//modelclass
  152. };//CfgModels
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement