model.cfg 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. class CfgSkeletons
  2. {
  3. class Default
  4. {
  5. isDiscrete=1;
  6. skeletonInherit="";
  7. skeletonBones[]={};
  8. };
  9. class 3AS_DC17S_Skeleton: Default
  10. {
  11. skeletonBones[]=
  12. {
  13. "zasleh", ""
  14. };
  15. };
  16. };
  17. class CfgModels
  18. {
  19. class Default
  20. {
  21. sectionsInherit="";
  22. sections[]={};
  23. skeletonName="";
  24. };
  25. class 3AS_DC17S_F: Default
  26. {
  27. htMin=1;
  28. htMax=600;
  29. afMax=0;
  30. mfMax=0;
  31. mFact=1;
  32. tBody=100;
  33. skeletonName="3AS_DC17S_Skeleton";
  34. sectionsInherit="";
  35. sections[]=
  36. {
  37. "zasleh"
  38. };
  39. class Animations
  40. {
  41. class MuzzleFlashROT
  42. {
  43. type="rotationX";
  44. source="ammoRandom"; //use ammo count as phase for animation
  45. sourceAddress="loop"; //loop when phase out of bounds
  46. selection="zasleh"; //selection we want to rotate
  47. axis=""; //no own axis - center of rotation is computed from selection
  48. centerFirstVertex=true; //use first vertex of selection as center of rotation
  49. minPhase=0;
  50. maxPhase=4;
  51. minValue=0;
  52. maxValue=4; //rotation angle will be 360/4 = 90 degrees
  53. memory=0;
  54. angle0="rad 0";
  55. angle1="rad 360";
  56. };
  57. };
  58. };
  59. };