Advertisement
Eric4753

Untitled

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