model.cfg 1.1 KB

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