Advertisement
Guest User

Alex Vorobiev

a guest
Dec 15th, 2009
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 30.19 KB | None | 0 0
  1. /*******************************************************************************
  2. * Animation Configuration file for BMD1 Addon by Soul_Assasin                  *
  3. ********************************************************************************
  4. *                                                                              *
  5. * $Id:: model.cfg 167 2009-06-24 13:03:12Z assasin                         $: *
  6. * Author: Soul_Assasin <vorobiev.a.j@gmail.com >,                              *
  7. * ist <ramoscello@gmail.com> http://armavdv.blogspot.com                       *
  8. *                                                                              *
  9. * LICENSE:  This  program  is  free  software:  you can redistribute it and/or *
  10. * modify it under the terms of the  GNU General Public License as published by *
  11. * the Free Software Foundation, either version 3 of the License,  or  (at your *
  12. * option) any later version.                                                   *
  13. * This program is  distributed in the hope that it will be useful, but WITHOUT *
  14. * ANY  WARRANTY;   without  even  the  implied  warranty of MERCHANTABILITY or *
  15. * FITNESS FOR A PARTICULAR PURPOSE.   See  the  GNU General Public License for *
  16. * more details.                                                                *
  17. * You should have received a copy of the GNU General Public License along with *
  18. * this program. If not, see <http://www.gnu.org/licenses/gpl.txt>.             *
  19. *                                                                              *
  20. *******************************************************************************/
  21. /*******************************************************************************
  22. * CfgSkeletons : defines the animation skeletons                               *
  23. *******************************************************************************/
  24. class CfgSkeletons
  25. {
  26.     class Default; // external class reference
  27.     class Tank; // external class reference
  28.     class sa_bmd_1:Tank
  29.     {
  30.         isDiscrete=1; // not continuous
  31.         skeletonInherit = ""; // inheritance
  32.         skeletonBones[]=
  33.         {
  34.             "movebody","",
  35.             "otocvez","movebody",
  36.             "damageHide","movebody",
  37.             "wave_l","movebody",
  38.             "wave_r","movebody",
  39.             "wave_c","movebody",
  40.             "kolL1","movebody",
  41.             "kolL2","movebody",
  42.             "kolL3","movebody",
  43.             "kolL4","movebody",
  44.             "kolL5","movebody",
  45.             "kolL6","movebody",
  46.             "kolP1","movebody",
  47.             "kolP2","movebody",
  48.             "kolP3","movebody",
  49.             "kolP4","movebody",
  50.             "kolP5","movebody",
  51.             "kolP6","movebody",
  52.             "gunnerview3_axis","movebody",
  53.             "gunnerview3_axis_v","gunnerview3_axis",
  54.             "gunnerview3","gunnerview3_axis_v",
  55.             "gunnerview2_axis","movebody",
  56.             "gunnerview2_axis_v","gunnerview2_axis",
  57.             "gunnerview2","gunnerview2_axis_v",
  58.             "poklop_driver","movebody",
  59.             "obsTurret","movebody",
  60.             "obsTurret2","movebody",
  61.             "otochlaven","otocvez",
  62.             "rocket","otochlaven",
  63.             "damageVez","otocvez",
  64.             "damageHlaven","otochlaven",
  65.             "obsGun","obsTurret",
  66.             "obsGun2","obsTurret2",
  67.             "lseat_turret","",
  68.             "lseat_gun","lseat_turret",
  69.             "rseat_turret","",
  70.             "rseat_gun","rseat_turret",
  71.             "bseat_turret","",
  72.             "bseat_gun","bseat_turret",
  73.             "poklop_gunner","otocvez",
  74.             "damageHatchG","poklop_gunner",
  75.             "podkoloL1",
  76.             "",
  77.             "podkoloL2",
  78.             "",
  79.             "podkoloL3",
  80.             "",
  81.             "podkoloL4",
  82.             "",
  83.             "podkoloL5",
  84.             "",
  85.             "podkoloP1",
  86.             "",
  87.             "podkoloP2",
  88.             "",
  89.             "podkoloP3",
  90.             "",
  91.             "podkoloP4",
  92.             "",
  93.             "podkoloP5",
  94.             "",
  95.             "koloL1",
  96.             "podkoloL1",
  97.             "koloL2",
  98.             "podkoloL2",
  99.             "koloL3",
  100.             "podkoloL3",
  101.             "koloL4",
  102.             "podkoloL4",
  103.             "koloL5",
  104.             "podkoloL5",
  105.             "koloP1",
  106.             "podkoloP1",
  107.             "koloP2",
  108.             "podkoloP2",
  109.             "koloP3",
  110.             "podkoloP3",
  111.             "koloP4",
  112.             "podkoloP4",
  113.             "koloP5",
  114.             "podkoloP5",
  115.             "podkoloL1_hide",
  116.             "podkoloL1",
  117.             "podkoloL2_hide",
  118.             "podkoloL2",
  119.             "podkoloL3_hide",
  120.             "podkoloL3",
  121.             "podkoloL4_hide",
  122.             "podkoloL4",
  123.             "podkoloL5_hide",
  124.             "podkoloL5",
  125.             "podkoloP1_hide",
  126.             "podkoloP1",
  127.             "podkoloP2_hide",
  128.             "podkoloP2",
  129.             "podkoloP3_hide",
  130.             "podkoloP3",
  131.             "podkoloP4_hide",
  132.             "podkoloP4",
  133.             "podkoloP5_hide",
  134.             "podkoloP5",
  135.             "suspL1","movebody",
  136.             "suspL2","movebody",
  137.             "suspL3","movebody",
  138.             "suspL4","movebody",
  139.             "suspL5","movebody"
  140.         }; // bones
  141.     };
  142.     class sa_bmd_1_iraq:sa_bmd_1
  143.     {
  144.         skeletonInherit = "sa_bmd_1";
  145.     };
  146.     class sa_bmd_1p:sa_bmd_1
  147.     {
  148.         skeletonInherit = "sa_bmd_1";
  149.         skeletonBones[]=
  150.         {
  151.             "at5","otocvez",
  152.             "at5_gun","at5",
  153.             "at5_barrel","at5_gun",
  154.             "at5_gunnerview","at5_gun"
  155.         };
  156.     };
  157. };
  158. /*******************************************************************************
  159. * CfgModels : defines the sections and animations                              *
  160. *******************************************************************************/
  161. class CfgModels
  162. {
  163.     class Default
  164.     {
  165.           sectionsInherit = "";
  166.           sections[] = {};
  167.     };
  168.     class Tank;  // external
  169.     class sa_bmd_1:Tank
  170.     {
  171.         sectionsInherit = ""; // inheritance
  172.         sections[] =
  173.         {
  174.             "podkoloL1",
  175.             "podkoloP1",
  176.             "podkoloL2",
  177.             "podkoloP2",
  178.             "podkoloL3",
  179.             "podkoloP3",
  180.             "podkoloL4",
  181.             "podkoloP4",
  182.             "podkoloL5",
  183.             "podkoloP6",
  184.             "zasleh",
  185.             "zasleh1",
  186.             "zasleh2",
  187.             "kolL1",
  188.             "kolL2",
  189.             "kolL3",
  190.             "kolL4",
  191.             "kolL5",
  192.             "kolL6",
  193.             "kolP1",
  194.             "kolP2",
  195.             "kolP3",
  196.             "kolP4",
  197.             "kolP5",
  198.             "kolP6",
  199.             "koloL1",
  200.             "koloL2",
  201.             "koloL3",
  202.             "koloL4",
  203.             "koloL5",
  204.             "kolP1",
  205.             "koloP1",
  206.             "koloP2",
  207.             "koloP3",
  208.             "koloP4",
  209.             "koloP5",
  210.             "pasanimL",
  211.             "pasanimP",
  212.             "HatchGunner",
  213.             "HatchDriver",
  214.             "otochlaven1",
  215.             "otocvez1",
  216.             "bowmg1_start",
  217.             "bowmg1_end","obsTurret","obsGun","obsTurret2","obsGun2",
  218.             "clan",
  219.             "clan_sign",
  220.             "L svetlo",
  221.             "zadni svetlo",
  222.             "zbytek",
  223.             "movebody",
  224.             "damageHide",
  225.             "damageVez",
  226.             "damageHlaven",
  227.             "damageHatchG",
  228.             "n1",
  229.             "n2",
  230.             "n3",
  231.             "i1",
  232.             "i2",
  233.             "i3",
  234.             "leftTrackT",
  235.             "Camo1",
  236.             "Camo2",
  237.             "Camo3",
  238.             "Camo4",
  239.             "Wheel1",
  240.             "Wheel2",
  241.             "Wheel3"
  242.         }; // sections
  243.         skeletonName = "sa_bmd_1"; // reference to the skeleton used
  244.         class Animations
  245.         {
  246.             /*******************************************************************************
  247.             * Suspension Raise/Lower                                                       *
  248.             *******************************************************************************/
  249.             class suspensionv1
  250.             {
  251.                 type="rotation";
  252.                 source="suspensionv1";
  253.                 selection="movebody";
  254.                 axis="suspaxis";
  255.                 memory="true";
  256.                 sourceAddress = "clamp";
  257.                 angle0="0";
  258.                 angle1="rad 2.5";
  259.             };
  260.             class suspensionv2
  261.             {
  262.                 type="rotation";
  263.                 source="suspensionv1";
  264.                 selection="movebody";
  265.                 axis="suspaxis1";
  266.                 memory="true";
  267.                 sourceAddress = "clamp";
  268.                 angle0="0";
  269.                 angle1="rad -2.5";
  270.             };
  271.             /*******************************************************************************
  272.             * Suspension struts raise/lower                                                *
  273.             *******************************************************************************/
  274.             class suspL1
  275.             {
  276.                 type="rotation";
  277.                 source="strutmove";
  278.                 selection="suspL1";
  279.                 axis="susp1_axis";
  280.                 memory="true";
  281.                 sourceAddress = "clamp";
  282.                 angle0="0";
  283.                 angle1="rad 30";
  284.             };
  285.             class suspL2:suspL1
  286.             {
  287.                 selection="suspL2";
  288.                 axis="susp2_axis";
  289.             };
  290.             class suspL3:suspL1
  291.             {
  292.                 selection="suspL3";
  293.                 axis="susp3_axis";
  294.             };
  295.             class suspL4:suspL1
  296.             {
  297.                 selection="suspL4";
  298.                 axis="susp4_axis";
  299.             };
  300.             class suspL5:suspL1
  301.             {
  302.                 selection="suspL5";
  303.                 axis="susp5_axis";
  304.             };
  305.             /*******************************************************************************
  306.             * Main Turret                                                                  *
  307.             *******************************************************************************/
  308.             class otocvez
  309.             {
  310.                 type = "rotationY";
  311.                 source = "mainTurret";
  312.                 selection = "otocvez";
  313.                 axis = "osaveze";
  314.                 memory = true;
  315.                 sourceAddress = "loop";
  316.                 minValue = rad -360;
  317.                 maxValue = rad +360;
  318.                 angle0 = rad -360;
  319.                 angle1 = rad 360;
  320.             };
  321.             /*******************************************************************************
  322.             * Main Gun                                                                     *
  323.             *******************************************************************************/
  324.             class otochlaven
  325.             {
  326.                 type = "rotationX";
  327.                 source = "mainGun";
  328.                 selection = "otochlaven";
  329.                 axis = "osahlavne";
  330.                 memory = true;
  331.                 sourceAddress = "clamp";
  332.                 minValue = -0.12;
  333.                 maxValue = 1;
  334.                 angle0 = rad -4;
  335.                 angle1 = rad 33;
  336.             };
  337.             /*******************************************************************************
  338.             * Hatches                                                                      *
  339.             *******************************************************************************/
  340.             class HatchGunner
  341.             {
  342.                 type = "rotationX";
  343.                 source = "HatchGunner";
  344.                 selection="poklop_gunner";
  345.                 axis="osa_poklop_gunner";
  346.                 minValue = 0;
  347.                 maxValue = 1;
  348.                 angle0 = 0;
  349.                 angle1= -1.6;
  350.             };
  351.             class HatchDriver
  352.             {
  353.                 type = "rotationY";
  354.                 source = "HatchDriver";
  355.                 selection="poklop_driver";
  356.                 axis="osa_poklop_driver";
  357.                 minValue = 0;
  358.                 maxValue = 1;
  359.                 angle0 = 0;
  360.                 angle1= rad -115;
  361.             };
  362.             /*******************************************************************************
  363.             * Damage                                                                       *
  364.             *******************************************************************************/
  365.             class bodydestranim // Nose dip after destruction  
  366.             {
  367.                 type = "rotation";
  368.                 source = "damage";
  369.                 selection = "movebody";
  370.                 axis = "rockaxisback";
  371.                 sourceAddress = "clamp";
  372.                 memory = 1;
  373.                 minValue = 0;
  374.                 maxValue = 1;
  375.                 angle0 = "0";
  376.                 angle1 = "rad 1.9";
  377.             };
  378.             class HatchGunnerDestr // Open gunner hatch
  379.             {
  380.                 type = "rotationX";
  381.                 source = "damage";
  382.                 selection="poklop_gunner";
  383.                 axis="osa_poklop_gunner";
  384.                 minValue = 0;
  385.                 maxValue = 1;
  386.                 angle0 = 0;
  387.                 angle1= -1.9;
  388.             };
  389.             class HatchDriverDestr // Open driver hatch
  390.             {
  391.                 type = "rotationY";
  392.                 source = "damage";
  393.                 selection="poklop_driver";
  394.                 axis="osa_poklop_driver";
  395.                 minValue = 0;
  396.                 maxValue = 1;
  397.                 angle0 = 0;
  398.                 angle1= rad -155;
  399.             };
  400.             class damageHide
  401.             {
  402.                 type="hide";
  403.                 source="damage";
  404.                 selection="damageHide";
  405.             };
  406.             class damageVez
  407.             {
  408.                 type="hide";
  409.                 source="damage";
  410.                 selection="damageVez";
  411.             };
  412.             class damageHlaven
  413.             {
  414.                 type="hide";
  415.                 source="damage";
  416.                 selection="damageHlaven";
  417.             };
  418.             class damageHatchG
  419.             {
  420.                 type="hide";
  421.                 source="damage";
  422.                 selection="damageHatchG";
  423.             };
  424.             /*******************************************************************************
  425.             * Wheel Rotation                                                               *
  426.             *******************************************************************************/
  427.             class BMD1koloL1
  428.             {
  429.                 type = "rotationX";
  430.                 source = "wheelL";
  431.                 selection = "koloL1";
  432.                 axis = "";
  433.                 memory = true;
  434.                 sourceAddress = "loop";
  435.                 minValue = 0;
  436.                 maxValue = 1;
  437.                 angle0 = 0;
  438.                 angle1 = rad -360;
  439.             };
  440.             class BMD1koloL2 :BMD1koloL1
  441.             {
  442.                 selection = "koloL2";
  443.             };
  444.             class BMD1koloL3 :BMD1koloL1
  445.             {
  446.                 selection = "koloL3";
  447.             };
  448.             class BMD1koloL4 :BMD1koloL1
  449.             {
  450.                 selection = "koloL4";
  451.             };
  452.             class BMD1koloL5 :BMD1koloL1
  453.             {
  454.                 selection = "koloL5";
  455.             };
  456.             class BMD1koll1 :BMD1koloL1
  457.             {
  458.                 selection = "kolL1";
  459.             };
  460.             class BMD1koll2 :BMD1koloL1
  461.             {
  462.                 selection = "kolL2";
  463.             };
  464.             class BMD1koll3 :BMD1koloL1
  465.             {
  466.                 selection = "kolL3";
  467.             };
  468.             class BMD1koll4 :BMD1koloL1
  469.             {
  470.                 selection = "kolL4";
  471.             };
  472.             class BMD1koll5 :BMD1koloL1
  473.             {
  474.                 selection = "kolL5";
  475.             };
  476.             class BMD1koll6 :BMD1koloL1
  477.             {
  478.                 selection = "kolL6";
  479.             };
  480.             class BMD1kolop1
  481.             {
  482.                 type = "rotationX";
  483.                 source = "wheelr";
  484.                 selection = "koloP1";
  485.                 axis = "";
  486.                 memory = true;
  487.                 sourceAddress = "loop";
  488.                 minValue = 0;
  489.                 maxValue = 1;
  490.                 angle0 = 0;
  491.                 angle1 = rad -360;
  492.             };
  493.             class BMD1kolop2 :BMD1kolop1
  494.             {
  495.                 selection = "koloP2";
  496.             };
  497.             class BMD1kolop3 :BMD1kolop1
  498.             {
  499.                 selection = "koloP3";
  500.             };
  501.             class BMD1kolop4 :BMD1kolop1
  502.             {
  503.                 selection = "koloP4";
  504.             };
  505.             class BMD1kolop5 :BMD1kolop1
  506.             {
  507.                 selection = "koloP5";
  508.             };
  509.             class BMD1kolp1 :BMD1kolop1
  510.             {
  511.                 selection = "kolP1";
  512.             };
  513.             class BMD1kolp2 :BMD1kolop1
  514.             {
  515.                 selection = "kolP2";
  516.             };
  517.             class BMD1kolp3 :BMD1kolop1
  518.             {
  519.                 selection = "kolP3";
  520.             };
  521.             class BMD1kolp4 :BMD1kolop1
  522.             {
  523.                 selection = "kolP4";
  524.             };
  525.             class BMD1kolp5 :BMD1kolop1
  526.             {
  527.                 selection = "kolP5";
  528.             };
  529.             class BMD1kolp6 :BMD1kolop1
  530.             {
  531.                 selection = "kolP6";
  532.             };
  533.             /*******************************************************************************
  534.             * Dampers                                                                      *
  535.             *******************************************************************************/
  536.             class Wheel_podkoloL1
  537.             {
  538.                 type="translationY";
  539.                 source="damper";
  540.                 selection="podkoloL1";
  541.                 axis="";
  542.                 memory="false";
  543.                 animPeriod=0;
  544.                 minValue=-1000;
  545.                 maxValue=1000;
  546.             };
  547.             class Wheel_podkoloP1: Wheel_podkoloL1
  548.             {
  549.                 selection="podkoloP1";
  550.             };
  551.             class Wheel_podkoloL2: Wheel_podkoloL1
  552.             {
  553.                 selection="podkoloL2";
  554.             };
  555.             class Wheel_podkoloL3: Wheel_podkoloL1
  556.             {
  557.                 selection="podkoloL3";
  558.             };
  559.             class Wheel_podkoloL4: Wheel_podkoloL1
  560.             {
  561.                 selection="podkoloL4";
  562.             };
  563.             class Wheel_podkoloL5: Wheel_podkoloL1
  564.             {
  565.                 selection="podkoloL5";
  566.             };
  567.             class Wheel_podkoloP2: Wheel_podkoloP1
  568.             {
  569.                 selection="podkoloP2";
  570.             };
  571.             class Wheel_podkoloP3: Wheel_podkoloP1
  572.             {
  573.                 selection="podkoloP3";
  574.             };
  575.             class Wheel_podkoloP4: Wheel_podkoloP1
  576.             {
  577.                 selection="podkoloP4";
  578.             };
  579.             class Wheel_podkoloP5: Wheel_podkoloP1
  580.             {
  581.                 selection="podkoloP5";
  582.             };
  583.             /*******************************************************************************
  584.             * Other Turrets                                                                *
  585.             *******************************************************************************/
  586.             class Gun_2
  587.             {
  588.                 type = "rotationY";
  589.                 source = "Turret_2";
  590.                 selection = "otocvez1";
  591.                 axis = "bowmg1_vert";
  592.                 memory = true;
  593.                 sourceAddress = "loop";
  594.                 minValue = rad -360;
  595.                 maxValue = rad +360;
  596.                 angle0 = rad -360;
  597.                 angle1 = rad 360;
  598.             };
  599.             class Turret_2
  600.             {
  601.                 type = "rotationX";
  602.                 source = "Gun_2";
  603.                 selection = "otochlaven1";
  604.                 axis = "bowmg1_hor";
  605.                 memory = true;
  606.                 sourceAddress = "clamp";
  607.                 minValue = "rad -8.5";
  608.                 maxValue = "rad 50";
  609.                 angle0 = "rad -8.5";
  610.                 angle1 = "rad 50";
  611.             };
  612.             class obsTurret: otocvez
  613.             {
  614.                 type = "rotationY";
  615.                 source = "obsTurret";
  616.                 selection = "obsTurret";
  617.                 axis = "obsTurret";
  618.                 animPeriod = 0;
  619.                 memory = 1;
  620.                 minValue = "rad -360";
  621.                 maxValue = "rad +360";
  622.                 angle0 = "rad -360";
  623.                 angle1 = "rad +360";
  624.             };
  625.             class obsTurretView: otocvez
  626.             {
  627.                 type = "rotationY";
  628.                 source = "obsTurret";
  629.                 selection = "gunnerview2_axis_v";
  630.                 axis = "gunnerview2_axis";
  631.                 animPeriod = 0;
  632.                 memory = 1;
  633.                 minValue = "rad -360";
  634.                 maxValue = "rad +360";
  635.                 angle0 = "rad -360";
  636.                 angle1 = "rad +360";
  637.             };
  638.             class obsTurretViewGun: otochlaven
  639.             {
  640.                 type = "rotationX";
  641.                 source = "obsGun";
  642.                 selection = "gunnerview2";
  643.                 axis = "gunnerview2_axis_v";
  644.                 animPeriod = 0;
  645.                 memory = 1;
  646.                 minValue = "rad -360";
  647.                 maxValue = "rad +360";
  648.                 angle0 = "rad -360";
  649.                 angle1 = "rad +360";
  650.             };
  651.             class obsTurretView2: otocvez
  652.             {
  653.                 type = "rotationY";
  654.                 source = "Turret_2";
  655.                 selection = "gunnerview3_axis_v";
  656.                 axis = "gunnerview3_axis";
  657.                 animPeriod = 0;
  658.                 memory = 1;
  659.                 minValue = "rad -360";
  660.                 maxValue = "rad +360";
  661.                 angle0 = "rad -360";
  662.                 angle1 = "rad +360";
  663.             };
  664.             class obsTurretViewGun2: otochlaven
  665.             {
  666.                 type = "rotationX";
  667.                 source = "Gun_2";
  668.                 selection = "gunnerview3";
  669.                 axis = "gunnerview3_axis_v";
  670.                 animPeriod = 0;
  671.                 memory = 1;
  672.                 minValue = "rad -360";
  673.                 maxValue = "rad +360";
  674.                 angle0 = "rad -360";
  675.                 angle1 = "rad +360";
  676.             };
  677.             class obsGun: otochlaven
  678.             {
  679.                 type = "rotationX";
  680.                 source = "obsGun";
  681.                 selection = "obsGun";
  682.                 axis = "obsGunAx";
  683.                 animPeriod = 0;
  684.                 memory = 1;
  685.                 minValue = "rad -360";
  686.                 maxValue = "rad +360";
  687.                 angle0 = "rad -360";
  688.                 angle1 = "rad +360";
  689.             };
  690.             class obsTurret2: otocvez
  691.             {
  692.                 type = "rotationY";
  693.                 source = "Turret_2";
  694.                 selection = "obsTurret2";
  695.                 axis = "obsTurret2";
  696.                 animPeriod = 0;
  697.                 memory = 1;
  698.                 minValue = "rad -360";
  699.                 maxValue = "rad +360";
  700.                 angle0 = "rad -360";
  701.                 angle1 = "rad +360";
  702.             };
  703.             class obsGun2: otochlaven
  704.             {
  705.                 type = "rotationX";
  706.                 source = "Gun_2";
  707.                 selection = "obsGun2";
  708.                 axis = "obsGunAx2";
  709.                 animPeriod = 0;
  710.                 memory = 1;
  711.                 minValue = "rad -360";
  712.                 maxValue = "rad +360";
  713.                 angle0 = "rad -360";
  714.                 angle1 = "rad +360";
  715.             };
  716.             class lseat_Turret: otocvez
  717.             {
  718.                 type = "rotationY";
  719.                 source = "lseat_Turret";
  720.                 selection = "lseat_turret";
  721.                 axis = "lseat_turret";
  722.                 animPeriod = 0;
  723.                 memory = 1;
  724.                 minValue = "rad -360";
  725.                 maxValue = "rad +360";
  726.                 angle0 = "rad -360";
  727.                 angle1 = "rad +360";
  728.             };
  729.             class lseat_Gun: otochlaven
  730.             {
  731.                 type = "rotationX";
  732.                 source = "lseat_Gun";
  733.                 selection = "lseat_gun";
  734.                 axis = "lseat_gun_axis";
  735.                 animPeriod = 0;
  736.                 memory = 1;
  737.                 minValue = "rad -360";
  738.                 maxValue = "rad +360";
  739.                 angle0 = "rad -360";
  740.                 angle1 = "rad +360";
  741.             };
  742.             class rseat_Turret: otocvez
  743.             {
  744.                 type = "rotationY";
  745.                 source = "rseat_Turret";
  746.                 selection = "rseat_turret";
  747.                 axis = "rseat_turret";
  748.                 animPeriod = 0;
  749.                 memory = 1;
  750.                 minValue = "rad -360";
  751.                 maxValue = "rad +360";
  752.                 angle0 = "rad -360";
  753.                 angle1 = "rad +360";
  754.             };
  755.             class rseat_Gun: otochlaven
  756.             {
  757.                 type = "rotationX";
  758.                 source = "rseat_Gun";
  759.                 selection = "rseat_gun";
  760.                 axis = "rseat_gun_axis";
  761.                 animPeriod = 0;
  762.                 memory = 1;
  763.                 minValue = "rad -360";
  764.                 maxValue = "rad +360";
  765.                 angle0 = "rad -360";
  766.                 angle1 = "rad +360";
  767.             };
  768.             class bseat_Turret: otocvez
  769.             {
  770.                 type = "rotationY";
  771.                 source = "bseat_Turret";
  772.                 selection = "bseat_turret";
  773.                 axis = "bseat_turret";
  774.                 animPeriod = 0;
  775.                 memory = 1;
  776.                 minValue = "rad -360";
  777.                 maxValue = "rad +360";
  778.                 angle0 = "rad -360";
  779.                 angle1 = "rad +360";
  780.             };
  781.             class bseat_Gun: otochlaven
  782.             {
  783.                 type = "rotationX";
  784.                 source = "bseat_Gun";
  785.                 selection = "bseat_gun";
  786.                 axis = "bseat_gun_axis";
  787.                 animPeriod = 0;
  788.                 memory = 1;
  789.                 minValue = "rad -360";
  790.                 maxValue = "rad +360";
  791.                 angle0 = "rad -360";
  792.                 angle1 = "rad +360";
  793.             };
  794.             /*******************************************************************************
  795.             * Water Shields                                                                *
  796.             *******************************************************************************/
  797.             class wave_l
  798.             {
  799.                 type="rotation";
  800.                 source="wave";
  801.                 selection="wave_l";
  802.                 axis="wave_l_axis";
  803.                 memory="true";
  804.                 sourceAddress = "clamp";
  805.                 angle0="0";
  806.                 angle1="rad 101";
  807.             };
  808.             class wave_r
  809.             {
  810.                 type="rotation";
  811.                 source="wave";
  812.                 selection="wave_r";
  813.                 axis="wave_r_axis";
  814.                 memory="true";
  815.                 sourceAddress = "clamp";
  816.                 angle0="0";
  817.                 angle1="rad 101";
  818.             };
  819.             class wave_c
  820.             {
  821.                 type="rotation";
  822.                 source="wave";
  823.                 selection="wave_c";
  824.                 axis="wave_c_axis";
  825.                 memory="true";
  826.                 sourceAddress = "clamp";
  827.                 angle0="0";
  828.                 angle1="rad 110";
  829.             };
  830.         };
  831.     };
  832.     class sa_bmd_1_cdf:sa_bmd_1{};
  833.     class sa_bmd_1_iraq:sa_bmd_1
  834.     {
  835.         sectionsInherit = "sa_bmd_1";
  836.         skeletonName = "sa_bmd_1_iraq";
  837.     };
  838.     class sa_bmd_1p:sa_bmd_1
  839.     {
  840.         sectionsInherit = "sa_bmd_1";
  841.         skeletonName = "sa_bmd_1p";
  842.         class Animations : Animations
  843.         {
  844.             /*******************************************************************************
  845.             * AT5 Turet                                                                    *
  846.             *******************************************************************************/
  847.             class at5_turret
  848.             {
  849.                 type = "rotationY";
  850.                 source = "at5_turret_source";
  851.                 selection = "at5";
  852.                 axis = "at5_gun_axis_v";
  853.                 memory = true;
  854.                 sourceAddress = "loop";
  855.                 minValue = rad -360;
  856.                 maxValue = rad +360;
  857.                 angle0 = rad -360;
  858.                 angle1 = rad 360;
  859.             };
  860.             class at5_gun
  861.             {
  862.                 type = "rotationX";
  863.                 source = "at5_gun_source";
  864.                 selection = "at5_gun";
  865.                 axis = "at5_gun_axis";
  866.                 memory = true;
  867.                 sourceAddress = "clamp";
  868.                 minValue = -0.12;
  869.                 maxValue = 1;
  870.                 angle0 = rad -4;
  871.                 angle1 = rad 33;
  872.             };
  873.             class at5_recoil
  874.             {
  875.                 type = "translation";
  876.                 source = "at5_recoil";
  877.                 selection = "at5_barrel";
  878.                 begin = "Spice rakety";
  879.                 end = "Konec rakety";
  880.                 initPhase = 1;
  881.                 memory = true;
  882.                 animPeriod = 0.05;
  883.                 sourceAddress="mirror";
  884.                 minValue = 0;
  885.                 maxValue = 0.5;
  886.                 offset0 = 0;
  887.                 offset1 = 0.09;
  888.             };
  889.            class HatchGunnerAT5
  890.             {
  891.                 type = "rotationX";
  892.                 source = "HatchGunnerAT5";
  893.                 selection="poklop_gunner";
  894.                 axis="osa_poklop_gunner";
  895.                 minValue = 0;
  896.                 maxValue = 1;
  897.                 angle0 = 0;
  898.                 angle1= -1.6;
  899.             };
  900.         };
  901.     };
  902. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement