model.cfg 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. class CfgSkeletons
  2. {
  3. class Chaingun_Skeleton
  4. {
  5. isDiscrete=0;
  6. skeletonInherit="";
  7. skeletonBones[]=
  8. {
  9. "magazine", "",
  10. "Z_gattling", "",
  11. "Z_gattling"
  12. };
  13. };
  14. };
  15. class CfgModels
  16. {
  17. class Chaingun
  18. {
  19. htMin=0;
  20. htMax=0;
  21. afMax=0;
  22. mfMax=0;
  23. mFact=0;
  24. tBody=0;
  25. skeletonName="chaingun_Skeleton";
  26. sectionsInherit="";
  27. sections[]={"magazine","z_gattling"};
  28. class Animations
  29. {
  30. class no_magazine_hide
  31. {
  32. type="hide";
  33. source="hasmagazine";
  34. selection="magazine";
  35. sourceAddress="clamp";
  36. minPhase=0;
  37. maxPhase=1;
  38. minValue=0;
  39. maxValue=1;
  40. memory=0;
  41. hideValue=0.5;
  42. unHideValue=-1;
  43. };
  44. class magazine_reload_hide_1
  45. {
  46. type="hide";
  47. source="reloadmagazine";
  48. selection="magazine";
  49. sourceAddress="clamp";
  50. minPhase=0;
  51. maxPhase=1;
  52. minValue=0;
  53. maxValue=1;
  54. memory=0;
  55. hideValue=1E-05;
  56. unHideValue=0.7;
  57. };
  58. class minigun
  59. {
  60. type="rotation";
  61. source="revolving";
  62. selection="z_gattling";
  63. axis="z_gatling_axis";
  64. sourceAddress="loop";
  65. minPhase=0;
  66. maxPhase=1;
  67. minValue=0;
  68. maxValue=1;
  69. memory=true;
  70. angle0=0.0;
  71. angle1=314;
  72. };
  73. };
  74. };
  75. };