model.cfg 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. class CfgSkeletons
  2. {
  3. class Default
  4. {
  5. isDiscrete=1;
  6. skeletonInherit="";
  7. skeletonBones[]={};
  8. };
  9. class 3AS_DC15S_Skeleton: Default
  10. {
  11. skeletonBones[]=
  12. {
  13. "stock", "",
  14. "butt", "stock",
  15. "magazine","",
  16. "zasleh", ""
  17. };
  18. };
  19. };
  20. class CfgModels
  21. {
  22. class Default
  23. {
  24. sectionsInherit="";
  25. sections[]={};
  26. skeletonName="";
  27. };
  28. class 3AS_DC15s_F: Default
  29. {
  30. htMin = 1;
  31. htMax = 600;
  32. afMax = 0;
  33. mfMax = 0;
  34. mFact = 1;
  35. tBody = 100;
  36. sections[]=
  37. {
  38. "zasleh"
  39. };
  40. skeletonName="3AS_DC15s_Skeleton";
  41. class Animations
  42. {
  43. class stock_rot
  44. {
  45. type = rotation;
  46. source = weaponMode;
  47. selection = "stock";
  48. axis = "stock_axis";
  49. memory = 1;
  50. minValue = 0;
  51. maxValue = 1;
  52. angle0 = 0;
  53. angle1 ="rad 180";
  54. };
  55. /*class stock_collapsed
  56. {
  57. type =translation;
  58. source =weaponMode;
  59. selection ="stock";
  60. axis ="stock_attach_axis";
  61. memory=1;
  62. minValue=0.000000;
  63. maxValue=1.000000;
  64. offset0=0;
  65. offset1=1.0;
  66. };*/
  67. class butt_rot
  68. {
  69. type = rotation;
  70. source = weaponMode;
  71. selection = "butt";
  72. axis = "butt_axis";
  73. memory = 1;
  74. minValue = 0;
  75. maxValue = 1;
  76. angle0 = 0;
  77. angle1 ="rad 90";
  78. };
  79. class magazine_hide
  80. {
  81. type="hide";
  82. source="reloadmagazine.0";
  83. selection="magazine";
  84. sourceAddress="clamp";
  85. minPhase=0;
  86. maxPhase=1;
  87. minValue=0;
  88. maxValue=1;
  89. memory=0;
  90. hideValue=0.311927;
  91. unHideValue=0.779817;
  92. };
  93. class no_magazine
  94. {
  95. type="hide";
  96. source="hasmagazine";
  97. selection="magazine";
  98. sourceAddress="clamp";
  99. minPhase=0;
  100. maxPhase=1;
  101. minValue=0;
  102. maxValue=1;
  103. memory=0;
  104. hideValue=0.5;
  105. unHideValue=-1;
  106. };
  107. class MuzzleFlashROT
  108. {
  109. type="rotationX";
  110. source="ammoRandom";
  111. sourceAddress="loop";
  112. selection="zasleh";
  113. axis="";
  114. centerFirstVertex=true;
  115. minValue=0;
  116. maxValue=4;
  117. angle0="rad 0";
  118. angle1="rad 360";
  119. };
  120. };
  121. };
  122. };