Advertisement
Guest User

Untitled

a guest
Feb 26th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 12.70 KB | None | 0 0
  1. ////////////////////////////////////////////////////////////////////
  2. //DeRap: Produced from mikero's Dos Tools Dll version 5.66
  3. //'now' is Sun Feb 26 02:40:58 2017 : 'file' last modified on Wed Oct 03 04:00:44 2012
  4. //http://dev-heaven.net/projects/list_files/mikero-pbodll
  5. ////////////////////////////////////////////////////////////////////
  6.  
  7. #define _ARMA_
  8.  
  9. //Class E:/arma 3 mods/@I44_Vehicles/Addons/i44_base_scripts/x/inv44/addons/i44_base_scripts/config.bin{
  10. class CfgPatches
  11. {
  12.     class I44_base_scripts
  13.     {
  14.         requiredVersion = 1.0;
  15.         requiredAddons[] = {"Extended_EventHandlers","CA_Modules_ARTY","cba_events"};
  16.         units[] = {"I44_Module_bloodEffects","I44_Module_woundEffects","I44_Module_woundEffects_AI","I44_Module_tankPenetration","I44_Module_Artillery","I44_Module_Artillery_Virtual","I44_Module_Weather_snow_flurry","I44_Module_Weather_snow_light","I44_Module_Weather_snow_moderate","I44_Module_Weather_snow_heavy","I44_Module_Weather_snow_blizzard","I44_Module_Weather_snow_random_light","I44_Module_Weather_snow_random_heavy","I44_Module_Weather_snow_random_full"};
  17.     };
  18. };
  19. class Extended_PreInit_EventHandlers
  20. {
  21.     I44_All_PreInit = "call compile preProcessFileLineNumbers '\x\inv44\addons\i44_base_scripts\EH\_init.sqf';";
  22.     I44_WND_PreInit = "call compile preProcessFileLineNumbers '\x\inv44\addons\i44_scripts_wounding\_init.sqf';";
  23.     I44_VHD_PreInit = "call compile preProcessFileLineNumbers '\x\inv44\addons\i44_scripts_vehicles\_init.sqf';";
  24.     I44_ATR_PreInit = "call compile preProcessFileLineNumbers '\x\inv44\addons\i44_scripts_rockets\_init.sqf';";
  25.     I44_tankHUD_PreInit = "call compile preProcessFileLineNumbers '\x\inv44\addons\I44_ui_tank\s\_init.sqf';";
  26. };
  27. class Extended_Init_EventHandlers
  28. {
  29.     class Man
  30.     {
  31.         I44_Man_Init = "_this execVM '\x\inv44\addons\i44_base_scripts\EH\man_init.sqf';";
  32.     };
  33.     class Tank
  34.     {
  35.         I44_Tank_Init = "call compile preProcessFileLineNumbers '\x\inv44\addons\i44_scripts_vehicles\s\init.sqf'";
  36.     };
  37. };
  38. class Extended_InitPost_EventHandlers
  39. {
  40.     class Man
  41.     {
  42.         I44_Man_PostInit = "call compile preProcessFileLineNumbers '\x\inv44\addons\i44_base_scripts\EH\man_postInit.sqf';";
  43.     };
  44.     class Tank
  45.     {
  46.         I44_Tank_PostInit = "call compile preProcessFileLineNumbers '\x\inv44\addons\i44_scripts_vehicles\s\post_init.sqf'";
  47.     };
  48. };
  49. class Extended_Respawn_EventHandlers
  50. {
  51.     class Man
  52.     {
  53.         I44_Man_respawninit = "_this call I44_init_respawn";
  54.     };
  55.     class Tank
  56.     {
  57.         I44_Tank_RespawnInit = "call compile preProcessFileLineNumbers '\x\inv44\addons\i44_scripts_vehicles\s\respawn_init.sqf'";
  58.     };
  59. };
  60. class Extended_Fired_EventHandlers
  61. {
  62.     class All
  63.     {
  64.         I44_Fired = "_this call I44_FiredEH;";
  65.     };
  66.     class Man
  67.     {
  68.         I44_Fired_boltAction = "if (I44_boltAction) then {if (getNumber (configFile >> 'CfgWeapons' >> (_this select 2) >> 'I44_isBoltAction') > 0) then {_this spawn I44_Fired_BoltAction}};";
  69.         I44_Fired_flameThrower = "_this spawn I44_Effects_FTfEH";
  70.         I44_Fired_atRocket = "_this spawn I44_fnc_R_fired";
  71.     };
  72.     class tank
  73.     {
  74.         I44_overPressureCrew = "if (getNumber (configFile >> 'CfgWeapons' >> (_this select 1) >> 'I44_isHeavyWeapon') > 0) then {_this spawn I44_OverPressure_Crew};";
  75.         I44_Fired_effects = "if (I44_tankPenetration) then {_this spawn I44_fnc_tankFired};";
  76.     };
  77.     class I44_Veh_B_Army_MKIV_Churchill_Croc
  78.     {
  79.         I44_fired_flameThrower_mounted = "_this spawn I44_Effects_FTf_tank_EH";
  80.     };
  81.     class LandVehicle
  82.     {
  83.         I44_isHeavyWeapon = "if (getNumber (configFile >> 'CfgWeapons' >> (_this select 1) >> 'I44_isHeavyWeapon') > 0) then {_this spawn I44_Fired_HeavyWeapon};";
  84.         I44_smokeArray = "if (isArray (configFile >> 'CfgWeapons' >> (_this select 1) >> 'I44_smokeArray')) then {(_this + getArray(configFile >> 'CfgWeapons' >> (_this select 2) >> 'I44_smokeArray')) spawn I44_Fired_CannonSmoke};";
  85.     };
  86. };
  87. class Extended_FiredBIS_EventHandlers
  88. {
  89.     class Man
  90.     {
  91.         I44_Fired_Grenade = "_this spawn I44_fnc_GrenadeSpin";
  92.     };
  93. };
  94. class Extended_AnimChanged_EventHandlers
  95. {
  96.     class Man
  97.     {
  98.         I44_mgProne = "if (I44_ADD_anims) then {_this spawn I44_ANM_mgProne};";
  99.         I44_weaponSwitch = "if ((_this select 0) == player) then {_this spawn I44_fnc_R_weaponSwitch;};";
  100.     };
  101. };
  102. class Extended_firedNear_Eventhandlers
  103. {
  104.     class Man
  105.     {
  106.         I44_Overpressure_init = "if (I44_Overpressure) then {if ((_this select 0) == player) then {_this spawn I44_ovr_init};};";
  107.     };
  108. };
  109. class CfgVehicleClasses
  110. {
  111.     class I44_Logic
  112.     {
  113.         displayName = "[I44] Modules";
  114.     };
  115. };
  116. class CfgVehicles
  117. {
  118.     class All;
  119.     class Logic: All{};
  120.     class I44_Logic: Logic
  121.     {
  122.         scope = 0;
  123.         vehicleClass = "I44_Logic";
  124.         mapSize = 2;
  125.     };
  126.     class I44_Module: Logic
  127.     {
  128.         vehicleClass = "Modules";
  129.     };
  130.     class I44_Module_bloodEffects: I44_Module
  131.     {
  132.         scope = 1;
  133.         displayName = "[I44] Blood Effects";
  134.         icon = "\x\inv44\addons\i44_base_scripts\icons\bloodEffects";
  135.         class eventHandlers
  136.         {
  137.             init = "I44_bloodEffects = true;";
  138.         };
  139.     };
  140.     class I44_Module_additAnims: I44_Module
  141.     {
  142.         displayName = "[I44] MMG prone animations";
  143.         icon = "\x\inv44\addons\i44_base_scripts\icons\mgProne";
  144.         class eventHandlers
  145.         {
  146.             init = "I44_ADD_anims = true;";
  147.         };
  148.     };
  149.     class I44_Module_Construction: I44_Module
  150.     {
  151.         displayName = "[I44] Construction";
  152.         class eventHandlers
  153.         {
  154.             init = "I44_DS_Construction = true";
  155.         };
  156.     };
  157.     class I44_Module_woundEffects: I44_Module
  158.     {
  159.         displayName = "[I44] Wounding - Enable Player-effects";
  160.         icon = "\x\inv44\addons\i44_base_scripts\icons\woundEffects";
  161.         class eventHandlers
  162.         {
  163.             init = "I44_WND_enabled = true";
  164.         };
  165.     };
  166.     class I44_Module_woundEffects_AI: I44_Module
  167.     {
  168.         displayName = "[I44] Wounding - Disable AI-effects";
  169.         icon = "\x\inv44\addons\i44_base_scripts\icons\woundEffects_AI";
  170.         class eventHandlers
  171.         {
  172.             init = "I44_WND_AI_disabled = true";
  173.         };
  174.     };
  175.     class I44_Module_handSignals: I44_Module
  176.     {
  177.         displayName = "[I44] Hand signals";
  178.         icon = "\x\inv44\addons\i44_base_scripts\icons\handSignals";
  179.         class eventHandlers
  180.         {
  181.             init = "I44_HS_enabled = true";
  182.         };
  183.     };
  184.     class I44_Module_tankPenetration: I44_Module
  185.     {
  186.         scope = 2;
  187.         displayName = "[I44] Armor Penetration | Additional Effects";
  188.         icon = "\x\inv44\addons\i44_base_scripts\icons\tankPenetration";
  189.         class eventHandlers
  190.         {
  191.             init = "I44_tankPenetration = true;";
  192.         };
  193.     };
  194.     class I44_Module_boltAction: I44_Module
  195.     {
  196.         scope = 2;
  197.         displayName = "[I44] Bolt Action Animations";
  198.         icon = "\x\inv44\addons\i44_base_scripts\icons\boltAction";
  199.         class eventHandlers
  200.         {
  201.             init = "I44_boltAction = true;";
  202.         };
  203.     };
  204.     class I44_Module_Overpressure: I44_Module
  205.     {
  206.         scope = 2;
  207.         displayName = "[I44] Overpressure";
  208.         icon = "\x\inv44\addons\i44_base_scripts\icons\tankPenetration";
  209.         class eventHandlers
  210.         {
  211.             init = "I44_Overpressure = true;";
  212.         };
  213.     };
  214.     class I44_Module_ForwardObservers: I44_Module
  215.     {
  216.         scope = 2;
  217.         displayName = "[I44] Forward Observer";
  218.         icon = "\ca\modules\ARTY\data\ui\icon_ARTY_ca.paa";
  219.         class eventHandlers
  220.         {
  221.             init = "_script = _this execVM '\x\inv44\addons\i44_base_scripts\AI\FO.sqf'";
  222.         };
  223.     };
  224.     class I44_Module_Artillery: I44_Module
  225.     {
  226.         scope = 1;
  227.         displayName = "[I44] Artillery";
  228.         icon = "\ca\modules\ARTY\data\ui\icon_ARTY_ca.paa";
  229.         class eventHandlers
  230.         {
  231.             init = "_script = _this execVM '\x\inv44\addons\i44_base_scripts\weapon\arty_module.sqf'";
  232.         };
  233.     };
  234.     class I44_Module_Artillery_Virtual: I44_Module
  235.     {
  236.         scope = 1;
  237.         displayName = "[I44] Artillery (Virtual)";
  238.         icon = "\ca\modules\ARTY\data\ui\icon_ARTY_virtual_ca.paa";
  239.         class eventHandlers
  240.         {
  241.             init = "_script = _this execVM '\x\inv44\addons\i44_base_scripts\weapon\arty_module_virtual.sqf'";
  242.         };
  243.     };
  244.     class I44_Module_Weather_snow_flurry: I44_Module
  245.     {
  246.         scope = 2;
  247.         displayName = "[I44] Snow - Flurry";
  248.         icon = "\x\inv44\addons\i44_base_scripts\icons\snow_flry";
  249.         class eventHandlers
  250.         {
  251.             init = "[(_this select 0), 0.5, [-0.1, 0.25]] execVM ""\x\inv44\addons\i44_base_scripts\scripts\snow.sqf"";";
  252.         };
  253.     };
  254.     class I44_Module_Weather_snow_light: I44_Module_Weather_snow_flurry
  255.     {
  256.         displayName = "[I44] Snow - Light";
  257.         icon = "\x\inv44\addons\i44_base_scripts\icons\snow_flry";
  258.         class eventHandlers
  259.         {
  260.             init = "[(_this select 0), 0.5, [0.25, 0.5]] execVM ""\x\inv44\addons\i44_base_scripts\scripts\snow.sqf"";";
  261.         };
  262.     };
  263.     class I44_Module_Weather_snow_moderate: I44_Module_Weather_snow_flurry
  264.     {
  265.         displayName = "[I44] Snow - Moderate";
  266.         icon = "\x\inv44\addons\i44_base_scripts\icons\snow";
  267.         class eventHandlers
  268.         {
  269.             init = "[(_this select 0), 0.5, [1.0, 2.0]] execVM ""\x\inv44\addons\i44_base_scripts\scripts\snow.sqf"";";
  270.         };
  271.     };
  272.     class I44_Module_Weather_snow_heavy: I44_Module_Weather_snow_flurry
  273.     {
  274.         displayName = "[I44] Snow - Heavy";
  275.         icon = "\x\inv44\addons\i44_base_scripts\icons\snow";
  276.         class eventHandlers
  277.         {
  278.             init = "[(_this select 0), 0.5, [4.0, 6.0]] execVM ""\x\inv44\addons\i44_base_scripts\scripts\snow.sqf"";";
  279.         };
  280.     };
  281.     class I44_Module_Weather_snow_blizzard: I44_Module_Weather_snow_flurry
  282.     {
  283.         displayName = "[I44] Snow - Blizzard";
  284.         icon = "\x\inv44\addons\i44_base_scripts\icons\snow_blzd";
  285.         class eventHandlers
  286.         {
  287.             init = "[(_this select 0), 0.5, [7.0, 10.0]] execVM ""\x\inv44\addons\i44_base_scripts\scripts\snow.sqf"";";
  288.         };
  289.     };
  290.     class I44_Module_Weather_snow_random_light: I44_Module_Weather_snow_flurry
  291.     {
  292.         displayName = "[I44] Snow - Random - Light";
  293.         icon = "\x\inv44\addons\i44_base_scripts\icons\snow_flry";
  294.         class eventHandlers
  295.         {
  296.             init = "[(_this select 0), 1, [-0.5, 0.75]] execVM ""\x\inv44\addons\i44_base_scripts\scripts\snow.sqf"";";
  297.         };
  298.     };
  299.     class I44_Module_Weather_snow_random_heavy: I44_Module_Weather_snow_flurry
  300.     {
  301.         displayName = "[I44] Snow - Random - Heavy";
  302.         icon = "\x\inv44\addons\i44_base_scripts\icons\snow_blzd";
  303.         class eventHandlers
  304.         {
  305.             init = "[(_this select 0), 1, [2.0, 7.0]] execVM ""\x\inv44\addons\i44_base_scripts\scripts\snow.sqf"";";
  306.         };
  307.     };
  308.     class I44_Module_Weather_snow_random_full: I44_Module_Weather_snow_flurry
  309.     {
  310.         displayName = "[I44] Snow - Random";
  311.         icon = "\x\inv44\addons\i44_base_scripts\icons\snow";
  312.         class eventHandlers
  313.         {
  314.             init = "[(_this select 0), 1, [-0.25, 10.0]] execVM ""\x\inv44\addons\i44_base_scripts\scripts\snow.sqf"";";
  315.         };
  316.     };
  317. };
  318. class CfgFunctions
  319. {
  320.     class I44
  321.     {
  322.         class Misc
  323.         {
  324.             class Catch_Bullet
  325.             {
  326.                 description = "Used to return the nearest bullet";
  327.                 file = "\x\inv44\addons\i44_base_scripts\functions\Catch_Bullet.sqf";
  328.             };
  329.             class DistanceObjPos
  330.             {
  331.                 description = "Get the distance between an object and a position";
  332.                 file = "\x\inv44\addons\i44_base_scripts\functions\DistanceObjPos.sqf";
  333.             };
  334.             class GetParams
  335.             {
  336.                 description = " ";
  337.                 file = "\x\inv44\addons\i44_base_scripts\functions\GetParams.sqf";
  338.             };
  339.             class IndexOf
  340.             {
  341.                 description = " ";
  342.                 file = "\x\inv44\addons\i44_base_scripts\functions\IndexOf.sqf";
  343.             };
  344.             class OverWater
  345.             {
  346.                 description = " ";
  347.                 file = "\x\inv44\addons\i44_base_scripts\functions\OverWater.sqf";
  348.             };
  349.             class TerrainZ
  350.             {
  351.                 description = " ";
  352.                 file = "\x\inv44\addons\i44_base_scripts\functions\TerrainZ.sqf";
  353.             };
  354.             class TrueZ
  355.             {
  356.                 description = " ";
  357.                 file = "\x\inv44\addons\i44_base_scripts\functions\TrueZ.sqf";
  358.             };
  359.             class Pick_Random
  360.             {
  361.                 description = " ";
  362.                 file = "\x\inv44\addons\i44_base_scripts\functions\arrays\Pick_Random.sqf";
  363.             };
  364.             class crossProduct
  365.             {
  366.                 description = " ";
  367.                 file = "\x\inv44\addons\i44_base_scripts\functions\vectors\crossProduct.sqf";
  368.             };
  369.             class getMagnitude
  370.             {
  371.                 description = " ";
  372.                 file = "\x\inv44\addons\i44_base_scripts\functions\vectors\getMagnitude.sqf";
  373.             };
  374.             class getProduct
  375.             {
  376.                 description = " ";
  377.                 file = "\x\inv44\addons\i44_base_scripts\functions\vectors\getProduct.sqf";
  378.             };
  379.             class getSum
  380.             {
  381.                 description = " ";
  382.                 file = "\x\inv44\addons\i44_base_scripts\functions\vectors\getSum.sqf";
  383.             };
  384.             class getUnitVector
  385.             {
  386.                 description = " ";
  387.                 file = "\x\inv44\addons\i44_base_scripts\functions\vectors\getUnitVector.sqf";
  388.             };
  389.             class makeRandom
  390.             {
  391.                 description = " ";
  392.                 file = "\x\inv44\addons\i44_base_scripts\functions\vectors\makeRandom.sqf";
  393.             };
  394.             class rotate
  395.             {
  396.                 description = " ";
  397.                 file = "\x\inv44\addons\i44_base_scripts\functions\vectors\rotate.sqf";
  398.             };
  399.             class setMagnitude
  400.             {
  401.                 description = " ";
  402.                 file = "\x\inv44\addons\i44_base_scripts\functions\vectors\setMagnitude.sqf";
  403.             };
  404.             class setOrientation
  405.             {
  406.                 description = " ";
  407.                 file = "\x\inv44\addons\i44_base_scripts\functions\vectors\setOrientation.sqf";
  408.             };
  409.             class getPosture
  410.             {
  411.                 description = "Return the stance of the unit";
  412.                 file = "\x\inv44\addons\i44_base_scripts\functions\I44_getPosture.sqf";
  413.             };
  414.         };
  415.     };
  416. };
  417. //};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement