Guest User

Untitled

a guest
Feb 1st, 2019
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.34 KB | None | 0 0
  1. #define true 1
  2. #define false 0
  3.  
  4. /*
  5. Master settings for various features and functionality
  6. */
  7. class Life_Settings {
  8. /* Logging and Security Settings*/
  9. /* Security Settings */
  10. spyGlass_toggle = false; //Spyglass On/Off Toggle --> True = On & False = Off
  11.  
  12. /* Data Logging Settings */
  13. battlEye_friendlyLogging = false; //False [default] - Read the logs from the server.rpt. True - Read the logs from the publicVariable.log. NOTE: Due to how diag_log works it will log to both files either way and the setting is merely for beautification purposes.
  14. player_advancedLog = false; //False [default] - No advanced logging. True - Logs house purchase and sale, vehicle purchase, sale, and chop shopping, police arrests, and gang creations. Search for: advanced_log
  15. player_moneyLog = false; //False [default] - No money logging. True - Logs player bank deposits, withdraws, and transfers, gang bank deposits and withdraws, money picked up off of the ground, and player robbery. Search for: money_log
  16. player_deathLog = false; //False [default] - No death logging. True - Logs victim and killer, and vehicle or weapon if used, when a player dies. Search for: death_log
  17.  
  18. /* Database Related Settings */
  19. /* Player Data Saving */
  20. save_virtualItems = true; //Save Virtual items (all sides)?
  21. saved_virtualItems[] = { "pickaxe","fuelEmpty","fuelFull", "spikeStrip", "lockpick", "defuseKit","storageSmall","storageBig","redgull","coffee","waterBottle","apple","peach","tbacon","donuts","rabbit","salema","ornate","mackerel","tuna","mullet","catshark","turtle_soup","hen","rooster","sheep","goat","defibrillator","toolkit" }; //Array of virtual items that can be saved on your player.
  22. save_playerStats = false; //Save food, water and damage (all sides)?
  23. save_civilian_weapons = true; //Allow civilians to save weapons on them?
  24. save_civilian_position = false; //Save civilian location?
  25. save_civilian_position_restart = false; //Save civilian location only between restarts. After a server restart you'll have to spawn again.
  26. /* !!!TO SAVE POSITION BETWEEN RESTARTS save_civilian_position MUST BE TRUE!!! */
  27. save_civilian_positionStrict = false; //Strip the player if possible combat-log? WARNING: Server crashes and lack of reliable syncing can trigger this.
  28.  
  29. /* Vehicle Data Saving */
  30. save_vehicle_virtualItems = false; //Save virtual items inside the vehicle (all sides)(-- See defined items on next line --)
  31. save_vehicle_items[] = { "pickaxe","fuelEmpty","fuelFull", "spikeStrip", "lockpick", "defuseKit","storageSmall","storageBig","redgull","coffee","waterBottle","apple","peach","tbacon","donuts","rabbit","salema","ornate","mackerel","tuna","mullet","catshark","turtle_soup","hen","rooster","sheep","goat","defibrillator","toolkit" };
  32. save_vehicle_inventory = false; //Save Arma inventory of vehicle to the database
  33. save_vehicle_fuel = false; //Save vehicle fuel level to the database (Impounded/Garaged).
  34. save_vehicle_damage = false; //Save vehicle damage to the database.
  35. save_vehicle_illegal = false; //This will allow cops to be advised when a vehicle, with illegal items in it, is impounded. This will also save illegal items as proof of crime, and needs "save_vehicle_virtualItems" set as true. Illegal items don't need to be set in save_vehicle_items[] for being saved, if it's enabled.
  36.  
  37. robberyMarkers = true; //Addition added by Pril. Ability to use markers or not use markers for Gas Station Robberys. Default: true
  38.  
  39. /* System Settings */
  40. /* ATM & Federal Reserve System Configurations */
  41. global_ATM = true; //Allow users to access any ATM on the map (Marked & Unmarked).
  42. noatm_timer = 10; //Time in minutes that players cannot deposit money after selling stolen gold.
  43. minimum_cops = 5; //Minimum cops required online to rob the Federal Reserve
  44.  
  45. /*Death settings*/
  46. drop_weapons_onDeath = false; //Set true to enable weapon dropping on death. False (default) will delete player weapons on death, allowing them to be revived with them instead
  47.  
  48. /* Basic System Configurations */
  49. donor_level = false; //Enable the donor level set in database (var = life_donorlevel; levels = 0,1,2,3,4,5). ATTENTION! Before enabling, read: https://www.bistudio.com/community/game-content-usage-rules & https://www.bistudio.com/monetization
  50. enable_fatigue = false; //Set to false to disable the ARMA 3 fatigue system.
  51. total_maxWeight = 24; //Static variable for the maximum weight allowed without having a backpack
  52. respawn_timer = 30; //How many seconds a player should wait, before being able to respawn. Minimum 5 seconds.
  53.  
  54. /* Channel 7 News Station Configurations */
  55. news_broadcast_cost = 150000; //Cost for a player to send a news station broadcast.
  56. news_broadcast_cooldown = 20; //Time in minutes that is required between news station broadcasts. (Default = 20 minutes)
  57. news_broadcast_header_length = 60; //Number of characters that a header can consist of. Anything over this may clip. This depends on the font size and various other factors. Adjust with caution.
  58.  
  59. /* Clothing System Configurations */
  60. civ_skins = false; //Enable or disable civilian skins. Before enabling, you must add all the SEVEN files to textures folder. (It must be named as: civilian_uniform_1.jpg, civilian_uniform_2.jpg...civilian_uniform_6.jpg, civilian_uniform_7.jpg)
  61. cop_extendedSkins = false; //Enable or disable cop skins by level. Before enabling, you must add all the EIGHT files to textures folder. (It must be named as: cop_uniform.jpg + cop_uniform_1.jpg, cop_uniform_2.jpg...cop_uniform_6.jpg, cop_uniform_7.jpg; meaning cop_uniform = life_coplevel=0, cop_uniform_1 = life_coplevel=1, cop_uniform_2 = life_coplevel=2, etc...)
  62. clothing_noTP = false; //Disable clothing preview teleport? (true = no teleport. false = teleport)
  63. clothing_box = true; //true = teleport to a black box. false = teleport to somewhere on map. (It only affects the game if clothing_noTP is set as false)
  64. clothing_masks[] = { "H_Shemag_olive", "H_Shemag_khk", "H_Shemag_tan", "H_Shemag_olive_hs", "H_ShemagOpen_khk", "H_ShemagOpen_tan", "G_Balaclava_blk", "G_Balaclava_combat", "G_Balaclava_lowprofile", "G_Balaclava_oli", "G_Bandanna_aviator", "G_Bandanna_beast", "G_Bandanna_blk", "G_Bandanna_khk", "G_Bandanna_oli", "G_Bandanna_shades", "G_Bandanna_sport", "G_Bandanna_tan", "U_O_GhillieSuit", "U_I_GhillieSuit", "U_B_GhillieSuit", "H_RacingHelmet_1_black_F", "H_RacingHelmet_1_red_F", "H_RacingHelmet_1_white_F", "H_RacingHelmet_1_blue_F", "H_RacingHelmet_1_yellow_F", "H_RacingHelmet_1_green_F", "H_RacingHelmet_1_F", "H_RacingHelmet_2_F", "H_RacingHelmet_3_F", "H_RacingHelmet_4_F" };
  65.  
  66. /* Escape Menu Configuration */
  67. escapeMenu_timer = 10; //Time required to pass before you can click the abort button in the escape menu.
  68. escapeMenu_displayExtras = true; //Display the players UID & serverName specified below in the escape menu.
  69. escapeMenu_displayText = "Thanks for playing!"; //Text displayed in the escape menu. Make it short.. around 20 characters.
  70.  
  71. /* Fuel System Configurations */
  72. pump_service = false; //Allow users to use pump service on the map. Default = false
  73. fuel_cost = 80; //Cost of fuel per liter at fuel stations (if not defined for the vehicle already).
  74. service_chopper = 1000; //Cost to service chopper at chopper service station(Repair/Refuel).
  75. fuelCan_refuel = 250; //Cost to refuel an empty fuel canister at the fuel station pumps. (Be wary of your buy/sell prices on fuel cans to prevent exploits...)
  76.  
  77. /* Gang System Configurations */
  78. gang_price = 50000; //Gang creation price. --Remember they are persistent so keep it reasonable to avoid millions of gangs.
  79. gang_upgradeBase = 10000; //The base cost for purchasing additional slots in a gang
  80. gang_upgradeMultiplier = 2.5; //CURRENTLY NOT IN USE
  81.  
  82. /* Housing System Configurations */
  83. house_limit = 5; //Maximum number of houses a player can own.
  84. houseGarage_buyPrice = 1000000;
  85. houseGarage_sellPrice = 350000;
  86.  
  87. /* Hunting & Fishing System Configurations */
  88. animaltypes_fish[] = { "Salema_F", "Ornate_random_F", "Mackerel_F", "Tuna_F", "Mullet_F", "CatShark_F", "Turtle_F" }; //Classnames of fish you can catch
  89. animaltypes_hunting[] = { "Sheep_random_F", "Goat_random_F", "Hen_random_F", "Cock_random_F", "Rabbit_F" }; //Classnames of aniamls you can hunt/gut
  90.  
  91. /* Item-related Restrictions */
  92. restrict_medic_weapons = true; //Set to false to allow medics to use any weapon --true will remove ANY weapon they attempt to use (primary,secondary,launcher)
  93. restrict_clothingPickup = false; //Set to false to allow civilians to pickup/take any uniform (ground/crates/vehicles)
  94. restrict_weaponPickup = false; //Set to false to allow civilians to pickup/take any weapon (ground/crates/vehicles)
  95. restricted_uniforms[] = { };
  96. restricted_weapons[] = { };
  97.  
  98. /* Jail System Configurations */
  99. jail_seize_vItems[] = { "spikeStrip","lockpick","goldbar","blastingcharge","boltcutter","defusekit","heroin_unprocessed","heroin_processed","cannabis","marijuana","cocaine_unprocessed","cocaine_processed","turtle_raw" }; //Define VIRTUAL items you want to be removed from players upon jailing here. Use "jail_seize_inventory" for Arma inventory items.
  100. jail_seize_inventory = false; //Set to true to run the cop seize script on inmates. False will remove only weapons and magazines otherwise. (Basically used in case cops forget to seize items). [See Lines 127-131 below]
  101. sendtoJail_locations[] = { "cop_spawn_1", "cop_spawn_2", "cop_spawn_3", "cop_spawn_4", "cop_spawn_5", "cop_spawn_6", "cop_spawn_7", "cop_spawn_8" }; //Enter the variableName from the mission.sqm here to allow cops to send a person to jail at these locations.
  102. jail_forceWalk = true;
  103.  
  104. /* Medical System Configurations */
  105. revive_cops = true; //true to enable cops the ability to revive everyone or false for only medics/ems.
  106. revive_civ = true; //true to enable civs the ability to revive everyone or false for only medics/ems or medic/ems/cops.
  107. revive_east = true; //true to enable opfor the ability to revive everyone or false for only medics/ems or medic/ems/cops.
  108. revive_fee = 1500; //Revive fee that players have to pay and medics only EMS(independent) are rewarded with this amount.
  109. hospital_heal_fee = 5000; //Fee to heal at a hospital NPC
  110.  
  111. /* Paycheck & Bank System Configurations */
  112. bank_cop = 200000; //Amount of cash in bank for new cops
  113. bank_civ = 200000; //Amount of cash in bank for new civillians
  114. bank_med = 200000; //Amount of cash in bank for new medics
  115.  
  116. paycheck_cop = 7500; //Payment for cops
  117. paycheck_civ = 2500; //Payment for civillians
  118. paycheck_med = 2500; //Payment for medics
  119.  
  120. paycheck_period = 5; //Scaled in minutes
  121. bank_transferTax = .05; //Tax that player pays when transferring money from ATM. Tax = Amount * multiplier
  122.  
  123. /* Player Job System Configurations */
  124. 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" };
  125. fuelTank_winMultiplier = 1; //Win Multiplier in FuelTank Missions. Increase for greater payout. Default = 1
  126.  
  127. /* Search & Seizure System Configurations */
  128. seize_exempt[] = { "Binocular", "ItemWatch", "ItemCompass", "ItemGPS", "ItemMap", "NVGoggles", "FirstAidKit", "ToolKit", "Chemlight_red", "Chemlight_yellow", "Chemlight_green", "Chemlight_blue", "optic_ACO_grn_smg" }; //Arma items that will not get seized from player inventories
  129. seize_uniform[] = { "U_Rangemaster" }; //Any specific uniforms you want to be seized from players
  130. seize_vest[] = { "V_TacVest_blk_POLICE" }; //Any specific vests you want to be seized from players
  131. seize_headgear[] = { "H_Cap_police" }; //Any hats or helmets you want seized from players
  132. seize_minimum_rank = 2; //Required minimum CopLevel to be able to seize items from players
  133.  
  134. /* Vehicle System Configurations */
  135. chopShop_vehicles[] = { "Car", "Air" }; //Vehicles that can be chopped. (Can add: "Ship" and possibly more -> look at the BI wiki...)
  136. vehicle_infiniteRepair[] = {false, false, true, false}; //Set to true for unlimited repairs with 1 toolkit. False will remove toolkit upon use. civilian, west, independent, east
  137. vehicleShop_rentalOnly[] = { "B_MRAP_01_hmg_F", "B_G_Offroad_01_armed_F", "B_Boat_Armed_01_minigun_F" }; //Vehicles that can only be rented and not purchased. (Last only for the session)
  138. vehicleShop_3D = false; //Add preview 3D inside Shop vehicle. Default : False
  139.  
  140. /* Vehicle Purchase Prices */
  141. vehicle_purchase_multiplier_CIVILIAN = 1; //Civilian Vehicle Buy Price = Config_Vehicle price * multiplier
  142. vehicle_purchase_multiplier_COP = .5; //Cop Vehicle Buy Price = Config_Vehicle price * multiplier
  143. vehicle_purchase_multiplier_MEDIC = .75; //Medic Vehicle Buy Price = Config_Vehicle price * multiplier
  144. vehicle_purchase_multiplier_OPFOR = -1; // -- NOT IN USE -- Simply left in for east support.
  145.  
  146. /* Vehicle Rental Prices */
  147. vehicle_rental_multiplier_CIVILIAN = .80; //Civilian Vehicle Rental Price = Config_Vehicle price * multiplier
  148. vehicle_rental_multiplier_COP = .3; //Cop Vehicle Rental Price = Config_Vehicle price * multiplier
  149. vehicle_rental_multiplier_MEDIC = .55; //Medic Vehicle Rental Price = Config_Vehicle price * multiplier
  150. vehicle_rental_multiplier_OPFOR = -1; // -- NOT IN USE -- Simply left in for east support.
  151.  
  152. /* Vehicle Sell Prices */
  153. vehicle_sell_multiplier_CIVILIAN = .5; //Civilian Vehicle Garage Sell Price = Vehicle Buy Price * multiplier
  154. vehicle_sell_multiplier_COP = .5; //Cop Vehicle Garage Sell Price = Vehicle Buy Price * multiplier
  155. vehicle_sell_multiplier_MEDIC = .5; //Medic Vehicle Garage Sell Price = Vehicle Buy Price * multiplier
  156. vehicle_sell_multiplier_OPFOR = -1; // -- NOT IN USE -- Simply left in for east support.
  157.  
  158. /* "Other" Vehicle Prices */
  159. vehicle_chopShop_multiplier = .25; //Chop Shop price for vehicles. TO AVOID EXPLOITS NEVER SET HIGHER THAN A PURCHASE/RENTAL multipler! Payout = Config_vehicle Price * multiplier
  160. vehicle_storage_fee_multiplier = .2; //Pull from garage cost --> Cost takes the playersides Buy Price * multiplier
  161. vehicle_cop_impound_multiplier = .1; //TO AVOID EXPLOITS NEVER SET HIGHER THAN A PURCHASE/RENTAL multipler! Payout = Config_vehicle Price * multiplier
  162.  
  163. disableCommanderView = true; //false - Group leaders can access the commander view. true [default] - Group leaders cannot access the commander view.
  164. //Commander/tactical view is accessed via pressing . [NUM] by default. It raises the camera significantly higher and steeper above the player in order to give a boarder tactical view of the surrounding area.
  165.  
  166. /* Wanted System Settings *
  167. /* crimes[] = {String, Bounty, Code} */
  168. crimes[] = {
  169. {"STR_Crime_187V","650","187V"},
  170. {"STR_Crime_187","2000","187"},
  171. {"STR_Crime_901","450","901"},
  172. {"STR_Crime_215","200","215"},
  173. {"STR_Crime_213","1000","213"},
  174. {"STR_Crime_211","100","211"},
  175. {"STR_Crime_207","350","207"},
  176. {"STR_Crime_207A","200","207A"},
  177. {"STR_Crime_390","1500","390"},
  178. {"STR_Crime_487","150","487"},
  179. {"STR_Crime_488","70","488"},
  180. {"STR_Crime_480","100","480"},
  181. {"STR_Crime_481","100","481"},
  182. {"STR_Crime_482","500","482"},
  183. {"STR_Crime_483","950","483"},
  184. {"STR_Crime_459","650","459"},
  185. {"STR_Crime_666","200","666"},
  186. {"STR_Crime_667","4500","667"},
  187. {"STR_Crime_668","1500","668"},
  188. {"STR_Crime_1","250","1"},
  189. {"STR_Crime_2","200","2"},
  190. {"STR_Crime_3","150","3"},
  191. {"STR_Crime_4","250","4"},
  192. {"STR_Crime_5","100","5"},
  193. {"STR_Crime_6","80","6"},
  194. {"STR_Crime_7","150","7"},
  195. {"STR_Crime_8","5000","8"},
  196. {"STR_Crime_9","5000","9"},
  197. {"STR_Crime_10","15000","10"},
  198. {"STR_Crime_11","10000","11"},
  199. {"STR_Crime_12","2500","12"},
  200. {"STR_Crime_13","1500","13"},
  201. {"STR_Crime_14","500","14"},
  202. {"STR_Crime_15","2500","15"},
  203. {"STR_Crime_16","1500","16"},
  204. {"STR_Crime_17","100","17"},
  205. {"STR_Crime_18","1500","18"},
  206. {"STR_Crime_19","2500","19"},
  207. {"STR_Crime_20","500","20"},
  208. {"STR_Crime_21","500","21"},
  209. {"STR_Crime_22","2000","22"},
  210. {"STR_Crime_23","5000","23"},
  211. {"STR_Crime_24","10000","24"},
  212. {"STR_Crime_25","20000","25"}
  213. };
  214. /* ! --- Do not change --- ! */
  215. framework_version = "5.0.0";
  216. /* ------------------------- */
  217. };
  218.  
  219. class Toxic_Bus_Config {
  220.  
  221. payment = CASH; //Change whether you want them to pay from their bank or CASH on hand
  222. bus_3d = true; //True or False
  223.  
  224. class Civilian {
  225. multipler = 0.1; //Price per KM multiplyer
  226. stops[] = {
  227. //{"Display Name","Marker_Name"}
  228. {"Kavala","bus_kavala"},
  229. {"Syrta","bus_syrta"},
  230. {"Zaros","bus_zaros"},
  231. {"Sofia","bus_sofia"},
  232. {"Athira","bus_athira"},
  233. {"Airport","bus_airport"},
  234. {"Selakano","bus_selakano"},
  235. {"Pygros","bus_pygros"}
  236. };
  237. };
  238. class Cop {
  239. multipler = 0.05;
  240. stops[] = {
  241. {"Kavala PD","bus_kavalaPD"},
  242. {"Athira PD","bus_athiraPD"},
  243. {"Paros PD","bus_parosPD"},
  244. {"Zaros PD","bus_zarosPD"},
  245. {"Syrta PD","bus_syrtaPD"},
  246. {"Sofia PD","bus_sofiaPD"},
  247. {"Air PD","bus_airPD"},
  248. {"Pygros PD","bus_pygrosPD"}
  249. };
  250. };
  251. class Medic {
  252. multipler = 0.05;
  253. stops[] = {
  254. {"Kavala Hospital","bus_kavalaMed"},
  255. {"Sofia Hospital","bus_sofiaMed"},
  256. {"Telos Hospital","bus_telosMed"},
  257. {"Pygros Hospital","bus_pygrosMed"}
  258. };
  259. };
  260. };
  261.  
  262. #include "Config_Clothing.hpp"
  263. #include "Config_Licenses.hpp"
  264. #include "Config_Vehicles.hpp"
  265. #include "Config_vItems.hpp"
  266. #include "Config_Weapons.hpp"
  267. #include "Config_Gather.hpp"
  268. #include "Config_SpawnPoints.hpp"
  269. #include "Config_Process.hpp"
  270. #include "Config_Housing.hpp"
  271. #include "Config_Garages.hpp"
Add Comment
Please, Sign In to add comment