Guest User

Untitled

a guest
Jun 20th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.38 KB | None | 0 0
  1. #define VITEMMACRO(NAME,DISPLAYNAME,VARNAME,WEIGHT,BUYPRICE,SELLPRICE,ILLEGAL,EDIBLE,ICON) class NAME { \
  2. variable = VARNAME; \
  3. weight = WEIGHT; \
  4. displayName = DISPLAYNAME; \
  5. buyPrice = BUYPRICE; \
  6. sellPrice = SELLPRICE; \
  7. illegal = ILLEGAL; \
  8. edible = EDIBLE; \
  9. icon = ICON; \
  10. };
  11.  
  12. #define LICENSEMACRO(NAME,DISPLAYNAME,VARNAME,PRICE,ILLEGAL,SIDE) class NAME { \
  13. variable = VARNAME; \
  14. displayName = DISPLAYNAME; \
  15. price = PRICE; \
  16. illegal = ILLEGAL; \
  17. side = SIDE; \
  18. };
  19.  
  20. #define true 1
  21. #define false 0
  22. #include "Config_Clothing.hpp"
  23. #include "Config_Shops.hpp"
  24.  
  25.  
  26. /*
  27. Master settings for various features and functionality
  28. */
  29. class Life_Settings {
  30. /* Persistent Settings */
  31. save_civ_weapons = false; //Allow civilians to save weapons on them?
  32. save_virtualItems = true; //Save Virtual items (all sides)?
  33.  
  34. /* Revive system settings */
  35. revive_cops = true; //true to enable cops the ability to revive everyone or false for only medics/ems.
  36. revive_fee = 1500; //Revive fee that players have to pay and medics / EMS are rewarded
  37.  
  38. /* House related settings */
  39. house_limit = 5; //Maximum amount of houses a player can own.
  40.  
  41. /* Gang related settings */
  42. gang_price = 200000; //Price for creating a gang, remember they are persistent so keep it reasonable to avoid millions of gangs.
  43. gang_upgradeBase = 10000; //The base cost for upgrading slots in a gang
  44. gang_upgradeMultiplier = 2.5; //Not sure if in use?
  45.  
  46. /* Player-related systems */
  47. enable_fatigue = true; //Set to false to disable the ARMA 3 false system.
  48. total_maxWeight = 24; //Identifies the max carrying weight (gets adjusted throughout game when wearing different types of clothing).
  49. total_maxWeightT = 24; //Static variable for the maximum weight allowed without having a backpack
  50. paycheck_period = 5; //Scaled in minutes
  51.  
  52. /* Impound Variables */
  53. impound_car = 350; //Price for impounding cars
  54. impound_boat = 250; //Price for impounding boats
  55. impound_air = 850; //Price for impounding helicopters / planes
  56.  
  57. /* Car-shop Settings */
  58. vehicleShop_rentalOnly[] = { "B_MRAP_01_hmg_F", "B_G_Offroad_01_armed_F" };
  59.  
  60. /* Job-related stuff */
  61. delivery_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" };
  62.  
  63. crimes[] = {
  64. {"STR_Crime_1","350","1"},
  65. {"STR_Crime_2","1500","2"},
  66. {"STR_Crime_3","2500","3"},
  67. {"STR_Crime_4","3500","4"},
  68. {"STR_Crime_5","10000","5"},
  69. {"STR_Crime_6","5000","6"},
  70. {"STR_Crime_7","10000","7"}
  71. };
  72.  
  73. sellArray[] = {
  74. {"arifle_sdar_F", 7500},
  75. {"hgun_P07_snds_F", 650},
  76. {"hgun_P07_F", 1500},
  77. {"ItemGPS", 45},
  78. {"ToolKit", 75},
  79. {"FirstAidKit", 65},
  80. {"Medikit", 450},
  81. {"NVGoggles", 980},
  82. {"16Rnd_9x21_Mag", 15},
  83. {"20Rnd_556x45_UW_mag", 35},
  84. {"ItemMap", 35},
  85. {"ItemCompass", 25},
  86. {"Chemlight_blue", 50},
  87. {"Chemlight_yellow", 50},
  88. {"Chemlight_green", 50},
  89. {"Chemlight_red", 50},
  90. {"hgun_Rook40_F", 500},
  91. {"arifle_Katiba_F", 5000},
  92. {"30Rnd_556x45_Stanag", 65},
  93. {"20Rnd_762x51_Mag", 85},
  94. {"30Rnd_65x39_caseless_green", 50},
  95. {"DemoCharge_Remote_Mag", 7500},
  96. {"SLAMDirectionalMine_Wire_Mag", 2575},
  97. {"optic_ACO_grn", 250},
  98. {"acc_flashlight", 100},
  99. {"srifle_EBR_F", 15000},
  100. {"arifle_TRG21_F", 3500},
  101. {"optic_MRCO", 5000},
  102. {"optic_Aco", 850},
  103. {"arifle_MX_F", 7500},
  104. {"arifle_MXC_F", 5000},
  105. {"arifle_MXM_F", 8500},
  106. {"MineDetector", 500},
  107. {"optic_Holosight", 275},
  108. {"acc_pointer_IR", 175},
  109. {"arifle_TRG20_F", 2500},
  110. {"SMG_01_F", 1500},
  111. {"arifle_Mk20C_F", 4500},
  112. {"30Rnd_45ACP_Mag_SMG_01", 60},
  113. {"30Rnd_9x21_Mag", 30}
  114. };
  115.  
  116. allowedSavedVirtualItems[] = { "pickaxe", "fuelEmpty", "fuelFull", "spikeStrip", "lockpick", "defuseKit", "storageSmall", "storageBig", "redgull", "coffee", "waterBottle", "apple", "peach", "tbacon", "donut", "rabbitGrilled", "salemaGrilled", "ornateGrilled", "mackerelGrilled", "tunaGrilled", "mulletGrilled", "catsharkGrilled", "turtleSoup", "henGrilled", "roosterGrilled", "sheepGrilled", "goatGrilled" };
  117. };
  118.  
  119. //Virtual Items
  120. class VirtualItems {
  121. //Misc
  122. VITEMMACRO(pickaxe, "STR_Item_Pickaxe", "pickaxe", 2, 750, 350, false, -1, "")
  123. VITEMMACRO(fuelEmpty, "STR_Item_FuelE", "fuelEmpty", 2, -1, -1, false, -1, "icons\ico_fuelempty.paa")
  124. VITEMMACRO(fuelFull, "STR_Item_FuelF", "fuelFull", 5, 850, 500, false, -1, "icons\ico_fuel.paa")
  125. VITEMMACRO(spikeStrip, "STR_Item_SpikeStrip", "spikeStrip", 15, 2500, 1200, false, -1, "")
  126. VITEMMACRO(lockpick, "STR_Item_Lockpick", "lockpick", 1, 150, 75, false, -1, "")
  127. VITEMMACRO(goldbar, "STR_Item_GoldBar", "goldBar", 12, -1, 95000, false, -1, "")
  128. VITEMMACRO(blastingcharge, "STR_Item_BCharge", "blastingCharge", 15, 35000, -1, true, -1, "icons\ico_blastingCharge.paa")
  129. VITEMMACRO(boltcutter, "STR_Item_BCutter", "boltCutter", 5, 7500, -1, true, -1, "icons\ico_boltcutters.paa")
  130. VITEMMACRO(defusekit, "STR_Item_DefuseKit", "defuseKit", 2, 2500, -1, false, -1, "")
  131. VITEMMACRO(storagesmall, "STR_Item_StorageBS", "storageSmall", 5, 75000, -1, false, -1, "icons\ico_storageSmall.paa")
  132. VITEMMACRO(storagebig, "STR_Item_StorageBL", "storageBig", 10, 150000, -1, false, -1, "icons\ico_storageBig.paa")
  133.  
  134. //Mined Items
  135. VITEMMACRO(oil_unprocessed, "STR_Item_OilU", "oilUnprocessed", 7, -1, -1, false, -1, "")
  136. VITEMMACRO(oil_processed, "STR_Item_OilP", "oilProcessed", 6, -1, 2600, false, -1, "")
  137. VITEMMACRO(copper_unrefined, "STR_Item_CopperOre", "copperUnrefined", 4, -1, -1, false, -1, "")
  138. VITEMMACRO(copper_refined, "STR_Item_CopperIngot", "copperRefined", 3, -1, 800, false, -1, "")
  139. VITEMMACRO(iron_unrefined, "STR_Item_IronOre", "ironUnrefined", 5, -1, -1, false, -1, "")
  140. VITEMMACRO(iron_refined, "STR_Item_IronIngot", "ironRefined", 3, -1, 1500, false, -1, "")
  141. VITEMMACRO(salt_unrefined, "STR_Item_Salt", "saltUnrefined", 3, -1, -1, false, -1, "")
  142. VITEMMACRO(salt_refined, "STR_Item_SaltR", "saltRefined", 1, -1, 1345, false, -1, "")
  143. VITEMMACRO(sand, "STR_Item_Sand", "sand", 3, -1, -1, false, -1, "")
  144. VITEMMACRO(glass, "STR_Item_Glass", "glass", 1, -1, 2000, false, -1, "")
  145. VITEMMACRO(diamond_uncut, "STR_Item_DiamondU", "diamondUncut", 4, -1, 750, false, -1, "")
  146. VITEMMACRO(diamond_cut, "STR_Item_DiamondC", "diamondCut", 2, -1, 3800, false, -1, "")
  147. VITEMMACRO(rock, "STR_Item_Rock", "rock", 6, -1, -1, false, -1, "")
  148. VITEMMACRO(cement, "STR_Item_CementBag", "cement", 5, -1, 1950, false, -1, "")
  149. VITEMMACRO(tropen_uncut, "STR_Item_TropenU", "tropenUncut", 4, -1, -1, false, -1, "icons\ico_tropenu.paa")
  150. VITEMMACRO(tropen_cut, "STR_Item_TropenC", "tropenCut", 3, -1, 3000, false, -1, "icons\ico_tropenp.paa")
  151.  
  152. //Drugs
  153. VITEMMACRO(heroin_unprocessed, "STR_Item_HeroinU", "heroinUnprocessed", 6, -1, -1, true, -1, "")
  154. VITEMMACRO(heroin_processed, "STR_Item_HeroinP", "heroinProcessed", 4, -1, 3100, true, -1, "")
  155. VITEMMACRO(cannabis, "STR_Item_Cannabis", "cannabis", 4, -1, -1, true, -1, "")
  156. VITEMMACRO(marijuana, "STR_Item_Marijuana", "marijuana", 3, 40000, 4100, true, -1, "icons\ico_marijuana.paa")
  157. VITEMMACRO(cocaine_unprocessed, "STR_Item_CocaineU", "cocaineUnprocessed", 6, -1, 3000, true, -1, "")
  158. VITEMMACRO(cocaine_processed, "STR_Item_CocaineP", "cocaineProcessed", 4, -1, 6000, true, -1, "")
  159.  
  160. //Drink
  161. VITEMMACRO(redgull, "STR_Item_RedGull", "redgull", 1, 1500, 200, false, 100, "icons\ico_redgull.paa")
  162. VITEMMACRO(coffee, "STR_Item_Coffee", "coffee", 1, 10, 5, false, 100, "")
  163. VITEMMACRO(waterBottle, "STR_Item_WaterBottle", "waterBottle", 1, 10, 5, false, 100, "icons\ico_waterBottle.paa")
  164.  
  165. //Food
  166. VITEMMACRO(apple, "STR_Item_Apple", "apple", 1, 65, 50, false, 10, "icons\food.paa")
  167. VITEMMACRO(peach, "STR_Item_Peach", "peach", 1, 68, 55, false, 10, "icons\food.paa")
  168. VITEMMACRO(tbacon, "STR_Item_TBacon", "tbacon", 1, 75, 25, false, 40, "icons\ico_tbacon.paa")
  169. VITEMMACRO(donut, "STR_Item_Donuts", "donut", 1, 120, 60, false, 30, "icons\food.paa")
  170. VITEMMACRO(rabbit_raw, "STR_Item_Rabbit", "rabbitRaw", 2, -1, 65, false, -1, "icons\food.paa")
  171. VITEMMACRO(rabbit_grilled, "STR_Item_RabbitGrilled", "rabbitGrilled", 1, 150, 115, false, 20, "icons\ico_cookedMeat.paa")
  172. VITEMMACRO(salema_raw, "STR_Item_Salema", "salemaRaw", 2, -1, 45, false, -1, "icons\food.paa")
  173. VITEMMACRO(salema_grilled, "STR_Item_SalemaGrilled", "salemaGrilled", 1, 75, 55, false, 30, "icons\ico_cookedMeat.paa")
  174. VITEMMACRO(ornate_raw, "STR_Item_OrnateMeat", "ornateRaw", 2, -1, 40, false, -1, "icons\food.paa")
  175. VITEMMACRO(ornate_grilled, "STR_Item_OrnateGrilled", "ornateGrilled", 1, 175, 150, false, 25, "icons\ico_cookedMeat.paa")
  176. VITEMMACRO(mackerel_raw, "STR_Item_MackerelMeat", "mackerelRaw", 4, -1, 175, false, -1, "icons\food.paa")
  177. VITEMMACRO(mackerel_grilled, "STR_Item_MackerelGrilled", "mackerelGrilled", 2, 250, 200, false, 30, "icons\ico_cookedMeat.paa")
  178. VITEMMACRO(tuna_raw, "STR_Item_TunaMeat", "tunaRaw", 6, -1, 700, false, -1, "icons\food.paa")
  179. VITEMMACRO(tuna_grilled, "STR_Item_TunaGrilled", "tunaGrilled", 3, 1250, 1000, false, 100, "icons\ico_cookedMeat.paa")
  180. VITEMMACRO(mullet_raw, "STR_Item_MulletMeat", "mulletRaw", 4, -1, 250, false, -1, "icons\food.paa")
  181. VITEMMACRO(mullet_fried, "STR_Item_MulletFried", "mulletFried", 2, 600, 400, false, 80, "icons\ico_cookedMeat.paa")
  182. VITEMMACRO(catshark_raw, "STR_Item_CatSharkMeat", "catsharkRaw", 6, -1, 300, false, -1, "icons\food.paa")
  183. VITEMMACRO(catshark_fried, "STR_Item_CatSharkFried", "catsharkFried", 3, 750, 500, false, 100, "icons\ico_cookedMeat.paa")
  184. VITEMMACRO(turtle_raw, "STR_Item_TurtleMeat", "turtleRaw", 6, 4000, 15000, true, -1, "icons\food.paa")
  185. VITEMMACRO(turtle_soup, "STR_Item_TurtleSoup", "turtleSoup", 2, 2500, 1000, false, 100, "icons\ico_cookedMeat.paa")
  186. VITEMMACRO(hen_raw, "STR_Item_HenRaw", "henRaw", 1, -1, 35, false, -1, "icons\food.paa")
  187. VITEMMACRO(hen_fried, "STR_Item_HenFried", "henFried", 1, 115, 85, false, 65, "icons\ico_cookedMeat.paa")
  188. VITEMMACRO(rooster_raw, "STR_Item_RoosterRaw", "roosterRaw", 1, -1, 35, false, -1, "icons\food.paa")
  189. VITEMMACRO(rooster_grilled, "STR_Item_RoosterGrilled", "roosterGrilled", 115, 85, false, 45, "icons\ico_cookedMeat.paa")
  190. VITEMMACRO(sheep_raw, "STR_Item_SheepRaw", "sheepRaw", 2, -1, 50, false, -1, "icons\food.paa")
  191. VITEMMACRO(sheep_grilled, "STR_Item_SheepGrilled", "sheepGrilled", 2, 155, 115, false, 100, "icons\ico_cookedMeat.paa")
  192. VITEMMACRO(goat_raw, "STR_Item_GoatRaw", "goatRaw", 2, -1, 75, false, -1, "icons\food.paa")
  193. VITEMMACRO(goat_grilled, "STR_Item_GoatGrilled", "goatGrilled", 2, 175, 135, false, 100, "icons\ico_cookedMeat.paa")
  194. };
  195.  
  196.  
  197. /*
  198. Licenses
  199.  
  200. Params:
  201. CLASS ENTRY,DisplayName,VariableName,price,illegal,side indicator
  202. */
  203. class Licenses {
  204. LICENSEMACRO(driver,"STR_License_Driver","driver",5000,false,"civ")
  205. LICENSEMACRO(boat,"STR_License_Boat","boat",1000,false,"civ")
  206. LICENSEMACRO(pilot,"STR_License_Pilot","pilot",80000,false,"civ")
  207. LICENSEMACRO(gun,"STR_License_Firearm","gun",50000,false,"civ")
  208. LICENSEMACRO(dive,"STR_License_Diving","dive",2000,false,"civ")
  209. LICENSEMACRO(oil,"STR_License_Oil","oil",10000,false,"civ")
  210. LICENSEMACRO(cAir,"STR_License_Pilot","cAir",80000,false,"cop")
  211. LICENSEMACRO(coastguard,"STR_License_CG","cg",8000,false,"cop")
  212. LICENSEMACRO(heroin,"STR_License_Heroin","heroin",100000,true,"civ")
  213. LICENSEMACRO(marijuana,"STR_License_Marijuana","marijuana",100000,true,"civ")
  214. LICENSEMACRO(medmarijuana,"STR_License_Medmarijuana","medmarijuana",15000,false,"civ")
  215. LICENSEMACRO(rebel,"STR_License_Rebel","rebel",3000000,true,"civ")
  216. LICENSEMACRO(trucking,"STR_License_Truck","trucking",50000,false,"civ")
  217. LICENSEMACRO(diamond,"STR_License_Diamond","diamond",35000,false,"civ")
  218. LICENSEMACRO(salt,"STR_License_Salt","salt",12000,false,"civ")
  219. LICENSEMACRO(cocaine,"STR_License_Cocaine","cocaine",100000,false,"civ")
  220. LICENSEMACRO(sand,"STR_License_Sand","sand",14500,false,"civ")
  221. LICENSEMACRO(iron,"STR_License_Iron","iron",9500,false,"civ")
  222. LICENSEMACRO(copper,"STR_License_Copper","copper",8000,false,"civ")
  223. LICENSEMACRO(cement,"STR_License_Cement","cement",6500,false,"civ")
  224. LICENSEMACRO(mAir,"STR_License_Pilot","mAir",80000,false,"med")
  225. LICENSEMACRO(home,"STR_License_Home","home",75000,false,"civ")
  226. LICENSEMACRO(tropen,"STR_License_Tropen","tropen",100000,false,"civ")
  227. };
  228.  
  229. class VirtualShops {
  230. class market {
  231. name = "STR_Shops_Market";
  232. items[] = { "waterBottle", "rabbit_grilled", "apple", "redgull", "tbacon", "lockpick", "pickaxe", "fuelFull", "peach", "boltcutter", "storagesmall", "storagebig" };
  233. };
  234.  
  235. class rebel {
  236. name = "STR_Shops_Rebel";
  237. items[] = { "waterBottle", "rabbit_grilled", "apple", "redgull", "tbacon", "lockpick", "pickaxe", "fuelFull", "peach", "boltcutter", "blastingcharge" };
  238. };
  239.  
  240. class gang {
  241. name = "STR_Shops_Gang";
  242. items[] = { "waterBottle", "rabbit_grilled", "apple", "redgull", "tbacon", "lockpick", "pickaxe", "fuelFull", "peach", "boltcutter", "blastingcharge" };
  243. };
  244.  
  245. class wongs {
  246. name = "STR_Shops_Wongs";
  247. items[] = { "turtle_soup", "turtle_raw" };
  248. };
  249.  
  250. class coffee {
  251. name = "STR_Shops_Coffee";
  252. items[] = { "coffee", "donuts" };
  253. };
  254.  
  255. class drugdealer {
  256. name = "STR_Shops_DrugDealer";
  257. items[] = { "cocaine_processed", "heroin_processed", "marijuana" };
  258. };
  259.  
  260. class oil {
  261. name = "STR_Shops_Oil";
  262. items[] = { "oil_processed", "pickaxe", "fuelFull" };
  263. };
  264.  
  265. class fishmarket {
  266. name = "STR_Shops_FishMarket";
  267. items[] = { "salema_raw", "salema_grilled", "ornate_raw", "ornate_grilled", "mackerel_raw", "mackerel_grilled", "tuna_raw", "tuna_grilled", "mullet_raw", "mullet_fried", "catshark_raw", "catshark_fried" };
  268. };
  269.  
  270. class glass {
  271. name = "STR_Shops_Glass";
  272. items[] = { "glass" };
  273. };
  274.  
  275. class iron {
  276. name = "STR_Shops_Minerals";
  277. items[] = { "iron_refined", "copper_refined" };
  278. };
  279.  
  280. class diamond {
  281. name = "STR_Shops_Diamond";
  282. items[] = { "diamond_uncut", "diamond_cut" };
  283. };
  284.  
  285. class salt {
  286. name = "STR_Shops_Salt";
  287. items[] = { "salt_refined" };
  288. };
  289.  
  290. class cop {
  291. name = "STR_Shops_Cop";
  292. items[] = { "donuts", "coffee", "spikeStrip", "waterBottle", "rabbit_grilled", "apple", "redgull", "fuelFull", "defusekit" };
  293. };
  294.  
  295. class cement {
  296. name = "STR_Shops_Cement";
  297. items[] = { "cement" };
  298. };
  299.  
  300. class gold {
  301. name = "STR_Shops_Gold";
  302. items[] = { "goldbar" };
  303. };
  304.  
  305. class tropen {
  306. name = "STR_Shops_Tropen";
  307. items[] = { "tropen_cut" };
  308. };
  309. };
  310.  
  311. #include "Config_Vehicles.hpp"
  312. #include "Config_Houses.hpp"
Advertisement
Add Comment
Please, Sign In to add comment