Advertisement
Guest User

Model.cfg

a guest
Apr 27th, 2013
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 24.83 KB | None | 0 0
  1. class CfgSkeletons
  2. {
  3.     class Default {};
  4.     class truck : Default {};
  5.     class rescue_skel: truck
  6.     {
  7.         isDiscrete=1;
  8.         skeletonInherit="";
  9.         skeletonBones[]=
  10.         {
  11.             "steeringcolumn_1","",
  12.             "steeringcolumn_2","",
  13.             "drivewheel","",
  14.             "wheel_1_damper","",
  15.             "wheel_1_steering","wheel_1_damper",
  16.             "wheel_1","wheel_1_steering",
  17.             "wheel_1_Damage","wheel_1",
  18.  
  19.             "wheel_2_damper","",
  20.             "wheel_2_steering","wheel_2_damper",
  21.             "wheel_2","wheel_2_steering",
  22.             "wheel_2_Damage","wheel_2",
  23.  
  24.             "wheel_3_damper","",
  25.             "wheel_3","wheel_3_damper",
  26.             "wheel_3_Damage","wheel_3",
  27.  
  28.             "wheel_4_damper","",
  29.             "wheel_4","wheel_4_damper",
  30.             "wheel_4_Damage","wheel_4",
  31.  
  32.             "wheel_5_damper","",
  33.             "wheel_5","wheel_5_damper",
  34.  
  35.             "wheel_6_damper","",
  36.             "wheel_6","wheel_6_damper",
  37.        
  38.             "damper_soft","",
  39.            
  40.             // WIPERS
  41.             "wiper_1","",
  42.             "wiper_2","",
  43.  
  44.             // CAB DOORS AND WINDOWS
  45.            
  46.             "door_1","door_1_window",
  47.             "door_2","door_2_window",
  48.             "door_3","door_3_window",
  49.             "door_4","door_4_window",
  50.  
  51.             // COMPARTMENT DOORS
  52.             "comp_door_1","",
  53.             "comp_door_2","",
  54.             "comp_door_3","",
  55.             "comp_door_4","",  
  56.             "comp_door_5","",
  57.             "comp_door_6","",
  58.             "comp_door_7","",
  59.             "comp_door_8","",
  60.  
  61.             "light_radios","",
  62.  
  63.             //FLOOD LIGHTS
  64.             "light_floodrear","",
  65.             "light_floodds","",
  66.             "light_floodps","",
  67.  
  68.             //SIDE SCENE LIGHTS
  69.             "light_perimeter","",
  70.  
  71.             //GUAGES
  72.             "guage_fuel","",
  73.             "guage_mph","",
  74.             "guage_rpm","",
  75.             "guage_oil","",
  76.             "guage_water","",
  77.             "guage_volts","",
  78.             "guage_frontair","",
  79.             "guage_rearair","",
  80.             "guage_trans","",
  81.            
  82.             //SWITCHES
  83.             "switch_master","",
  84.             "switch_wiper","",
  85.             "switch_parkingbrake","",
  86.             "switch_pumpshift","",
  87.             "switch_frontflood","",
  88.             "switch_dsflood","",
  89.             "switch_psflood","",
  90.             "switch_perimeter","",
  91.             "switch_genpto","",
  92.             "switch_emermas","",
  93.             "switch_siren","",
  94.             "switch_direct","",
  95.             "switch_radio2","",
  96.             "switch_radio3","",    
  97.             "switch_avcomm","",
  98.             "switch_federalq","",
  99.                
  100.             "lights_brake","",
  101.            
  102.             // STEPS
  103.             "step_1","",
  104.             "step_2","",
  105.             "step_3","",
  106.             "step_4","",
  107.             "ladder","",
  108.            
  109.             // LIGHT TOWER
  110.             "light_towe","",
  111.             "light_towe","light_towe",
  112.             "light_tow0","light_towe",
  113.             "light_tow1","light_towe",
  114.             "light_tow2","light_towe",
  115.             "light_tow3","light_towe",
  116.             "light_tow4","light_towe",
  117.             "lights_lighttower","light_tow4",
  118.            
  119.             //Lighting
  120.             "lights_sceneleft","",
  121.             "lights_sceneright","",
  122.             "lights_scenefront","",
  123.             "rearchassis_lights","",
  124.             "door_1_light","",
  125.             "door_2_light","",
  126.             "door_3_light","",
  127.             "door_4_light","",
  128.             "LB2b","",
  129.             "LB2f","",
  130.             "LB3b","",
  131.             "LB3f","",
  132.             "LB4b","",
  133.             "LB4f","",
  134.             "LB5b","",
  135.             "LB5f","",
  136.             "LB6b","",
  137.             "LB6f","",
  138.             "LB7b","",
  139.             "LB7f","",
  140.             "LB8b","",
  141.             "LB8f","",
  142.             "LB9","",
  143.             "LB10","",
  144.             "DA1","",
  145.             "DA2","",
  146.             "DA3","",
  147.             "DA4","",
  148.             "DA5","",
  149.             "DA6","",
  150.             "DA7","",
  151.             "DA8","",
  152.             "DL1","",
  153.             "DL2","",
  154.             "DL3","",
  155.             "DL4","",
  156.             "DL5","",
  157.             "DL6",""
  158.         };
  159.     };
  160. };
  161.  
  162.  
  163. class CfgModels
  164. {
  165.     class default{};
  166.     class Vehicle: default{};
  167.     class truck: Vehicle{};
  168.     class rescue: truck
  169.     {
  170.         skeletonName="rescue_skel";
  171.         sectionsInherit="";
  172.         sections[]=
  173.         {
  174.             "lights_brake",
  175.             "lights_night"
  176.         };
  177.         class animations
  178.         {
  179.         //DAMAGE HIDE      
  180.             class damageHide
  181.             {
  182.                 type="hide";
  183.                 source="damage";
  184.                 selection="damageHide";
  185.             };
  186.             class Hood_damage: damageHide
  187.             {
  188.                 selection="hood";
  189.             };
  190.             class Aerial_damage: damageHide
  191.             {
  192.                 selection="aerial";
  193.             };         
  194.             class MirrorHide_damage: damageHide
  195.             {
  196.                 selection="MirrorHide";
  197.             };         
  198.             class CBHide_damage: damageHide
  199.             {
  200.                 selection="CBHide";
  201.             };         
  202.             class wheel_1_Damage: damageHide
  203.             {
  204.                 selection="wheel_1_Damage";
  205.             };
  206.             class wheel_2_Damage: damageHide
  207.             {
  208.                 selection="wheel_2_Damage";
  209.             };
  210.             class wheel_3_Damage: damageHide
  211.             {
  212.                 selection="wheel_3_Damage";
  213.             };
  214.             class wheel_4_Damage: damageHide
  215.             {
  216.                 selection="wheel_4_Damage";
  217.             };
  218.             //hard point animations
  219.             class destruct_heigh_ppt
  220.             {
  221.                 type="translation";
  222.                 source="damage";
  223.                 selection="wheel_1_damper";
  224.                 axis="land_move_axis";
  225.                 memory=1;
  226.                 minValue=0.999999;
  227.                 maxValue=1.000000;
  228.                 offset0= "0.5";
  229.                 offset1= "-0.5";
  230.             };
  231.             class destruct_heigh_pdt: destruct_heigh_ppt
  232.             {
  233.                 selection="wheel_2_damper";
  234.             };
  235.             class destruct_heigh_pprt: destruct_heigh_ppt
  236.             {
  237.                 selection="wheel_3_damper";
  238.             };
  239.             class destruct_heigh_pzt: destruct_heigh_ppt
  240.             {
  241.                 selection="wheel_4_damper";
  242.             };
  243.             class destruct_heigh_lzt: destruct_heigh_ppt
  244.             {
  245.                 selection="wheel_5_damper";
  246.             };
  247.             class destruct_heigh_lprt: destruct_heigh_ppt
  248.             {
  249.                 selection="wheel_6_damper";
  250.             };
  251.  
  252.  
  253. //STEERING COLUMN
  254.             class steeringcolumn_1
  255.             {
  256.                 type="rotation";
  257.                 source="drivingWheel";
  258.                 selection="steeringcolumn_1";
  259.                 axis="axis_steeringcolumn_1";
  260.                 minValue=-1;
  261.                 maxValue=1;
  262.                 angle0=-4;
  263.                 angle1=4;
  264.             };
  265.             class steeringcolumn_2
  266.             {
  267.                 type="rotation";
  268.                 source="drivingWheel";
  269.                 selection="steeringcolumn_2";
  270.                 axis="axis_steeringcolumn_2";
  271.                 minValue=-1;
  272.                 maxValue=1;
  273.                 angle0=-4;
  274.                 angle1=4;
  275.             };
  276.             class drivewheel
  277.             {
  278.                 type="rotation";
  279.                 source="drivingWheel";
  280.                 selection="drivewheel";
  281.                 axis="drivewheel_axis";
  282.                 minValue=-1;
  283.                 maxValue=1;
  284.                 angle0=-4;
  285.                 angle1=4;
  286.             };
  287.  
  288.             //TIRES
  289.             class Steering_1_1
  290.             {
  291.                 type="rotationY";
  292.                 source="drivingWheel";
  293.                 selection="wheel_1_steering";
  294.                 axis="wheel_1_steering_axis";
  295.                 memory=1;
  296.                 minValue="rad -90";
  297.                 maxValue="rad +90";
  298.                 angle0=1.027198;
  299.                 angle1=-1.027198;
  300.             };
  301.             class Steering_2_1: Steering_1_1
  302.             {
  303.                 selection="wheel_2_steering";
  304.                 axis="wheel_2_steering_axis";
  305.                 angle0=1.027198;
  306.                 angle1=-1.027198;
  307.             };
  308.             class Wheel_1_1
  309.             {
  310.                 type="rotation";
  311.                 source="wheel";
  312.                 selection="wheel_1";
  313.                 axis="wheel_1_axis";
  314.                 memory=1;
  315.                 sourceAddress="loop";
  316.                 minValue=0;
  317.                 maxValue=1.7;
  318.                 angle0=0;
  319.                 angle1="-6.28318531 ";
  320.             };
  321.             class Wheel_1_2: Wheel_1_1
  322.             {
  323.                 selection="wheel_3";
  324.                 axis="wheel_3_axis";
  325.             };
  326.             class Wheel_2_1: Wheel_1_1
  327.             {
  328.                 selection="wheel_2";
  329.                 axis="wheel_2_axis";
  330.             };
  331.             class Wheel_2_2: Wheel_1_1
  332.             {
  333.                 selection="wheel_4";
  334.                 axis="wheel_4_axis";
  335.             };
  336.             class Wheel_3_1: Wheel_1_1
  337.             {
  338.                 selection="wheel_5";
  339.                 axis="wheel_5_axis";
  340.             };
  341.             class Wheel_3_2: Wheel_1_1
  342.             {
  343.                 selection="wheel_6";
  344.                 axis="wheel_6_axis";
  345.             };
  346.             class Wheel_1_1_Damper
  347.             {
  348.                 type="translationY";
  349.                 source="damper";
  350.                 selection="wheel_2_damper";
  351.                 axis="wheel_2_damper_axis";
  352.                 minValue=-0.0900000;
  353.                 maxValue=1;
  354.                 memory=1;
  355.                 sourceAddress = "clamp";
  356.                 angle0 = 0;
  357.                 angle1 = "-35";
  358.             };
  359.             class Wheel_1_2_Damper: Wheel_1_1_Damper
  360.             {
  361.                 selection="wheel_1_damper";
  362.                 axis="wheel_1_damper_axis";
  363.             };
  364.             class Wheel_2_1_Damper: Wheel_1_1_Damper
  365.             {
  366.                 selection="wheel_4_damper";
  367.                 axis="wheel_4_damper_axis";
  368.             };
  369.             class Wheel_2_2_Damper: Wheel_1_1_Damper
  370.             {
  371.                 selection="wheel_3_damper";
  372.                 axis="wheel_3_damper_axis";
  373.             };
  374.             class Wheel_3_1_Damper: Wheel_1_1_Damper
  375.             {
  376.                 selection="wheel_5_damper";
  377.                 axis="wheel_5_damper_axis";
  378.             };
  379.             class Wheel_3_2_Damper: Wheel_1_1_Damper
  380.             {
  381.                 selection="wheel_6_damper";
  382.                 axis="wheel_6_damper_axis";
  383.             };
  384.            
  385. //SFX TRUCK DAMPER         
  386.     /*      class damper_soft
  387.             {
  388.                 type="translationY";
  389.                 source="damper";
  390.                 selection="damper_soft";
  391.                 axis="";
  392.                 minValue=-1.09;
  393.                 maxValue=1.09;
  394.                 memory=1;
  395.             };*/
  396.  
  397.        
  398. //CAB DOORS
  399.             class ani_door_1
  400.             {
  401.                 type="rotation";
  402.                 source = "OneSecondAnim";
  403.                 sourceAddress = "clamp";
  404.                 selection="door_1";
  405.                 axis="door_1_axis";
  406.                 angle0=0;
  407.                 angle1=1.2;
  408.                 memory = true;
  409.                 minValue = 0;
  410.                 maxValue = 1;
  411.             };
  412.             class ani_door_2
  413.             {
  414.                 type="rotation";
  415.                 source = "OneSecondAnim";
  416.                 sourceAddress = "clamp";
  417.                 selection="door_2";
  418.                 axis="door_2_axis";
  419.                 angle0=0;
  420.                 angle1=-1.3;
  421.                 memory = true;
  422.                 minValue = 0;
  423.                 maxValue = 1;
  424.             };
  425.             class ani_door_3
  426.             {
  427.                 type="rotation";
  428.                 source = "OneSecondAnim";
  429.                 sourceAddress = "clamp";
  430.                 selection="door_3";
  431.                 axis="door_3_axis";
  432.                 angle0=0;
  433.                 angle1=1.2;
  434.                 memory = true;
  435.                 minValue = 0;
  436.                 maxValue = 1;
  437.             };
  438.             class ani_door_4
  439.             {
  440.                 type="rotation";
  441.                 source = "OneSecondAnim";
  442.                 sourceAddress = "clamp";
  443.                 selection="door_4";
  444.                 axis="door_4_axis";
  445.                 angle0=0;
  446.                 angle1=-1.3;
  447.                 memory = true;
  448.                 minValue = 0;
  449.                 maxValue = 1;
  450.             };
  451.             class ani_door_1_window
  452.             {
  453.                 source = "OneSecondAnim";
  454.                 type = "translation";
  455.                 animPeriod = 1;
  456.                 selection = "door_1_window";
  457.                 axis = "window_axis";
  458.                 offset0  = 0;
  459.                 offset1  = 1;
  460.             };
  461.             class ani_door_2_window
  462.             {
  463.                 source = "OneSecondAnim";
  464.                 type = "translation";
  465.                 animPeriod = 1;
  466.                 selection = "door_2_window";
  467.                 axis = "window_axis";
  468.                 offset0  = 0;
  469.                 offset1  = 1;
  470.             };
  471.             class ani_door_3_window
  472.             {
  473.                 source = "OneSecondAnim";
  474.                 type = "translation";
  475.                 animPeriod = 1;
  476.                 selection = "door_3_window";
  477.                 axis = "window_axis";
  478.                 offset0  = 0;
  479.                 offset1  = 1;
  480.             };
  481.             class ani_door_4_window
  482.             {
  483.                 source = "OneSecondAnim";
  484.                 type = "translation";
  485.                 animPeriod = 1;
  486.                 selection = "door_4_window";
  487.                 axis = "window_axis";
  488.                 offset0  = 0;
  489.                 offset1  = 1;
  490.             };
  491.            
  492.             //COMPARTMENT DOORS
  493.             class ani_compdoor_1
  494.             {
  495.                 type="rotation";
  496.                 source = "OneSecondAnim";
  497.                 sourceAddress = "clamp";
  498.                 selection="comp_door_1";
  499.                 axis="axis_comp_door_1";
  500.                 angle0=0;
  501.                 angle1=1.5;
  502.                 memory = true;
  503.                 minValue = 0;
  504.                 maxValue = 1;
  505.             };
  506.             class ani_compdoor_2
  507.             {
  508.                 type="rotation";
  509.                 source = "OneSecondAnim";
  510.                 sourceAddress = "clamp";
  511.                 selection="comp_door_2";
  512.                 axis="axis_comp_door_2";
  513.                 angle0=0;
  514.                 angle1=-1.5;
  515.                 memory = true;
  516.                 minValue = 0;
  517.                 maxValue = 1;
  518.             };
  519.             class ani_compdoor_3
  520.             {
  521.                 type="rotation";
  522.                 source = "OneSecondAnim";
  523.                 sourceAddress = "clamp";
  524.                 selection="comp_door_3";
  525.                 axis="axis_comp_door_3";
  526.                 angle0=0;
  527.                 angle1=1.5;
  528.                 memory = true;
  529.                 minValue = 0;
  530.                 maxValue = 1;
  531.             };
  532.             class ani_compdoor_4
  533.             {
  534.                 type="rotation";
  535.                 source = "OneSecondAnim";
  536.                 sourceAddress = "clamp";
  537.                 selection="comp_door_4";
  538.                 axis="axis_comp_door_4";
  539.                 angle0=0;
  540.                 angle1=-1.5;
  541.                 memory = true;
  542.                 minValue = 0;
  543.                 maxValue = 1;
  544.             };
  545.             class ani_compdoor_5
  546.             {
  547.                 type="rotation";
  548.                 source = "OneSecondAnim";
  549.                 sourceAddress = "clamp";
  550.                 selection="comp_door_5";
  551.                 axis="axis_comp_door_5";
  552.                 angle0=0;
  553.                 angle1=1.5;
  554.                 memory = true;
  555.                 minValue = 0;
  556.                 maxValue = 1;
  557.             };
  558.             class ani_compdoor_6
  559.             {
  560.                 type="rotation";
  561.                 source = "OneSecondAnim";
  562.                 sourceAddress = "clamp";
  563.                 selection="comp_door_6";
  564.                 axis="axis_comp_door_6";
  565.                 angle0=0;
  566.                 angle1=-1.5;
  567.                 memory = true;
  568.                 minValue = 0;
  569.                 maxValue = 1;
  570.             };
  571.             class ani_compdoor_7
  572.             {
  573.                 type="rotation";
  574.                 source = "OneSecondAnim";
  575.                 sourceAddress = "clamp";
  576.                 selection="comp_door_7";
  577.                 axis="axis_comp_door_7";
  578.                 angle0=0;
  579.                 angle1=-1.5;
  580.                 memory = true;
  581.                 minValue = 0;
  582.                 maxValue = 1;
  583.             };
  584.             class ani_compdoor_8
  585.             {
  586.                 type="rotation";
  587.                 source = "OneSecondAnim";
  588.                 sourceAddress = "clamp";
  589.                 selection="comp_door_8";
  590.                 axis="axis_comp_door_8";
  591.                 angle0=0;
  592.                 angle1=1.5;
  593.                 memory = true;
  594.                 minValue = 0;
  595.                 maxValue = 1;
  596.             };
  597.  
  598.             //"guage_mph","",
  599.             //"guage_rpm","",
  600.             //"guage_fuel","",
  601.             //"guage_oil","",
  602.             //"guage_water","",
  603.             //"guage_volt","",
  604.             //"guage_frontair","",
  605.             //"guage_rearair","",
  606.             //"guage_trans","",
  607.  
  608. //GUAGES
  609.             class ani_mph
  610.             {
  611.                 type="rotation";
  612.                 source="speed";
  613.                 selection="guage_mph";
  614.                 axis="axis_guage_mph";
  615.                 memory=1;
  616.                 maxValue=85;
  617.                 angle0=0;
  618.                 angle1="rad -240";
  619.             };
  620.             class ani_rpm
  621.             {
  622.                 type="rotation";
  623.                 source="rpm";
  624.                 selection="guage_rpm";
  625.                 axis="axis_guage_rpm";
  626.                 memory=1;
  627.                 minValue = 0;
  628.                 maxValue = 1.5;            
  629.                 angle0=0;
  630.                 angle1="rad -240";
  631.             };
  632.             class ani_fuel
  633.             {
  634.                 type="rotation";
  635.                 source = "FiveSecondAnim";
  636.                 sourceAddress = "clamp";
  637.                 selection="guage_fuel";
  638.                 axis="axis_guage_fuel";
  639.                 angle0=0;
  640.                 angle1=-1.55;
  641.                 memory = true;
  642.                 minValue = 0;
  643.                 maxValue = 1;
  644.             };
  645.             class ani_oil
  646.             {
  647.                 type="rotation";
  648.                 source = "FiveSecondAnim";
  649.                 sourceAddress = "clamp";
  650.                 selection="guage_oil";
  651.                 axis="axis_guage_oil";
  652.                 angle0=0;
  653.                 angle1=-1.55;
  654.                 memory = true;
  655.                 minValue = 0;
  656.                 maxValue = 1;
  657.             };
  658.             class ani_water
  659.             {
  660.                 type="rotation";
  661.                 source = "FiveSecondAnim";
  662.                 sourceAddress = "clamp";
  663.                 selection="guage_water";
  664.                 axis="axis_guage_water";
  665.                 angle0=0;
  666.                 angle1=-1.55;
  667.                 memory = true;
  668.                 minValue = 0;
  669.                 maxValue = 1;
  670.             };
  671.             class ani_volts
  672.             {
  673.                 type="rotation";
  674.                 source = "FiveSecondAnim";
  675.                 sourceAddress = "clamp";
  676.                 selection="guage_volts";
  677.                 axis="axis_guage_volts";
  678.                 angle0=0;
  679.                 angle1=-1.55;
  680.                 memory = true;
  681.                 minValue = 0;
  682.                 maxValue = 1;
  683.             };
  684.             class ani_frontair
  685.             {
  686.                 type="rotation";
  687.                 source = "FiveSecondAnim";
  688.                 sourceAddress = "clamp";
  689.                 selection="guage_frontair";
  690.                 axis="axis_guage_frontair";
  691.                 angle0=0;
  692.                 angle1=-4.60;
  693.                 memory = true;
  694.                 minValue = 0;
  695.                 maxValue = 1;
  696.             };
  697.             class ani_rearair
  698.             {
  699.                 type="rotation";
  700.                 source = "FiveSecondAnim";
  701.                 sourceAddress = "clamp";
  702.                 selection="guage_rearair";
  703.                 axis="axis_guage_rearair";
  704.                 angle0=0;
  705.                 angle1=-4.60;
  706.                 memory = true;
  707.                 minValue = 0;
  708.                 maxValue = 1;
  709.             };
  710.             class ani_trans
  711.             {
  712.                 type="rotation";
  713.                 source = "FiveSecondAnim";
  714.                 sourceAddress = "clamp";
  715.                 selection="guage_trans";
  716.                 axis="axis_guage_trans";
  717.                 angle0=0;
  718.                 angle1=-1.55;
  719.                 memory = true;
  720.                 minValue = 0;
  721.                 maxValue = 1;
  722.             };
  723.  
  724. //RADIO SWITCHES
  725.             class ani_radios
  726.             {
  727.                 type="hide";
  728.                 source="ZeroSecondAnim";
  729.                 selection="light_radios";
  730.                 minValue = 0;
  731.                 maxValue = 1;
  732.                 minPhase = 0;
  733.                 maxPhase = 1;
  734.                 hideValue = .5;
  735.             };
  736.             class ani_radio2
  737.             {
  738.                 type="rotation";
  739.                 source = "HalfSecondAnim";         
  740.                 sourceAddress = "clamp";
  741.                 selection="switch_radio2";
  742.                 axis="axis_radio2";
  743.                 angle0=0;
  744.                 angle1=2.5;
  745.                 memory = true;
  746.                 minValue = 0;
  747.                 maxValue = 1;
  748.             };
  749.             class ani_radio3
  750.             {
  751.                 type="rotation";
  752.                 source = "HalfSecondAnim";
  753.                 sourceAddress = "clamp";
  754.                 selection="switch_radio3";
  755.                 axis="axis_radio3";
  756.                 angle0=0;
  757.                 angle1=1;
  758.                 memory = true;
  759.                 minValue = 0;
  760.                 maxValue = 1;
  761.             }; 
  762.    
  763.             class ani_lightrearflood
  764.             {
  765.                 type="hide";
  766.                 source="ZeroSecondAnim";
  767.                 selection="light_floodrear";
  768.                 minValue = 0;
  769.                 maxValue = 1;
  770.                 minPhase = 0;
  771.                 maxPhase = 1;
  772.                 hideValue = .5;
  773.             }; 
  774.             class ani_lightdsflood
  775.             {
  776.                 type="hide";
  777.                 source="ZeroSecondAnim";
  778.                 selection="light_floodds";
  779.                 minValue = 0;
  780.                 maxValue = 1;
  781.                 minPhase = 0;
  782.                 maxPhase = 1;
  783.                 hideValue = .5;
  784.             };
  785.             class ani_lightpsflood
  786.             {
  787.                 type="hide";
  788.                 source="ZeroSecondAnim";
  789.                 selection="light_floodps";
  790.                 minValue = 0;
  791.                 maxValue = 1;
  792.                 minPhase = 0;
  793.                 maxPhase = 1;
  794.                 hideValue = .5;
  795.             };
  796.  
  797.             class ani_lightperimeter
  798.             {
  799.                 type="hide";
  800.                 source="ZeroSecondAnim";
  801.                 selection="light_perimeter";
  802.                 minValue = 0;
  803.                 maxValue = 1;
  804.                 minPhase = 0;
  805.                 maxPhase = 1;
  806.                 hideValue = .5;
  807.             };
  808.  
  809.             class light_radio2_generic
  810.             {
  811.                 type="hide";
  812.                 source="OneSecondAnim";
  813.                 selection="light_radio2_generic";
  814.             };
  815.             class light_
  816.             {
  817.                 type="hide";
  818.                 source="OneSecondAnim";
  819.                 selection="damageHide";
  820.             };
  821.             class ani_master
  822.             {
  823.                 type="rotation";
  824.                 source = "ZeroSecondAnim";
  825.                 sourceAddress = "clamp";
  826.                 selection="switch_";
  827.                 axis="axis_switch_";
  828.                 angle0=0;
  829.                 angle1=3;
  830.                 memory = true;
  831.                 minValue = 0;
  832.                 maxValue = 1;
  833.             };
  834.             class ani_wiper
  835.             {
  836.                 type="rotation";
  837.                 source = "OneSecondAnim";
  838.                 sourceAddress = "clamp";
  839.                 selection="switch_wiper";
  840.                 axis="axis_wiper";
  841.                 angle0=0;
  842.                 angle1=-1;
  843.                 memory = true;
  844.                 minValue = 0;
  845.                 maxValue = 1;
  846.             };
  847.            
  848.             class ani_parkingbrake
  849.             {
  850.                 type="translation";
  851.                 source = "ZeroSecondAnim";
  852.                 sourceAddress = "clamp";
  853.                 selection="switch_parkingbrake";
  854.                 axis="axis_switch_parkingbrake";
  855.                 memory = true;
  856.                 minValue = 0;
  857.                 maxValue = 1;
  858.                 offset0=0;
  859.                 offset1=-0.280000;
  860.             };
  861.             class ani_pumpshift
  862.             {
  863.                 type="rotation";
  864.                 source = "ZeroSecondAnim";
  865.                 sourceAddress = "clamp";
  866.                 selection="switch_pumpshift";
  867.                 axis="axis_switch_pumpshift";
  868.                 angle0=0;
  869.                 angle1=3;
  870.                 memory = true;
  871.                 minValue = 0;
  872.                 maxValue = 1;
  873.             };
  874.             //console 2
  875.             class ani_frontflood
  876.             {
  877.                 type="rotation";
  878.                 source = "ZeroSecondAnim";
  879.                 sourceAddress = "clamp";
  880.                 selection="switch_frontflood";
  881.                 axis="axis_switch_console_2_a";
  882.                 angle0=0;
  883.                 angle1=3;
  884.                 memory = true;
  885.                 minValue = 0;
  886.                 maxValue = 1;
  887.             };
  888.             class ani_dsflood
  889.             {
  890.                 type="rotation";
  891.                 source = "ZeroSecondAnim";
  892.                 sourceAddress = "clamp";
  893.                 selection="switch_dsflood";
  894.                 axis="axis_switch_console_2_a";
  895.                 angle0=0;
  896.                 angle1=3;
  897.                 memory = true;
  898.                 minValue = 0;
  899.                 maxValue = 1;
  900.             };
  901.             class ani_psflood
  902.             {
  903.                 type="rotation";
  904.                 source = "ZeroSecondAnim";
  905.                 sourceAddress = "clamp";
  906.                 selection="switch_psflood";
  907.                 axis="axis_switch_1";
  908.                 angle0=0;
  909.                 angle1=3;
  910.                 memory = true;
  911.                 minValue = 0;
  912.                 maxValue = 1;
  913.             };
  914.             class ani_perimeter
  915.             {
  916.                 type="rotation";
  917.                 source = "ZeroSecondAnim";
  918.                 sourceAddress = "clamp";
  919.                 selection="switch_perimeter";
  920.                 axis="axis_switch_perimeter";
  921.                 angle0=0;
  922.                 angle1=3;
  923.                 memory = true;
  924.                 minValue = 0;
  925.                 maxValue = 1;
  926.             };
  927.             class ani_genpto
  928.             {
  929.                 type="rotation";
  930.                 source = "ZeroSecondAnim";
  931.                 sourceAddress = "clamp";
  932.                 selection="switch_genpto";
  933.                 axis="axis_switch_perimeter";
  934.                 angle0=0;
  935.                 angle1=3;
  936.                 memory = true;
  937.                 minValue = 0;
  938.                 maxValue = 1;
  939.             };
  940.             //console1
  941.             class ani_emermas
  942.             {
  943.                 type="rotation";
  944.                 source = "ZeroSecondAnim";
  945.                 sourceAddress = "clamp";
  946.                 selection="switch_emermas";
  947.                 axis="axis_perimeter";
  948.                 angle0=0;
  949.                 angle1=3;
  950.                 memory = true;
  951.                 minValue = 0;
  952.                 maxValue = 1;
  953.             };
  954.             class ani_siren
  955.             {
  956.                 type="rotation";
  957.                 source = "ZeroSecondAnim";
  958.                 sourceAddress = "clamp";
  959.                 selection="switch_siren";
  960.                 axis="axis_switches";
  961.                 angle0=0;
  962.                 angle1=3;
  963.                 memory = true;
  964.                 minValue = 0;
  965.                 maxValue = 1;
  966.             };
  967.             class ani_rearchassislights
  968.             {
  969.                 type="hide";
  970.                 source="LightHide";
  971.                 selection="rearchassis_lights";
  972.                 minValue = 0;
  973.                 maxValue = 1;
  974.                 minPhase = 0;
  975.                 maxPhase = 1;
  976.                 hideValue = 1;
  977.             };
  978.             class ani_sceneleft
  979.             {
  980.                 type="hide";
  981.                 source="LightHide";
  982.                 selection="lights_sceneleft";
  983.                 minValue = 0;
  984.                 maxValue = 1;
  985.                 minPhase = 0;
  986.                 maxPhase = 1;
  987.                 hideValue = 1;
  988.             };
  989.             class ani_scenefront
  990.             {
  991.                 type="hide";
  992.                 source="LightHide";
  993.                 selection="lights_scenefront";
  994.                 minValue = 0;
  995.                 maxValue = 1;
  996.                 minPhase = 0;
  997.                 maxPhase = 1;
  998.                 hideValue = 1;
  999.             };
  1000.             class ani_sceneright
  1001.             {
  1002.                 type="hide";
  1003.                 source="LightHide";
  1004.                 selection="lights_sceneright";
  1005.                 minValue = 0;
  1006.                 maxValue = 1;
  1007.                 minPhase = 0;
  1008.                 maxPhase = 1;
  1009.                 hideValue = 1;
  1010.             };
  1011.             class door_1_light
  1012.             {
  1013.                 type="hide";
  1014.                 source="LightHide";
  1015.                 selection="door_1_light";
  1016.                 minValue = 0;
  1017.                 maxValue = 1;
  1018.                 minPhase = 0;
  1019.                 maxPhase = 1;
  1020.                 hideValue = 1;
  1021.             };
  1022.             class door_2_light
  1023.             {
  1024.                 type="hide";
  1025.                 source="LightHide";
  1026.                 selection="door_2_light";
  1027.                 minValue = 0;
  1028.                 maxValue = 1;
  1029.                 minPhase = 0;
  1030.                 maxPhase = 1;
  1031.                 hideValue = 1;
  1032.             };
  1033.             class door_3_light
  1034.             {
  1035.                 type="hide";
  1036.                 source="LightHide";
  1037.                 selection="door_3_light";
  1038.                 minValue = 0;
  1039.                 maxValue = 1;
  1040.                 minPhase = 0;
  1041.                 maxPhase = 1;
  1042.                 hideValue = 1;
  1043.             };
  1044.             class door_4_light
  1045.             {
  1046.                 type="hide";
  1047.                 source="LightHide";
  1048.                 selection="door_4_light";
  1049.                 minValue = 0;
  1050.                 maxValue = 1;
  1051.                 minPhase = 0;
  1052.                 maxPhase = 1;
  1053.                 hideValue = 1;
  1054.             };
  1055.             class ani_backup_led
  1056.             {
  1057.                 type="hide";
  1058.                 source="LightHide";
  1059.                 selection="backup_led";
  1060.                 minValue = 0;
  1061.                 maxValue = 1;
  1062.                 minPhase = 0;
  1063.                 maxPhase = 1;
  1064.                 hideValue = 1;
  1065.             };
  1066.             class ani_direct
  1067.             {
  1068.                 type="rotation";
  1069.                 source = "ZeroSecondAnim";
  1070.                 sourceAddress = "clamp";
  1071.                 selection="switch_direct";
  1072.                 axis="axis_direct";
  1073.                 angle0=0;
  1074.                 angle1=3;
  1075.                 memory = true;
  1076.                 minValue = 0;
  1077.                 maxValue = 1;
  1078.             };
  1079.             class ani_motorolas
  1080.             {
  1081.                 type="rotation";
  1082.                 source = "ZeroSecondAnim";
  1083.                 sourceAddress = "clamp";
  1084.                 selection="switch_motorolas";
  1085.                 axis="axis_motorolas";
  1086.                 angle0=0;
  1087.                 angle1=3;
  1088.                 memory = true;
  1089.                 minValue = 0;
  1090.                 maxValue = 1;
  1091.             };
  1092.             class ani_avcomm
  1093.             {
  1094.                 type="rotation";
  1095.                 source = "ZeroSecondAnim";
  1096.                 sourceAddress = "clamp";
  1097.                 selection="switch_avcomm";
  1098.                 axis="axis_avcomm";
  1099.                 angle0=0;
  1100.                 angle1=3;
  1101.                 memory = true;
  1102.                 minValue = 0;
  1103.                 maxValue = 1;
  1104.             };
  1105.             //Dashboard indicators
  1106.             class ani_fuelind
  1107.             {
  1108.                 type="rotation";
  1109.                 source = "ZeroSecondAnim";
  1110.                 sourceAddress = "clamp";
  1111.                 selection="fuelind";
  1112.                 axis="axis_ind";
  1113.                 angle0=0;
  1114.                 angle1=3;
  1115.                 minValue = 0;
  1116.                 maxValue = 1;
  1117.             };
  1118.             class ani_chkengind
  1119.             {
  1120.                 type="rotation";
  1121.                 source = "ZeroSecondAnim";
  1122.                 sourceAddress = "clamp";
  1123.                 selection="chkengind";
  1124.                 axis="axis_ind";
  1125.                 angle0=0;
  1126.                 angle1=3;
  1127.                 minValue = 0;
  1128.                 maxValue = 1;
  1129.             };
  1130.             class ani_doorind
  1131.             {
  1132.                 type="rotation";
  1133.                 source = "OneSecondAnim";
  1134.                 sourceAddress = "clamp";
  1135.                 selection="doorind";
  1136.                 axis="axis_ind";
  1137.                 angle0=0;
  1138.                 angle1=3;
  1139.                 minValue = 0;
  1140.                 maxValue = 1;
  1141.             };
  1142.            
  1143.             //STEPS
  1144.             class ani_step_1
  1145.             {
  1146.                 type="rotation";
  1147.                 source = "OneSecondAnim";
  1148.                 sourceAddress = "clamp";
  1149.                 selection="step_1";
  1150.                 axis="step_1_axis";
  1151.                 angle0=0;
  1152.                 angle1=2.5;
  1153.                 memory = true;
  1154.                 minValue = 0;
  1155.                 maxValue = 1;
  1156.             };
  1157.             class ani_step_2
  1158.             {
  1159.                 type="rotation";
  1160.                 source = "OneSecondAnim";
  1161.                 sourceAddress = "clamp";
  1162.                 selection="step_2";
  1163.                 axis="step_2_axis";
  1164.                 angle0=0;
  1165.                 angle1=2.5;
  1166.                 memory = true;
  1167.                 minValue = 0;
  1168.                 maxValue = 1;
  1169.             };
  1170.             class ani_step_3
  1171.             {
  1172.                 type="rotation";
  1173.                 source = "OneSecondAnim";
  1174.                 sourceAddress = "clamp";
  1175.                 selection="step_3";
  1176.                 axis="step_3_axis";
  1177.                 angle0=0;
  1178.                 angle1=2.5;
  1179.                 memory = true;
  1180.                 minValue = 0;
  1181.                 maxValue = 1;
  1182.             };
  1183.             class ani_step_4
  1184.             {
  1185.                 type="rotation";
  1186.                 source = "OneSecondAnim";
  1187.                 sourceAddress = "clamp";
  1188.                 selection="step_4";
  1189.                 axis="step_4_axis";
  1190.                 angle0=0;
  1191.                 angle1=2.5;
  1192.                 memory = true;
  1193.                 minValue = 0;
  1194.                 maxValue = 1;
  1195.             };
  1196.            
  1197.             //LIGHT TOWER
  1198.             class ani_lighttowe
  1199.             {
  1200.                 type="rotation";
  1201.                 source = "FiveSecondAnim";
  1202.                 sourceAddress = "clamp";
  1203.                 selection="light_towe";
  1204.                 axis="lighttowerrotate_axis";
  1205.                 angle0=0;
  1206.                 angle1=1.56;
  1207.                 memory = true;
  1208.                 minValue = 0;
  1209.                 maxValue = 1;
  1210.             };
  1211.             class ani_lighttow0
  1212.             {
  1213.                 source = "FiveSecondAnim";
  1214.                 type = "translation";
  1215.                 animPeriod = 5;
  1216.                 selection = "light_tow0";
  1217.                 axis = "lighttowerraise_axis";
  1218.                 offset0  = 0;
  1219.                 offset1  = 3;
  1220.             };
  1221.             class ani_lighttow1
  1222.             {
  1223.                 source = "FiveSecondAnim";
  1224.                 type = "translation";
  1225.                 animPeriod = 5;
  1226.                 selection = "light_tow1";
  1227.                 axis = "lighttowerraise_axis";
  1228.                 offset0  = 0;
  1229.                 offset1  = 6;
  1230.             };
  1231.             class ani_lighttow2
  1232.             {
  1233.                 source = "FiveSecondAnim";
  1234.                 type = "translation";
  1235.                 animPeriod = 5;
  1236.                 selection = "light_tow2";
  1237.                 axis = "lighttowerraise_axis";
  1238.                 offset0  = 0;
  1239.                 offset1  = 9;
  1240.             };
  1241.             class ani_lighttow3
  1242.             {
  1243.                 source = "FiveSecondAnim";
  1244.                 type = "translation";
  1245.                 animPeriod = 5;
  1246.                 selection = "light_tow3";
  1247.                 axis = "lighttowerraise_axis";
  1248.                 offset0  = 0;
  1249.                 offset1  = 12;
  1250.             };
  1251.             class ani_lighttow4
  1252.             {
  1253.                 source = "FiveSecondAnim";
  1254.                 type = "translation";
  1255.                 animPeriod = 5;
  1256.                 selection = "light_tow4";
  1257.                 axis = "lighttowerraise_axis";
  1258.                 offset0  = 0;
  1259.                 offset1  = 15;
  1260.             };
  1261.         };
  1262.     };
  1263. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement