Advertisement
Guest User

Untitled

a guest
Jan 21st, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. class CfgSkeletons
  2. {
  3. class Default
  4. {
  5. isDiscrete = 1;
  6. skeletonInherit = "";
  7. skeletonBones[] = {};
  8. };
  9. class Weapon: Default
  10. {
  11. skeletonBones[] =
  12. {
  13. "bolt", "",
  14. "muzzleFlash", "",
  15. "magazine", ""
  16. };
  17. };
  18. };
  19. class CfgModels
  20. {
  21. class Default
  22. {
  23. sectionsInherit = "";
  24. sections[] = {};
  25. skeletonName = "";
  26. };
  27. class ak742_btr: Default
  28. {
  29. sections[]=
  30. {
  31. "muzzleFlash"
  32. };
  33.  
  34. htMin = 1; // Minimum half-cooling time (in seconds)
  35. htMax = 600; // Maximum half-cooling time (in seconds)
  36. afMax = 0; // Maximum temperature in case the model is alive (in celsius)
  37. mfMax = 0; // Maximum temperature when the model is moving (in celsius)
  38. mFact = 1; // Metabolism factor - number from interval <0, 1> (0 - metabolism has no influence, 1 - metabolism has full influence (no other temperature source will be considered)).
  39. tBody = 100; // Metabolism temperature of the model (in celsius)
  40.  
  41. skeletonName="Weapon";
  42. class Animations
  43. {
  44.  
  45. class bolt_fire_begin
  46. {
  47. type="translation";
  48. source="reload";
  49. selection="bolt";
  50. axis="bolt_axis";
  51. memory=1;
  52. minValue=0;
  53. maxValue=1;
  54. offset0=0;
  55. offset1=1;
  56. };
  57. class bolt_fire_end:bolt_fire_begin
  58. {
  59. minValue=1;
  60. maxValue=0;
  61. offset0=0;
  62. offset1=-1;
  63. };
  64.  
  65. class magazine_hide
  66. {
  67. type="hide";
  68. source="reloadMagazine";
  69. selection="magazine";
  70. minValue=0;
  71. maxValue=1;
  72. hideValue=0.188;
  73. unhideValue = 0.550;
  74. };
  75. class no_magazine
  76. {
  77. type="hide";
  78. source="hasMagazine";
  79. selection="magazine";
  80. minValue=0.000000;
  81. maxValue=1.00000;
  82. hideValue=0.5;
  83. unhideValue = -1.0;
  84. };
  85.  
  86. class muzzleFlashROT
  87. {
  88. type="rotation";
  89. source="ammoRandom";
  90. sourceAddress="loop";
  91. selection="muzzleFlash";
  92. axis="muzzleFlash_axis";
  93. memory=1;
  94. minValue=0;
  95. maxValue=4;
  96. angle0="rad 0";
  97. angle1="rad 360";
  98. };
  99.  
  100. class bolt_empty: bolt_fire_begin{
  101. source = "isEmptyNoReload";
  102. minValue = 1;
  103. maxValue = 0;
  104. offset0 = 0;
  105. offset1 = 1;
  106. };
  107. class bolt_reload_move_1: bolt_empty {
  108. source="reloadMagazine";
  109. minValue=0.73;
  110. maxValue=0.76;
  111. };
  112. class bolt_reload_move_2: bolt_fire_end {
  113. source="reloadMagazine";
  114. minValue=0.76;
  115. maxValue=0.8;
  116. offset1 = -1;
  117. };
  118. };
  119. };
  120. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement