Advertisement
Guest User

supacat config

a guest
Jan 10th, 2014
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 10.13 KB | None | 0 0
  1. class CfgPatches
  2. {
  3.     class supacat6x6
  4.     {
  5.         units[]=
  6.         {
  7.             "supacat6x6"
  8.         };
  9.         weapons[]={};
  10.         requiredVersion=1;
  11.     };
  12. };
  13. class CfgWeapons
  14. {
  15.     class Default;
  16.     class CarHorn;
  17.     class SportCarHorn;
  18.     class supacat6x6horn: SportCarHorn
  19.     {
  20.         scope=2;
  21.         displayName="Horn";
  22.         drySound[]=
  23.         {
  24.             "\supacat6x6\Sounds\supacat6x6horn.wav",
  25.             0.1,
  26.             1
  27.         };
  28.     };
  29. };
  30. class CfgVehicleClasses
  31. {
  32.     class supacat6x6
  33.     {
  34.         displayName="supacat6x6";
  35.     };
  36. };
  37. class CfgVehicles
  38. {
  39.     class All
  40.     {
  41.     };
  42.     class AllVehicles: All
  43.     {
  44.     };
  45.     class Land: AllVehicles
  46.     {
  47.     };
  48.     class LandVehicle: Land
  49.     {
  50.     };
  51.     class Car: LandVehicle
  52.     {
  53.     };
  54.     class Car_sedan: Car
  55.     {
  56.         selectionBrakeLights="brzdove svetlo";
  57.         selectionBackLights="zadni svetlo";
  58.         class Reflectors
  59.         {
  60.             class Left
  61.             {
  62.                 color[]={0.89999998,0.80000001,0.80000001,1};
  63.                 ambient[]={0.1,0.1,0.1,1};
  64.                 position="HDlightstart1";
  65.                 direction="HDlightdir1";
  66.                 hitpoint="HDlightstart1";
  67.                 selection="HDlightstart1";
  68.                 size=0.5;
  69.                 brightness=0.5;
  70.             };
  71.             class Right
  72.             {
  73.                 color[]={0.89999998,0.80000001,0.80000001,1};
  74.                 ambient[]={0.1,0.1,0.1,1};
  75.                 position="HDlightstart2";
  76.                 direction="HDlightdir2";
  77.                 hitpoint="HDlightstart2";
  78.                 selection="HDlightstart2";
  79.                 size=0.5;
  80.                 brightness=0.5;
  81.             };
  82.         };
  83.     };
  84.     class supacat6x6: Car_sedan
  85.     {
  86.         nameSound="car";
  87.         accuracy=0.89999998;
  88.         canlock=1;
  89.         scope=2;
  90.         side=1;
  91.         type=1;
  92.         typicalCargo[]={};
  93.         cargoIsCoDriver[]={1,0};
  94.         driverAction="Chopperlight_L_Static_H";
  95.         weapons[]=
  96.         {
  97.             "supacat6x6horn"
  98.         };
  99.         magazines[]={};
  100.         unloadInCombat=1;
  101.         class TransportWeapons
  102.         {
  103.         };
  104.         transportSoldier=5;
  105.         transportMaxMagazines=1000;
  106.         transportMaxWeapons=50;
  107.         viewCargoShadow=1;
  108.         canFloat=1;
  109.         maxSpeed=65;
  110.         turnCoef=1.95;
  111.         terrainCoef=1;
  112.         brakeDistance=20;
  113.         cost=1000;
  114.         fuelCapacity=50;
  115.         armorWheels=0.14;
  116.         armor=25;
  117.         armorStructural=8;
  118.         armorEngine=2.2;
  119.         SoundGetIn[]=
  120.         {
  121.             "\ca\sounds\vehicles\wheeled\offroad\ext\ext-offroad-getout-1",
  122.             0.25118899,
  123.             1
  124.         };
  125.         SoundGetOut[]=
  126.         {
  127.             "\ca\sounds\vehicles\wheeled\offroad\ext\ext-offroad-getout-1",
  128.             0.25118899,
  129.             1,
  130.             30
  131.         };
  132.         soundEngineOnInt[]=
  133.         {
  134.             "ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-start-1",
  135.             0.316228,
  136.             1
  137.         };
  138.         soundEngineOnExt[]=
  139.         {
  140.             "ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-start-1",
  141.             0.316228,
  142.             1,
  143.             200
  144.         };
  145.         soundEngineOffInt[]=
  146.         {
  147.             "ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-stop-1",
  148.             0.316228,
  149.             1
  150.         };
  151.         soundEngineOffExt[]=
  152.         {
  153.             "ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-stop-1",
  154.             0.316228,
  155.             1,
  156.             200
  157.         };
  158.         buildCrash0[]=
  159.         {
  160.             "Ca\sounds\Vehicles\Crash\crash_building_01",
  161.             0.707946,
  162.             1,
  163.             200
  164.         };
  165.         buildCrash1[]=
  166.         {
  167.             "Ca\sounds\Vehicles\Crash\crash_building_02",
  168.             0.707946,
  169.             1,
  170.             200
  171.         };
  172.         buildCrash2[]=
  173.         {
  174.             "Ca\sounds\Vehicles\Crash\crash_building_03",
  175.             0.707946,
  176.             1,
  177.             200
  178.         };
  179.         buildCrash3[]=
  180.         {
  181.             "Ca\sounds\Vehicles\Crash\crash_building_04",
  182.             0.707946,
  183.             1,
  184.             200
  185.         };
  186.         soundBuildingCrash[]=
  187.         {
  188.             "buildCrash0",
  189.             0.25,
  190.             "buildCrash1",
  191.             0.25,
  192.             "buildCrash2",
  193.             0.25,
  194.             "buildCrash3",
  195.             0.25
  196.         };
  197.         WoodCrash0[]=
  198.         {
  199.             "Ca\sounds\Vehicles\Crash\crash_mix_wood_01",
  200.             0.707946,
  201.             1,
  202.             200
  203.         };
  204.         WoodCrash1[]=
  205.         {
  206.             "Ca\sounds\Vehicles\Crash\crash_mix_wood_02",
  207.             0.707946,
  208.             1,
  209.             200
  210.         };
  211.         WoodCrash2[]=
  212.         {
  213.             "Ca\sounds\Vehicles\Crash\crash_mix_wood_03",
  214.             0.707946,
  215.             1,
  216.             200
  217.         };
  218.         WoodCrash3[]=
  219.         {
  220.             "Ca\sounds\Vehicles\Crash\crash_mix_wood_04",
  221.             0.707946,
  222.             1,
  223.             200
  224.         };
  225.         WoodCrash4[]=
  226.         {
  227.             "Ca\sounds\Vehicles\Crash\crash_mix_wood_05",
  228.             0.707946,
  229.             1,
  230.             200
  231.         };
  232.         WoodCrash5[]=
  233.         {
  234.             "Ca\sounds\Vehicles\Crash\crash_mix_wood_06",
  235.             0.707946,
  236.             1,
  237.             200
  238.         };
  239.         soundWoodCrash[]=
  240.         {
  241.             "woodCrash0",
  242.             0.16599999,
  243.             "woodCrash1",
  244.             0.16599999,
  245.             "woodCrash2",
  246.             0.16599999,
  247.             "woodCrash3",
  248.             0.16599999,
  249.             "woodCrash4",
  250.             0.16599999,
  251.             "woodCrash5",
  252.             0.16599999
  253.         };
  254.         ArmorCrash0[]=
  255.         {
  256.             "Ca\sounds\Vehicles\Crash\crash_vehicle_01",
  257.             0.707946,
  258.             1,
  259.             200
  260.         };
  261.         ArmorCrash1[]=
  262.         {
  263.             "Ca\sounds\Vehicles\Crash\crash_vehicle_02",
  264.             0.707946,
  265.             1,
  266.             200
  267.         };
  268.         ArmorCrash2[]=
  269.         {
  270.             "Ca\sounds\Vehicles\Crash\crash_vehicle_03",
  271.             0.707946,
  272.             1,
  273.             200
  274.         };
  275.         ArmorCrash3[]=
  276.         {
  277.             "Ca\sounds\Vehicles\Crash\crash_vehicle_04",
  278.             0.707946,
  279.             1,
  280.             200
  281.         };
  282.         soundArmorCrash[]=
  283.         {
  284.             "ArmorCrash0",
  285.             0.25,
  286.             "ArmorCrash1",
  287.             0.25,
  288.             "ArmorCrash2",
  289.             0.25,
  290.             "ArmorCrash3",
  291.             0.25
  292.         };
  293.         displayName=" supacat6x6 ";
  294.         model="\supacat\supacat6x6.p3d";
  295.         class Library
  296.         {
  297.             libTextDesc=" supacat6x6 ";
  298.         };
  299.         class SoundEvents
  300.         {
  301.             class AccelerationIn
  302.             {
  303.                 sound[]=
  304.                 {
  305.                     "ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-acce-1",
  306.                     0.316228,
  307.                     1
  308.                 };
  309.                 limit=0.69999999;
  310.                 expression="(engineOn*(1-camPos))*gmeterZ*(speed factor[2.5, 4])";
  311.             };
  312.             class AccelerationOut
  313.             {
  314.                 sound[]=
  315.                 {
  316.                     "ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-acce-1",
  317.                     0.316228,
  318.                     1,
  319.                     250
  320.                 };
  321.                 limit=0.69999999;
  322.                 expression="(engineOn*camPos)*gmeterZ*(speed factor[2.5, 4])";
  323.             };
  324.         };
  325.         class Sounds
  326.         {
  327.             class Engine
  328.             {
  329.                 sound[]=
  330.                 {
  331.                     "ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-low-1",
  332.                     0.39810699,
  333.                     1,
  334.                     300
  335.                 };
  336.                 frequency="(randomizer*0.05+0.95)*rpm";
  337.                 volume="camPos*engineOn*((rpm factor[0.21, 0.5]) min (rpm factor[0.7, 0.3]))";
  338.             };
  339.             class EngineHighOut
  340.             {
  341.                 sound[]=
  342.                 {
  343.                     "ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-high-2",
  344.                     0.39810699,
  345.                     1,
  346.                     400
  347.                 };
  348.                 frequency="(randomizer*0.05+0.95)*rpm";
  349.                 volume="camPos*engineOn*(rpm factor[0.5, 0.85])";
  350.             };
  351.             class IdleOut
  352.             {
  353.                 sound[]=
  354.                 {
  355.                     "ca\sounds\Vehicles\Wheeled\offroad\ext\ext-offroad-idle-5",
  356.                     0.22387201,
  357.                     1,
  358.                     200
  359.                 };
  360.                 frequency="1";
  361.                 volume="camPos*engineOn*(rpm factor[0.4, 0])";
  362.             };
  363.             class TiresRockOut
  364.             {
  365.                 sound[]=
  366.                 {
  367.                     "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-rock2",
  368.                     0.316228,
  369.                     1,
  370.                     30
  371.                 };
  372.                 frequency="1";
  373.                 volume="camPos*rock*(speed factor[2, 20])";
  374.             };
  375.             class TiresSandOut
  376.             {
  377.                 sound[]=
  378.                 {
  379.                     "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-sand2",
  380.                     0.316228,
  381.                     1,
  382.                     30
  383.                 };
  384.                 frequency="1";
  385.                 volume="camPos*sand*(speed factor[2, 20])";
  386.             };
  387.             class TiresGrassOut
  388.             {
  389.                 sound[]=
  390.                 {
  391.                     "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-grass3",
  392.                     0.316228,
  393.                     1,
  394.                     30
  395.                 };
  396.                 frequency="1";
  397.                 volume="camPos*grass*(speed factor[2, 20])";
  398.             };
  399.             class TiresMudOut
  400.             {
  401.                 sound[]=
  402.                 {
  403.                     "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-mud2",
  404.                     0.316228,
  405.                     1,
  406.                     30
  407.                 };
  408.                 frequency="1";
  409.                 volume="camPos*mud*(speed factor[2, 20])";
  410.             };
  411.             class TiresGravelOut
  412.             {
  413.                 sound[]=
  414.                 {
  415.                     "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-gravel2",
  416.                     0.316228,
  417.                     1,
  418.                     30
  419.                 };
  420.                 frequency="1";
  421.                 volume="camPos*gravel*(speed factor[2, 20])";
  422.             };
  423.             class TiresAsphaltOut
  424.             {
  425.                 sound[]=
  426.                 {
  427.                     "\ca\SOUNDS\Vehicles\Wheeled\Tires\ext\ext-tires-asphalt3",
  428.                     0.316228,
  429.                     1,
  430.                     30
  431.                 };
  432.                 frequency="1";
  433.                 volume="camPos*asphalt*(speed factor[2, 20])";
  434.             };
  435.             class NoiseOut
  436.             {
  437.                 sound[]=
  438.                 {
  439.                     "ca\sounds\Vehicles\Wheeled\UAZ\ext\ext-noise",
  440.                     0.316228,
  441.                     1,
  442.                     30
  443.                 };
  444.                 frequency="1";
  445.                 volume="camPos*(damper0 max 0.02)*(speed factor[0, 8])";
  446.             };
  447.             class EngineLowIn
  448.             {
  449.                 sound[]=
  450.                 {
  451.                     "ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-low-1",
  452.                     0.56234097,
  453.                     1
  454.                 };
  455.                 frequency="(randomizer*0.05+0.95)*rpm";
  456.                 volume="(1-camPos)*engineOn*((rpm factor[0.2, 0.4]) min (rpm factor[0.7, 0.3]))";
  457.             };
  458.             class EngineHighIn
  459.             {
  460.                 sound[]=
  461.                 {
  462.                     "ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-high-2",
  463.                     0.56234097,
  464.                     1
  465.                 };
  466.                 frequency="(randomizer*0.05+0.95)*rpm";
  467.                 volume="(1-camPos)*engineOn*(rpm factor[0.56, 0.8])";
  468.             };
  469.             class IdleIn
  470.             {
  471.                 sound[]=
  472.                 {
  473.                     "ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-idle-5",
  474.                     0.39810699,
  475.                     1
  476.                 };
  477.                 frequency="1";
  478.                 volume="(1-camPos)*engineOn*(rpm factor[0.4, 0])";
  479.             };
  480.             class TiresRockIn
  481.             {
  482.                 sound[]=
  483.                 {
  484.                     "\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-rock2",
  485.                     0.316228,
  486.                     1
  487.                 };
  488.                 frequency="1";
  489.                 volume="(1-camPos)*rock*(speed factor[2, 20])";
  490.             };
  491.             class TiresSandIn
  492.             {
  493.                 sound[]=
  494.                 {
  495.                     "\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-sand2",
  496.                     0.316228,
  497.                     1
  498.                 };
  499.                 frequency="1";
  500.                 volume="(1-camPos)*sand*(speed factor[2, 20])";
  501.             };
  502.             class TiresGrassIn
  503.             {
  504.                 sound[]=
  505.                 {
  506.                     "\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-grass3",
  507.                     0.316228,
  508.                     1
  509.                 };
  510.                 frequency="1";
  511.                 volume="(1-camPos)*grass*(speed factor[2, 20])";
  512.             };
  513.             class TiresMudIn
  514.             {
  515.                 sound[]=
  516.                 {
  517.                     "\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-mud2",
  518.                     0.316228,
  519.                     1
  520.                 };
  521.                 frequency="1";
  522.                 volume="(1-camPos)*mud*(speed factor[2, 20])";
  523.             };
  524.             class TiresGravelIn
  525.             {
  526.                 sound[]=
  527.                 {
  528.                     "\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-gravel2",
  529.                     0.316228,
  530.                     1
  531.                 };
  532.                 frequency="1";
  533.                 volume="(1-camPos)*gravel*(speed factor[2, 20])";
  534.             };
  535.             class TiresAsphaltIn
  536.             {
  537.                 sound[]=
  538.                 {
  539.                     "\ca\SOUNDS\Vehicles\Wheeled\Tires\int\int-tires-asphalt3",
  540.                     0.316228,
  541.                     1
  542.                 };
  543.                 frequency="1";
  544.                 volume="(1-camPos)*asphalt*(speed factor[2, 20])";
  545.             };
  546.             class NoiseIn
  547.             {
  548.                 sound[]=
  549.                 {
  550.                     "ca\sounds\Vehicles\Wheeled\offroad\int\int-offroad-noise-1",
  551.                     0.316228,
  552.                     1
  553.                 };
  554.                 frequency="1";
  555.                 volume="(damper0 max 0.03)*(speed factor[0, 8])*(1-camPos)";
  556.             };
  557.             class Movement
  558.             {
  559.                 sound="soundEnviron";
  560.                 frequency="1";
  561.                 volume="0";
  562.             };
  563.         };
  564.     };
  565. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement