Advertisement
Guest User

Untitled

a guest
Jun 21st, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 14.48 KB | None | 0 0
  1. class CfgSkeletons
  2. {
  3.     class Skeleton
  4.     {
  5.         isDiscrete=0;
  6.         skeletonInherit="";
  7.         skeletonBones[]={"trigger", "", "bolt", "", "barrel", "", "zasleh", "barrel", "bcg", "", "carrier", "bcg", "charging_handle_axis", "bcg", "charging_handle", "bcg", "magazine", "", "bullet", "magazine", "foresight", "", "backsight", "", "bipod_leg_l", "", "leg_l", "bipod_leg_l", "bipod_leg_r", "", "leg_r", "bipod_leg_r"};
  8.     };
  9. };
  10. class CfgModels
  11. {
  12.     class GM6_F
  13.     {
  14.         htMin=0;
  15.         htMax=0;
  16.         afMax=0;
  17.         mfMax=0;
  18.         mFact=0;
  19.         tBody=0;
  20.         skeletonName="Skeleton";
  21.         sectionsInherit="";
  22.         sections[]={"zasleh", "camo", "mat1", "mat2"};
  23.         class Animations
  24.         {
  25.             class backsight_optic
  26.             {
  27.                 type="rotation";
  28.                 source="hasoptics";
  29.                 selection="backsight";
  30.                 sourceAddress="clamp";
  31.                 minPhase=0;
  32.                 maxPhase=1;
  33.                 minValue=0;
  34.                 maxValue=1;
  35.                 memory=0;
  36.                 angle0=0;
  37.                 angle1=1.570796;
  38.             };
  39.             class foresight_optic
  40.             {
  41.                 type="rotation";
  42.                 source="hasoptics";
  43.                 selection="foresight";
  44.                 sourceAddress="clamp";
  45.                 minPhase=0;
  46.                 maxPhase=1;
  47.                 minValue=0;
  48.                 maxValue=1;
  49.                 memory=0;
  50.                 angle0=0;
  51.                 angle1=1.570796;
  52.             };
  53.             class no_magazine
  54.             {
  55.                 type="hide";
  56.                 source="hasmagazine";
  57.                 selection="magazine";
  58.                 sourceAddress="clamp";
  59.                 minPhase=0;
  60.                 maxPhase=1;
  61.                 minValue=0;
  62.                 maxValue=1;
  63.                 memory=0;
  64.                 hideValue=0.5;
  65.                 unHideValue=-1;
  66.             };
  67.             class trigger_reload_rot
  68.             {
  69.                 type="rotation";
  70.                 source="reload";
  71.                 selection="trigger";
  72.                 sourceAddress="clamp";
  73.                 minPhase=0.6;
  74.                 maxPhase=1;
  75.                 minValue=0.6;
  76.                 maxValue=1;
  77.                 memory=0;
  78.                 angle0=0;
  79.                 angle1=0.6981317;
  80.             };
  81.             class bolt_reload_move
  82.             {
  83.                 type="translation";
  84.                 source="reload";
  85.                 selection="bolt";
  86.                 sourceAddress="clamp";
  87.                 minPhase=0.8;
  88.                 maxPhase=1;
  89.                 minValue=0.8;
  90.                 maxValue=1;
  91.                 memory=0;
  92.                 offset0=0;
  93.                 offset1=2;
  94.             };
  95.             class bolt_reload_move_last
  96.             {
  97.                 type="translation";
  98.                 source="isemptynoreload";
  99.                 selection="bolt";
  100.                 sourceAddress="clamp";
  101.                 minPhase=0.8;
  102.                 maxPhase=1;
  103.                 minValue=0.8;
  104.                 maxValue=1;
  105.                 memory=0;
  106.                 offset0=0;
  107.                 offset1=2;
  108.             };
  109.             class barrel_reload_move
  110.             {
  111.                 type="translation";
  112.                 source="reload";
  113.                 selection="barrel";
  114.                 sourceAddress="clamp";
  115.                 minPhase=0.8;
  116.                 maxPhase=1;
  117.                 minValue=0.8;
  118.                 maxValue=1;
  119.                 memory=0;
  120.                 offset0=0;
  121.                 offset1=2;
  122.             };
  123.             class bcg_reload_move
  124.             {
  125.                 type="translation";
  126.                 source="reload";
  127.                 selection="bcg";
  128.                 sourceAddress="clamp";
  129.                 minPhase=0.6;
  130.                 maxPhase=0.8;
  131.                 minValue=0.6;
  132.                 maxValue=0.8;
  133.                 memory=0;
  134.                 offset0=0;
  135.                 offset1=2;
  136.             };
  137.             class bcg_reload_move_last
  138.             {
  139.                 type="translation";
  140.                 source="isemptynoreload";
  141.                 selection="bcg";
  142.                 sourceAddress="clamp";
  143.                 minPhase=0;
  144.                 maxPhase=1;
  145.                 minValue=0;
  146.                 maxValue=1;
  147.                 memory=0;
  148.                 offset0=0;
  149.                 offset1=2;
  150.             };
  151.             class carrier_reload_rot
  152.             {
  153.                 type="rotation";
  154.                 source="reload";
  155.                 selection="carrier";
  156.                 sourceAddress="clamp";
  157.                 minPhase=0.55;
  158.                 maxPhase=0.6;
  159.                 minValue=0.55;
  160.                 maxValue=0.6;
  161.                 memory=0;
  162.                 angle0=0;
  163.                 angle1=-0.6108653;
  164.             };
  165.             class carrier_reload_rot_last
  166.             {
  167.                 type="rotation";
  168.                 source="isemptynoreload";
  169.                 selection="carrier";
  170.                 sourceAddress="clamp";
  171.                 minPhase=0;
  172.                 maxPhase=1;
  173.                 minValue=0;
  174.                 maxValue=1;
  175.                 memory=0;
  176.                 angle0=0;
  177.                 angle1=-0.6108653;
  178.             };
  179.             class bcg_magazine_reload_move_1
  180.             {
  181.                 type="translation";
  182.                 source="reloadmagazine";
  183.                 selection="bcg";
  184.                 sourceAddress="clamp";
  185.                 minPhase=0.096;
  186.                 maxPhase=0.115;
  187.                 minValue=0.096;
  188.                 maxValue=0.115;
  189.                 memory=0;
  190.                 offset0=0;
  191.                 offset1=1.4;
  192.             };
  193.             class bcg_magazine_reload_move_2
  194.             {
  195.                 type="translation";
  196.                 source="reloadmagazine";
  197.                 selection="bcg";
  198.                 sourceAddress="clamp";
  199.                 minPhase=0.2;
  200.                 maxPhase=0.225;
  201.                 minValue=0.2;
  202.                 maxValue=0.225;
  203.                 memory=0;
  204.                 offset0=0;
  205.                 offset1=-1.4;
  206.             };
  207.             class bcg_magazine_reload_move_3
  208.             {
  209.                 type="translation";
  210.                 source="reloadmagazine";
  211.                 selection="bcg";
  212.                 sourceAddress="clamp";
  213.                 minPhase=0.789;
  214.                 maxPhase=0.813;
  215.                 minValue=0.789;
  216.                 maxValue=0.813;
  217.                 memory=0;
  218.                 offset0=0;
  219.                 offset1=1.4;
  220.             };
  221.             class bcg_magazine_reload_move_4
  222.             {
  223.                 type="translation";
  224.                 source="reloadmagazine";
  225.                 selection="bcg";
  226.                 sourceAddress="clamp";
  227.                 minPhase=0.845;
  228.                 maxPhase=0.87;
  229.                 minValue=0.845;
  230.                 maxValue=0.87;
  231.                 memory=0;
  232.                 offset0=0;
  233.                 offset1=-1.4;
  234.             };
  235.             class carrier_magazine_reload_rot_1
  236.             {
  237.                 type="rotation";
  238.                 source="reloadmagazine";
  239.                 selection="carrier";
  240.                 sourceAddress="clamp";
  241.                 minPhase=0.106;
  242.                 maxPhase=0.115;
  243.                 minValue=0.106;
  244.                 maxValue=0.115;
  245.                 memory=0;
  246.                 angle0=0;
  247.                 angle1=-0.6108653;
  248.             };
  249.             class carrier_magazine_reload_rot_2
  250.             {
  251.                 type="rotation";
  252.                 source="reloadmagazine";
  253.                 selection="carrier";
  254.                 sourceAddress="clamp";
  255.                 minPhase=0.22;
  256.                 maxPhase=0.23;
  257.                 minValue=0.22;
  258.                 maxValue=0.23;
  259.                 memory=0;
  260.                 angle0=0;
  261.                 angle1=0.6108653;
  262.             };
  263.             class carrier_magazine_reload_rot_3
  264.             {
  265.                 type="rotation";
  266.                 source="reloadmagazine";
  267.                 selection="carrier";
  268.                 sourceAddress="clamp";
  269.                 minPhase=0.802;
  270.                 maxPhase=0.812;
  271.                 minValue=0.802;
  272.                 maxValue=0.812;
  273.                 memory=0;
  274.                 angle0=0;
  275.                 angle1=-0.6108653;
  276.             };
  277.             class carrier_magazine_reload_rot_4
  278.             {
  279.                 type="rotation";
  280.                 source="reloadmagazine";
  281.                 selection="carrier";
  282.                 sourceAddress="clamp";
  283.                 minPhase=0.865;
  284.                 maxPhase=0.875;
  285.                 minValue=0.865;
  286.                 maxValue=0.875;
  287.                 memory=0;
  288.                 angle0=0;
  289.                 angle1=0.6108653;
  290.             };
  291.             class charging_handle_magazine_reload_rot_1
  292.             {
  293.                 type="rotation";
  294.                 source="reloadmagazine";
  295.                 selection="charging_handle";
  296.                 sourceAddress="clamp";
  297.                 minPhase=0.057534;
  298.                 maxPhase=0.068493;
  299.                 minValue=0.057534;
  300.                 maxValue=0.068493;
  301.                 memory=0;
  302.                 angle0=0;
  303.                 angle1=1.570796;
  304.             };
  305.             class charging_handle_magazine_reload_rot_2
  306.             {
  307.                 type="rotation";
  308.                 source="reloadmagazine";
  309.                 selection="charging_handle";
  310.                 sourceAddress="clamp";
  311.                 minPhase=0.221918;
  312.                 maxPhase=0.230137;
  313.                 minValue=0.221918;
  314.                 maxValue=0.230137;
  315.                 memory=0;
  316.                 angle0=0;
  317.                 angle1=-1.570796;
  318.             };
  319.             class charging_handle_magazine_reload_rot_3
  320.             {
  321.                 type="rotation";
  322.                 source="reloadmagazine";
  323.                 selection="charging_handle";
  324.                 sourceAddress="clamp";
  325.                 minPhase=0.750685;
  326.                 maxPhase=0.756164;
  327.                 minValue=0.750685;
  328.                 maxValue=0.756164;
  329.                 memory=0;
  330.                 angle0=0;
  331.                 angle1=1.570796;
  332.             };
  333.             class charging_handle_magazine_reload_rot_4
  334.             {
  335.                 type="rotation";
  336.                 source="reloadmagazine";
  337.                 selection="charging_handle";
  338.                 sourceAddress="clamp";
  339.                 minPhase=0.89863;
  340.                 maxPhase=0.90411;
  341.                 minValue=0.89863;
  342.                 maxValue=0.90411;
  343.                 memory=0;
  344.                 angle0=0;
  345.                 angle1=-1.570796;
  346.             };
  347.             class bullet_empty_hide
  348.             {
  349.                 type="hide";
  350.                 source="isemptynoreload";
  351.                 selection="bullet";
  352.                 sourceAddress="clamp";
  353.                 minPhase=0;
  354.                 maxPhase=1;
  355.                 minValue=0;
  356.                 maxValue=1;
  357.                 memory=0;
  358.                 hideValue=0.5;
  359.                 unHideValue=-1;
  360.             };
  361.             class bullet_magazine_reload_hide
  362.             {
  363.                 type="hide";
  364.                 source="reloadmagazine";
  365.                 selection="bullet";
  366.                 sourceAddress="clamp";
  367.                 minPhase=0;
  368.                 maxPhase=1;
  369.                 minValue=0;
  370.                 maxValue=1;
  371.                 memory=0;
  372.                 hideValue=0;
  373.                 unHideValue=0.475;
  374.             };
  375.             class magazine_hide
  376.             {
  377.                 type="hide";
  378.                 source="reloadmagazine";
  379.                 selection="magazine";
  380.                 sourceAddress="clamp";
  381.                 minPhase=0;
  382.                 maxPhase=1;
  383.                 minValue=0;
  384.                 maxValue=1;
  385.                 memory=0;
  386.                 hideValue=0.375;
  387.                 unHideValue=0.575;
  388.             };
  389.             class magazine_reload_move_1
  390.             {
  391.                 type="translation";
  392.                 source="reloadmagazine";
  393.                 selection="magazine";
  394.                 sourceAddress="clamp";
  395.                 minPhase=0.353;
  396.                 maxPhase=0.375;
  397.                 minValue=0.353;
  398.                 maxValue=0.375;
  399.                 memory=0;
  400.                 offset0=0;
  401.                 offset1=0.75;
  402.             };
  403.             class magazine_reload_move_2
  404.             {
  405.                 type="translation";
  406.                 source="reloadmagazine";
  407.                 selection="magazine";
  408.                 sourceAddress="clamp";
  409.                 minPhase=0.616;
  410.                 maxPhase=0.633;
  411.                 minValue=0.616;
  412.                 maxValue=0.633;
  413.                 memory=0;
  414.                 offset0=0;
  415.                 offset1=-0.75;
  416.             };
  417.             class bipodleg_l_anim
  418.             {
  419.                 type="rotation";
  420.                 source="bipod";
  421.                 selection="bipod_leg_l";
  422.                 sourceAddress="clamp";
  423.                 minPhase=0;
  424.                 maxPhase=0.1;
  425.                 minValue=0;
  426.                 maxValue=0.1;
  427.                 memory=0;
  428.                 angle0=0;
  429.                 angle1=-1.570796;
  430.             };
  431.             class bipodleg_r_anim
  432.             {
  433.                 type="rotation";
  434.                 source="bipod";
  435.                 selection="bipod_leg_r";
  436.                 sourceAddress="clamp";
  437.                 minPhase=0;
  438.                 maxPhase=0.1;
  439.                 minValue=0;
  440.                 maxValue=0.1;
  441.                 memory=0;
  442.                 angle0=0;
  443.                 angle1=-1.570796;
  444.             };
  445.             class leg_l_move
  446.             {
  447.                 type="translation";
  448.                 source="bipod_length";
  449.                 selection="leg_l";
  450.                 sourceAddress="clamp";
  451.                 minPhase=0;
  452.                 maxPhase=1;
  453.                 minValue=0;
  454.                 maxValue=1;
  455.                 memory=0;
  456.                 offset0=0;
  457.                 offset1=-10;
  458.             };
  459.             class leg_r_move
  460.             {
  461.                 type="translation";
  462.                 source="bipod_length";
  463.                 selection="leg_r";
  464.                 sourceAddress="clamp";
  465.                 minPhase=0;
  466.                 maxPhase=1;
  467.                 minValue=0;
  468.                 maxValue=1;
  469.                 memory=0;
  470.                 offset0=0;
  471.                 offset1=-10;
  472.             };
  473.         };
  474.     };
  475. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement