Advertisement
TheAce106

Untitled

Dec 27th, 2014
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 10.49 KB | None | 0 0
  1. #include <macro.h>
  2. /*
  3.     Master Life Configuration File
  4.     This file is to setup variables for the client, there are still other configuration files in the system
  5.  
  6. *****************************
  7. ****** Backend Variables *****
  8. *****************************
  9. */
  10. life_query_time = time;
  11. life_action_delay = time;
  12. life_trunk_vehicle = Objnull;
  13. life_session_completed = false;
  14. life_garage_store = false;
  15. life_session_tries = 0;
  16. life_net_dropped = false;
  17. life_hit_explosive = false;
  18. life_siren_active = false;
  19. life_clothing_filter = 0;
  20. life_clothing_uniform = -1;
  21. life_redgull_effect = time;
  22. life_is_processing = false;
  23. life_bail_paid = false;
  24. life_impound_inuse = false;
  25. life_action_inUse = false;
  26. life_spikestrip = ObjNull;
  27. life_respawn_timer = 0.5; //Scaled in minutes
  28. life_knockout = false;
  29. life_interrupted = false;
  30. life_respawned = false;
  31. life_removeWanted = false;
  32. life_action_gathering = false;
  33.  
  34. //Persistent Saving
  35. __CONST__(life_save_civ,TRUE); //Save weapons for civs?
  36. __CONST__(life_save_yinv,TRUE); //Save Y-Inventory for players?
  37.  
  38. //Revive constant variables.
  39. __CONST__(life_revive_cops,TRUE); //Set to false if you don't want cops to be able to revive downed players.
  40. __CONST__(life_revive_fee,2500); //Fee for players to pay when revived.
  41.  
  42. //House Limit
  43. __CONST__(life_houseLimit,5); //Maximum amount of houses a player can buy (TODO: Make Tiered licenses).
  44.  
  45. //Gang related stuff?
  46. __CONST__(life_gangPrice,75000); //Price for creating a gang (They're all persistent so keep it high to avoid 345345345 gangs).
  47. __CONST__(life_gangUpgradeBase,10000); //MASDASDASD
  48. __CONST__(life_gangUpgradeMultipler,2.5); //BLAH
  49.  
  50. __CONST__(life_enableFatigue,false); //Enable / Disable the ARMA 3 Fatigue System
  51.  
  52. //Uniform price (0),Hat Price (1),Glasses Price (2),Vest Price (3),Backpack Price (4)
  53. life_clothing_purchase = [-1,-1,-1,-1,-1];
  54. /*
  55. *****************************
  56. ****** Weight Variables *****
  57. *****************************
  58. */
  59. life_maxWeight = 24; //Identifies the max carrying weight (gets adjusted throughout game when wearing different types of clothing).
  60. life_maxWeightT = 24; //Static variable representing the players max carrying weight on start.
  61. life_carryWeight = 0; //Represents the players current inventory weight (MUST START AT 0).
  62.  
  63. /*
  64. *****************************
  65. ****** Life Variables *******
  66. *****************************
  67. */
  68. life_net_dropped = false;
  69. life_hit_explosive = false;
  70. life_siren_active = false;
  71. life_bank_fail = false;
  72. life_use_atm = true;
  73. life_is_arrested = false;
  74. life_delivery_in_progress = false;
  75. life_action_in_use = false;
  76. life_thirst = 100;
  77. life_hunger = 100;
  78. __CONST__(life_paycheck_period,5); //Five minutes
  79. life_cash = 0;
  80. __CONST__(life_impound_car,1350);
  81. __CONST__(life_impound_boat,1250);
  82. __CONST__(life_impound_air,1850);
  83. life_istazed = false;
  84. life_my_gang = ObjNull;
  85.  
  86. life_vehicles = [];
  87. bank_robber = [];
  88. switch (playerSide) do
  89. {
  90.     case west:
  91.     {
  92.         life_atmcash = 15000; //Starting Bank Money
  93.         life_paycheck = 5000; //Paycheck Amount
  94.     };
  95.     case civilian:
  96.     {
  97.         life_atmcash = 150000; //Starting Bank Money
  98.         life_paycheck = 3500; //Paycheck Amount
  99.     };
  100.    
  101.     case independent: {
  102.         life_atmcash = 15000;
  103.         life_paycheck = 7500;
  104.     };
  105. };
  106.  
  107. /*
  108.     Master Array of items?
  109. */
  110. life_vShop_rentalOnly = ["B_MRAP_01_hmg_F"];
  111. __CONST__(life_vShop_rentalOnly,life_vShop_rentalOnly); //These vehicles can never be bought and only 'rented'. Used as a balancer & money sink. If you want your server to be chaotic then fine.. Remove it..
  112.  
  113. life_inv_items =
  114. [
  115.     "life_inv_oilu",
  116.     "life_inv_oilp",
  117.     "life_inv_heroinu",
  118.     "life_inv_heroinp",
  119.     "life_inv_cannabis",
  120.     "life_inv_marijuana",
  121.     "life_inv_apple",
  122.     "life_inv_rabbit",
  123.     "life_inv_salema",
  124.     "life_inv_ornate",
  125.     "life_inv_mackerel",
  126.     "life_inv_tuna",
  127.     "life_inv_mullet",
  128.     "life_inv_catshark",
  129.     "life_inv_turtle",
  130.     "life_inv_fishingpoles",
  131.     "life_inv_water",
  132.     "life_inv_donuts",
  133.     "life_inv_turtlesoup",
  134.     "life_inv_coffee",
  135.     "life_inv_fuelF",
  136.     "life_inv_fuelE",
  137.     "life_inv_pickaxe",
  138.     "life_inv_copperore",
  139.     "life_inv_ironore",
  140.     "life_inv_ironr",
  141.     "life_inv_copperr",
  142.     "life_inv_sand",
  143.     "life_inv_salt",
  144.     "life_inv_saltr",
  145.     "life_inv_glass",
  146.     "life_inv_tbacon",
  147.     "life_inv_lockpick",
  148.     "life_inv_redgull",
  149.     "life_inv_peach",
  150.     "life_inv_diamond",
  151.     "life_inv_coke",
  152.     "life_inv_cokep",
  153.     "life_inv_diamondr",
  154.     "life_inv_spikeStrip",
  155.     "life_inv_rock",
  156.     "life_inv_cement",
  157.     "life_inv_goldbar",
  158.     "life_inv_blastingcharge",
  159.     "life_inv_boltcutter",
  160.     "life_inv_defusekit",
  161.     "life_inv_storagesmall",
  162.     "life_inv_storagebig"
  163. ];
  164.  
  165. //Setup variable inv vars.
  166. {missionNamespace setVariable[_x,0];} foreach life_inv_items;
  167. //Licenses [license var, civ/cop]
  168. life_licenses =
  169. [
  170.     ["license_cop_air","cop"],
  171.     ["license_cop_swat","cop"],
  172.     ["license_cop_cg","cop"],
  173.     ["license_civ_driver","civ"],
  174.     ["license_civ_air","civ"],
  175.     ["license_civ_heroin","civ"],
  176.     ["license_civ_marijuana","civ"],
  177.     ["license_civ_gang","civ"],
  178.     ["license_civ_boat","civ"],
  179.     ["license_civ_oil","civ"],
  180.     ["license_civ_dive","civ"],
  181.     ["license_civ_truck","civ"],
  182.     ["license_civ_gun","civ"],
  183.     ["license_civ_rebel","civ"],
  184.     ["license_civ_coke","civ"],
  185.     ["license_civ_diamond","civ"],
  186.     ["license_civ_copper","civ"],
  187.     ["license_civ_iron","civ"],
  188.     ["license_civ_sand","civ"],
  189.     ["license_civ_salt","civ"],
  190.     ["license_civ_cement","civ"],
  191.     ["license_med_air","med"],
  192.     ["license_civ_home","civ"],
  193.     ["license_civ_bountyhunter","civ"],
  194.     ["license_civ_terrorist","civ"],
  195.     ["license_civ_pmc","civ"],
  196.     ["license_civ_pmc","civ"],
  197.     ["license_civ_ch7","civ"],
  198.     ["license_civ_d1","civ"],
  199.     ["license_civ_d2","civ"],
  200.     ["license_civ_d3","civ"],
  201.     ["license_civ_d4","civ"],
  202.     ["license_civ_d5","civ"]
  203. ];
  204.  
  205. //Setup License Variables
  206. {missionNamespace setVariable[(_x select 0),false];} foreach life_licenses;
  207.  
  208. life_dp_points = ["dp_1","dp_2","dp_3","dp_4","dp_5","dp_6","dp_7","dp_8","dp_9","dp_10","dp_11","dp_12","dp_13","dp_14","dp_15","dp_15","dp_16","dp_17","dp_18","dp_19","dp_20","dp_21","dp_22","dp_23","dp_24","dp_25"];
  209. //[shortVar,reward]
  210. life_illegal_items = [["heroinu",1200],["heroinp",2500],["cocaine",1500],["cocainep",3500],["marijuana",2000],["turtle",3000],["blastingcharge",10000],["boltcutter",500]];
  211.  
  212.  
  213. /*
  214.     Sell / buy arrays
  215. */
  216. sell_array =
  217. [
  218.     ["apple",50],
  219.     ["heroinu",1850],
  220.     ["heroinp",2650],
  221.     ["salema",45],
  222.     ["ornate",40],
  223.     ["mackerel",175],
  224.     ["tuna",700],
  225.     ["mullet",250],
  226.     ["catshark",300],
  227.     ["rabbit",65],
  228.     ["oilp",3200],
  229.     ["turtle",3000],
  230.     ["water",5],
  231.     ["coffee",5],
  232.     ["turtlesoup",1000],
  233.     ["donuts",60],
  234.     ["marijuana",2350],
  235.     ["tbacon",25],
  236.     ["lockpick",75],
  237.     ["pickaxe",750],
  238.     ["redgull",200],
  239.     ["peach",55],
  240.     ["cocaine",3000],
  241.     ["cocainep",5000],
  242.     ["diamond",750],
  243.     ["diamondc",2000],
  244.     ["iron_r",3200],
  245.     ["copper_r",1500],
  246.     ["salt_r",2650],
  247.     ["glass",1450],
  248.     ["fuelF",500],
  249.     ["spikeStrip",1200],
  250.     ["cement",1950],
  251.     ["goldbar",95000]
  252. ];
  253. __CONST__(sell_array,sell_array);
  254.  
  255. buy_array =
  256. [
  257.     ["apple",65],
  258.     ["rabbit",75],
  259.     ["salema",55],
  260.     ["ornate",50],
  261.     ["mackerel",200],
  262.     ["tuna",900],
  263.     ["mullet",300],
  264.     ["catshark",350],
  265.     ["water",10],
  266.     ["turtle",4000],
  267.     ["turtlesoup",2500],
  268.     ["donuts",120],
  269.     ["coffee",10],
  270.     ["tbacon",75],
  271.     ["lockpick",150],
  272.     ["pickaxe",1200],
  273.     ["redgull",1500],
  274.     ["fuelF",850],
  275.     ["peach",68],
  276.     ["spikeStrip",2500],
  277.     ["blastingcharge",35000],
  278.     ["boltcutter",7500],
  279.     ["defusekit",2500],
  280.     ["storagesmall",75000],
  281.     ["storagebig",150000]
  282. ];
  283. __CONST__(buy_array,buy_array);
  284.  
  285. life_weapon_shop_array =
  286. [
  287.     ["arifle_sdar_F",7500],
  288.     ["hgun_P07_snds_F",650],
  289.     ["hgun_P07_F",1500],
  290.     ["ItemGPS",45],
  291.     ["ToolKit",75],
  292.     ["FirstAidKit",65],
  293.     ["Medikit",450],
  294.     ["NVGoggles",980],
  295.     ["16Rnd_9x21_Mag",15],
  296.     ["20Rnd_556x45_UW_mag",35],
  297.     ["ItemMap",35],
  298.     ["ItemCompass",25],
  299.     ["Chemlight_blue",50],
  300.     ["Chemlight_yellow",50],
  301.     ["Chemlight_green",50],
  302.     ["Chemlight_red",50],
  303.     ["hgun_Rook40_F",500],
  304.     ["arifle_Katiba_F",5000],
  305.     ["30Rnd_556x45_Stanag",65],
  306.     ["20Rnd_762x51_Mag",85],
  307.     ["30Rnd_65x39_caseless_green",50],
  308.     ["DemoCharge_Remote_Mag",7500],
  309.     ["SLAMDirectionalMine_Wire_Mag",2575],
  310.     ["optic_ACO_grn",250],
  311.     ["acc_flashlight",100],
  312.     ["srifle_EBR_F",15000],
  313.     ["arifle_TRG21_F",3500],
  314.     ["optic_MRCO",5000],
  315.     ["optic_Aco",850],
  316.     ["arifle_MX_F",7500],
  317.     ["arifle_MXC_F",5000],
  318.     ["arifle_MXM_F",8500],
  319.     ["MineDetector",500],
  320.     ["optic_Holosight",275],
  321.     ["acc_pointer_IR",175],
  322.     ["arifle_TRG20_F",2500],
  323.     ["SMG_01_F",1500],
  324.     ["arifle_Mk20C_F",4500],
  325.     ["30Rnd_45ACP_Mag_SMG_01",60],
  326.     ["30Rnd_9x21_Mag",30]
  327. ];
  328. __CONST__(life_weapon_shop_array,life_weapon_shop_array);
  329.  
  330. life_garage_prices =
  331. [
  332.     ["B_QuadBike_01_F",550],
  333.     ["C_Hatchback_01_F",1500],
  334.     ["C_Offroad_01_F", 2500],
  335.     ["B_G_Offroad_01_F",3500],
  336.     ["C_SUV_01_F",5250],
  337.     ["C_Van_01_transport_F",7890],
  338.     ["C_Hatchback_01_sport_F",2350],
  339.     ["C_Van_01_fuel_F",4500],
  340.     ["I_Heli_Transport_02_F",100000],
  341.     ["C_Van_01_box_F",9000],
  342.     ["I_Truck_02_transport_F",12000],
  343.     ["I_Truck_02_covered_F",14500],
  344.     ["B_Truck_01_transport_F",25650],
  345.     ["B_Truck_01_box_F", 35000],
  346.     ["O_MRAP_02_F",45000],
  347.     ["B_Heli_Light_01_F",45000],
  348.     ["C_Heli_Light_01_civil_F, 45000],
  349.     ["B_Heli_Transport_03_unarmed_F", 100000],
  350.     ["B_Heli_Transport_03_F", 150000],
  351.     ["O_Heli_Transport_04_F", 75000],
  352.     ["O_Heli_Transport_04_covered_F", 80000],
  353.     ["O_Heli_Light_02_unarmed_F",65000],
  354.     ["C_Rubberboat",400],
  355.     ["C_Boat_Civil_01_F",4500],
  356.     ["B_Boat_Transport_01_F",450],
  357.     ["C_Boat_Civil_01_police_F",3500],
  358.     ["B_Boat_Armed_01_minigun_F",16500],
  359.     ["B_SDV_01_F",25000],
  360.     ["B_MRAP_01_F",7500]
  361. ];
  362. __CONST__(life_garage_prices,life_garage_prices);
  363.  
  364. life_garage_sell =
  365. [
  366.     ["B_Quadbike_01_F",950],
  367.     ["C_Hatchback_01_F",4500],
  368.     ["C_Offroad_01_F", 6500],
  369.     ["B_G_Offroad_01_F",3500],
  370.     ["C_SUV_01_F",15000],
  371.     ["C_Van_01_transport_F",25000],
  372.     ["C_Hatchback_01_sport_F",7500],
  373.     ["C_Van_01_fuel_F",3850],
  374.     ["I_Heli_Transport_02_F",125000],
  375.     ["C_Van_01_box_F",35000],
  376.     ["I_Truck_02_transport_F",49800],
  377.     ["I_Truck_02_covered_F",62000],
  378.     ["B_Truck_01_transport_F",135000],
  379.     ["B_Truck_01_box_F", 150000],
  380.     ["O_MRAP_02_F",65000],
  381.     ["B_Heli_Light_01_F",57000],
  382.     ["C_Heli_Light_01_civil_F, 57000],
  383.     ["B_Heli_Transport_03_unarmed_F", 150000],
  384.     ["B_Heli_Transport_03_F", 200000],
  385.     ["O_Heli_Transport_04_F", 100000],
  386.     ["O_Heli_Transport_04_covered_F", 120000],
  387.     ["O_Heli_Light_02_unarmed_F",72500],
  388.     ["C_Rubberboat",950],
  389.     ["C_Boat_Civil_01_F",6800],
  390.     ["B_Boat_Transport_01_F",850],
  391.     ["C_Boat_Civil_01_police_F",4950],
  392.     ["B_Boat_Armed_01_minigun_F",21000],
  393.     ["B_SDV_01_F",45000],
  394.     ["B_MRAP_01_F",10000]
  395. ];
  396. __CONST__(life_garage_sell,life_garage_sell);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement