Epoch/Sources/epoch_server_settings/config.cpp

224 lines
6.4 KiB
C++
Raw Normal View History

2015-12-07 16:24:52 +00:00
/*
Author: Aaron Clark - EpochMod.com
Contributors:
Description:
Epoch Server Settings Config
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Github:
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_server_settngs/config.cpp
*/
2015-06-04 14:11:41 +00:00
#define _ARMA_
class CfgPatches {
class A3_server_settings {
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
2016-04-26 16:36:26 +00:00
epochVersion = "0.3.9.0";
2015-06-04 14:11:41 +00:00
requiredAddons[] = {};
Release 0.3.8 (#502) * first build for 0.3.8 * 0.3.8.0190 * 0.3.8.0202 * 0.3.8.0213 * 0.3.7.0214 * 0.3.8.0222 * 0.3.8.0246 * 0.3.8.0247 fixed typo * 0.3.8.0249 more fixes for server compiler * 0.3.8.0256 * add build number and simple batch file for packing * match build number with internal * add build numbers to server pbo's and mission files also reworked build script for more options * 0.3.8.0261 * 0.3.8.0261 * 0.3.8.0283 * 0.3.8.0284 * changelog * 0.3.8.0307 * 0.3.8.0311 * remove old BEC plugin * update redis-server.exe to latest build and full config * 0.3.8.0314 * 0.3.8.0315 * inverse logic This should correctly prevent spawning these units nearby jammer or protection zones * use pushbackUnique here * optimized loot function by using selectRandom instead of slower sqf logic * 0.3.8.0316 * make use of new getDir functionality instead of BIS fnc * add lower disconnect value to server.cfg * use new getpos functionality * 0.3.8.0317 * 0.3.8.0319 * 0.3.8.0327 * 0.3.8.0338 changelog update tba * changelog * 0.3.8.0341 * BE update * 0.3.8.0353 * changelog * removed duplicates * 0.3.8.0355 fixed error in getIDC * 0.3.8.0356 revert to BIS_fnc_param as params threw errors * 0.3.8.0357 fixes for #496 #497 * 0.3.8.0359 fixed #497 fixed #496 * 0.3.8.0365 * 0.3.8.0371 * 0.3.8.0373 * 0.3.8.0379 * 0.3.8.0381 * 0.3.8.0386 * 0.3.8.0393 * 0.3.8.0395 * 0.3.8.0396 * 0.3.8.0397 * 0.3.8.0406 * 0.3.8.0409 * 0.3.8.0410 loot balance suppress error in spawnloot make near object check based on building size * 0.3.8.0412 * 0.3.8.0414 removed classes with scope 0 test remove loot trash on gear for #498 fixed #501 * 0.3.8.0415 * same
2016-04-08 20:21:46 +00:00
#include "build.hpp"
2015-06-04 14:11:41 +00:00
};
};
// inport loot tables
Release 0.3.8 (#502) * first build for 0.3.8 * 0.3.8.0190 * 0.3.8.0202 * 0.3.8.0213 * 0.3.7.0214 * 0.3.8.0222 * 0.3.8.0246 * 0.3.8.0247 fixed typo * 0.3.8.0249 more fixes for server compiler * 0.3.8.0256 * add build number and simple batch file for packing * match build number with internal * add build numbers to server pbo's and mission files also reworked build script for more options * 0.3.8.0261 * 0.3.8.0261 * 0.3.8.0283 * 0.3.8.0284 * changelog * 0.3.8.0307 * 0.3.8.0311 * remove old BEC plugin * update redis-server.exe to latest build and full config * 0.3.8.0314 * 0.3.8.0315 * inverse logic This should correctly prevent spawning these units nearby jammer or protection zones * use pushbackUnique here * optimized loot function by using selectRandom instead of slower sqf logic * 0.3.8.0316 * make use of new getDir functionality instead of BIS fnc * add lower disconnect value to server.cfg * use new getpos functionality * 0.3.8.0317 * 0.3.8.0319 * 0.3.8.0327 * 0.3.8.0338 changelog update tba * changelog * 0.3.8.0341 * BE update * 0.3.8.0353 * changelog * removed duplicates * 0.3.8.0355 fixed error in getIDC * 0.3.8.0356 revert to BIS_fnc_param as params threw errors * 0.3.8.0357 fixes for #496 #497 * 0.3.8.0359 fixed #497 fixed #496 * 0.3.8.0365 * 0.3.8.0371 * 0.3.8.0373 * 0.3.8.0379 * 0.3.8.0381 * 0.3.8.0386 * 0.3.8.0393 * 0.3.8.0395 * 0.3.8.0396 * 0.3.8.0397 * 0.3.8.0406 * 0.3.8.0409 * 0.3.8.0410 loot balance suppress error in spawnloot make near object check based on building size * 0.3.8.0412 * 0.3.8.0414 removed classes with scope 0 test remove loot trash on gear for #498 fixed #501 * 0.3.8.0415 * same
2016-04-08 20:21:46 +00:00
#include "configs\CfgMainTable.h"
#include "configs\CfgLootTable.h"
#include "configs\CfgLootTable_CUP.h"
2016-01-26 16:33:04 +00:00
// security checks
2015-06-04 14:11:41 +00:00
#include "configs\security\security_checks.h"
2016-01-26 16:33:04 +00:00
// props template
#include "configs\templates\CfgPropTemplate.h"
2015-06-04 14:11:41 +00:00
// import settings
class CfgEpochServer
{
#include "\@epochhive\epochah.hpp"
#include "\@epochhive\epochconfig.hpp"
};
// map config
class CfgEpoch
{
class Default
{
worldSize = 12000;
Release 0.3.8 (#502) * first build for 0.3.8 * 0.3.8.0190 * 0.3.8.0202 * 0.3.8.0213 * 0.3.7.0214 * 0.3.8.0222 * 0.3.8.0246 * 0.3.8.0247 fixed typo * 0.3.8.0249 more fixes for server compiler * 0.3.8.0256 * add build number and simple batch file for packing * match build number with internal * add build numbers to server pbo's and mission files also reworked build script for more options * 0.3.8.0261 * 0.3.8.0261 * 0.3.8.0283 * 0.3.8.0284 * changelog * 0.3.8.0307 * 0.3.8.0311 * remove old BEC plugin * update redis-server.exe to latest build and full config * 0.3.8.0314 * 0.3.8.0315 * inverse logic This should correctly prevent spawning these units nearby jammer or protection zones * use pushbackUnique here * optimized loot function by using selectRandom instead of slower sqf logic * 0.3.8.0316 * make use of new getDir functionality instead of BIS fnc * add lower disconnect value to server.cfg * use new getpos functionality * 0.3.8.0317 * 0.3.8.0319 * 0.3.8.0327 * 0.3.8.0338 changelog update tba * changelog * 0.3.8.0341 * BE update * 0.3.8.0353 * changelog * removed duplicates * 0.3.8.0355 fixed error in getIDC * 0.3.8.0356 revert to BIS_fnc_param as params threw errors * 0.3.8.0357 fixes for #496 #497 * 0.3.8.0359 fixed #497 fixed #496 * 0.3.8.0365 * 0.3.8.0371 * 0.3.8.0373 * 0.3.8.0379 * 0.3.8.0381 * 0.3.8.0386 * 0.3.8.0393 * 0.3.8.0395 * 0.3.8.0396 * 0.3.8.0397 * 0.3.8.0406 * 0.3.8.0409 * 0.3.8.0410 loot balance suppress error in spawnloot make near object check based on building size * 0.3.8.0412 * 0.3.8.0414 removed classes with scope 0 test remove loot trash on gear for #498 fixed #501 * 0.3.8.0415 * same
2016-04-08 20:21:46 +00:00
plantLimit = 10;
vehicleSpawnTypes[] = {
{"FlatAreaCity",1},
{"FlatAreaCitySmall",1},
{"NameCity",2},
{"NameVillage",1},
{"NameCityCapital",4},
{"Airport",5}
};
2015-06-04 14:11:41 +00:00
traderBlds[] = {};
containerPos[] = {};
telePos[] = {};
propsPos[] = {};
staticNpcPos[] = {};
Release 0.3.8 (#502) * first build for 0.3.8 * 0.3.8.0190 * 0.3.8.0202 * 0.3.8.0213 * 0.3.7.0214 * 0.3.8.0222 * 0.3.8.0246 * 0.3.8.0247 fixed typo * 0.3.8.0249 more fixes for server compiler * 0.3.8.0256 * add build number and simple batch file for packing * match build number with internal * add build numbers to server pbo's and mission files also reworked build script for more options * 0.3.8.0261 * 0.3.8.0261 * 0.3.8.0283 * 0.3.8.0284 * changelog * 0.3.8.0307 * 0.3.8.0311 * remove old BEC plugin * update redis-server.exe to latest build and full config * 0.3.8.0314 * 0.3.8.0315 * inverse logic This should correctly prevent spawning these units nearby jammer or protection zones * use pushbackUnique here * optimized loot function by using selectRandom instead of slower sqf logic * 0.3.8.0316 * make use of new getDir functionality instead of BIS fnc * add lower disconnect value to server.cfg * use new getpos functionality * 0.3.8.0317 * 0.3.8.0319 * 0.3.8.0327 * 0.3.8.0338 changelog update tba * changelog * 0.3.8.0341 * BE update * 0.3.8.0353 * changelog * removed duplicates * 0.3.8.0355 fixed error in getIDC * 0.3.8.0356 revert to BIS_fnc_param as params threw errors * 0.3.8.0357 fixes for #496 #497 * 0.3.8.0359 fixed #497 fixed #496 * 0.3.8.0365 * 0.3.8.0371 * 0.3.8.0373 * 0.3.8.0379 * 0.3.8.0381 * 0.3.8.0386 * 0.3.8.0393 * 0.3.8.0395 * 0.3.8.0396 * 0.3.8.0397 * 0.3.8.0406 * 0.3.8.0409 * 0.3.8.0410 loot balance suppress error in spawnloot make near object check based on building size * 0.3.8.0412 * 0.3.8.0414 removed classes with scope 0 test remove loot trash on gear for #498 fixed #501 * 0.3.8.0415 * same
2016-04-08 20:21:46 +00:00
allowedVehiclesList[] = {
{"C_Offroad_01_EPOCH",8},
{"C_Quadbike_01_EPOCH",8},
{"C_Hatchback_01_EPOCH",10},
{"C_Hatchback_02_EPOCH",10},
{"C_SUV_01_EPOCH",10},
{"C_Rubberboat_EPOCH",5},
{"C_Rubberboat_02_EPOCH",5},
{"C_Rubberboat_03_EPOCH",5},
{"C_Rubberboat_04_EPOCH",5},
{"C_Van_01_box_EPOCH",8},
{"C_Van_01_transport_EPOCH",9},
{"C_Boat_Civil_01_EPOCH",5},
{"C_Boat_Civil_01_police_EPOCH",5},
{"C_Boat_Civil_01_rescue_EPOCH",5},
{"B_Heli_Light_01_EPOCH",2},
{"B_SDV_01_EPOCH",2},
{"B_MRAP_01_EPOCH",3},
{"I_MRAP_03_EPOCH", 3},
{"B_Truck_01_transport_EPOCH",1},
{"B_Truck_01_covered_EPOCH",2},
{"B_Truck_01_mover_EPOCH",1},
{"B_Truck_01_box_EPOCH",1},
{"O_Truck_02_covered_EPOCH",2},
{"O_Truck_02_transport_EPOCH",1},
{"O_Truck_03_covered_EPOCH",1},
{"O_Truck_02_box_EPOCH",1},
{"I_Heli_light_03_unarmed_EPOCH",1},
{"O_Heli_Light_02_unarmed_EPOCH",1},
{"I_Heli_Transport_02_EPOCH",1},
{"O_Heli_Transport_04_EPOCH",1},
{"O_Heli_Transport_04_bench_EPOCH",1},
{"O_Heli_Transport_04_box_EPOCH",1},
{"O_Heli_Transport_04_covered_EPOCH",1},
{"B_Heli_Transport_03_unarmed_EPOCH",1},
{"jetski_epoch",7},
{"K01",2},
{"K02",2},
{"K03",2},
{"K04",2},
{"ebike_epoch",7},
{"mosquito_epoch",5},
{"C_Heli_Light_01_civil_EPOCH",5}
};
allowedVehiclesList_CUP[] = {
{"C_Offroad_01_EPOCH",4},
{"C_Quadbike_01_EPOCH",4},
{"C_Hatchback_01_EPOCH",5},
{"C_Hatchback_02_EPOCH",5},
{"C_SUV_01_EPOCH",5},
{"C_Rubberboat_EPOCH",2},
{"C_Rubberboat_02_EPOCH",2},
{"C_Rubberboat_03_EPOCH",2},
{"C_Rubberboat_04_EPOCH",2},
{"C_Van_01_box_EPOCH",4},
{"C_Van_01_transport_EPOCH",4},
{"C_Boat_Civil_01_EPOCH",5},
{"C_Boat_Civil_01_police_EPOCH",2},
{"C_Boat_Civil_01_rescue_EPOCH",2},
{"B_Heli_Light_01_EPOCH",2},
{"B_SDV_01_EPOCH",2},
{"B_MRAP_01_EPOCH",2},
{"I_MRAP_03_EPOCH", 2},
{"B_Truck_01_transport_EPOCH",1},
{"B_Truck_01_covered_EPOCH",2},
{"B_Truck_01_mover_EPOCH",1},
{"B_Truck_01_box_EPOCH",1},
{"O_Truck_02_covered_EPOCH",2},
{"O_Truck_02_transport_EPOCH",1},
{"O_Truck_03_covered_EPOCH",1},
{"O_Truck_02_box_EPOCH",1},
{"I_Heli_light_03_unarmed_EPOCH",1},
{"O_Heli_Light_02_unarmed_EPOCH",1},
{"I_Heli_Transport_02_EPOCH",1},
{"O_Heli_Transport_04_EPOCH",1},
{"O_Heli_Transport_04_bench_EPOCH",1},
{"O_Heli_Transport_04_box_EPOCH",1},
{"O_Heli_Transport_04_covered_EPOCH",1},
{"B_Heli_Transport_03_unarmed_EPOCH",1},
{"jetski_epoch",3},
{"K01",1},
{"K02",1},
{"K03",1},
{"K04",1},
{"ebike_epoch",3},
{"mosquito_epoch",3},
{"C_Heli_Light_01_civil_EPOCH",2},
{"CUP_C_Fishing_Boat_Chernarus",2},
{"CUP_C_LR_Transport_CTK",2},
{"CUP_B_Zodiac_USMC",2},
{"CUP_C_Skoda_Red_CIV",2},
{"CUP_C_Skoda_White_CIV",2},
{"CUP_C_Skoda_Blue_CIV",2},
{"CUP_C_Skoda_Green_CIV",2},
{"CUP_C_SUV_CIV",2},
{"CUP_B_HMMWV_Transport_USA",2},
{"CUP_B_HMMWV_Unarmed_USA",2},
{"CUP_C_SUV_TK",2},
{"CUP_B_LR_Transport_CZ_D",2},
{"CUP_C_Datsun_Covered",2},
{"CUP_C_Datsun_Plain",2},
{"CUP_C_Datsun_Tubeframe",2},
{"CUP_C_Datsun_4seat",2},
{"CUP_C_Datsun",2},
{"CUP_C_Golf4_green_Civ",2},
{"CUP_C_Golf4_red_Civ",2},
{"CUP_C_Golf4_blue_Civ",2},
{"CUP_C_Golf4_black_Civ",2},
{"CUP_C_Golf4_kitty_Civ",2},
{"CUP_C_Golf4_reptile_Civ",2},
{"CUP_C_Golf4_camodigital_Civ",2},
{"CUP_C_Golf4_camodark_Civ",2},
{"CUP_C_Golf4_camo_Civ",2},
{"CUP_B_M1030",2},
{"CUP_C_Ural_Civ_03",2},
{"CUP_C_Ural_Open_Civ_03",2},
{"CUP_C_Ural_Civ_02",2},
{"CUP_B_TowingTractor_USMC",2},
{"CUP_C_C47_CIV",2},
{"CUP_B_LR_Transport_CZ_W",2},
{"CUP_C_Golf4_white_Civ",2},
{"CUP_C_Golf4_whiteblood_Civ",2},
{"CUP_C_Golf4_yellow_Civ",2},
{"CUP_C_Octavia_CIV",2},
{"CUP_C_Ural_Civ_01",2},
{"CUP_C_Ural_Open_Civ_01",2},
{"CUP_B_Ural_CDF",2},
{"CUP_B_Ural_Open_CDF",2},
{"CUP_C_Ural_Open_Civ_02",2},
{"CUP_B_HMMWV_Ambulance_USA",2},
{"CUP_C_UAZ_Unarmed_TK_CIV",2},
{"CUP_C_UAZ_Open_TK_CIV",2},
{"CUP_B_UAZ_Unarmed_CDF",2},
{"CUP_B_Ural_Empty_CDF",2},
{"CUP_C_DC3_CIV",2}
};
2015-06-04 14:11:41 +00:00
};
#include "configs\maps\bornholm.h"
#include "configs\maps\stratis.h"
#include "configs\maps\altis.h"
#include "configs\maps\chernarus.h"
2016-01-26 16:33:04 +00:00
#include "configs\maps\chernarus_summer.h"
2015-07-16 15:35:26 +00:00
#include "configs\maps\australia.h"
#include "configs\maps\takistan.h"
2016-01-28 19:36:35 +00:00
#include "configs\maps\Zargabad.h"
2015-07-16 15:35:26 +00:00
#include "configs\maps\esseker.h"
2016-01-28 19:36:35 +00:00
#include "configs\maps\Sara.h"
#include "configs\maps\SaraLite.h"
#include "configs\maps\Sara_dbe1.h"
#include "configs\maps\Bootcamp_ACR.h"
#include "configs\maps\Desert_E.h"
#include "configs\maps\Mountains_ACR.h"
#include "configs\maps\Porto.h"
#include "configs\maps\ProvingGrounds_PMC.h"
#include "configs\maps\Shapur_BAF.h"
#include "configs\maps\Utes.h"
#include "configs\maps\Woodland_ACR.h"
Release 0.3.8 (#502) * first build for 0.3.8 * 0.3.8.0190 * 0.3.8.0202 * 0.3.8.0213 * 0.3.7.0214 * 0.3.8.0222 * 0.3.8.0246 * 0.3.8.0247 fixed typo * 0.3.8.0249 more fixes for server compiler * 0.3.8.0256 * add build number and simple batch file for packing * match build number with internal * add build numbers to server pbo's and mission files also reworked build script for more options * 0.3.8.0261 * 0.3.8.0261 * 0.3.8.0283 * 0.3.8.0284 * changelog * 0.3.8.0307 * 0.3.8.0311 * remove old BEC plugin * update redis-server.exe to latest build and full config * 0.3.8.0314 * 0.3.8.0315 * inverse logic This should correctly prevent spawning these units nearby jammer or protection zones * use pushbackUnique here * optimized loot function by using selectRandom instead of slower sqf logic * 0.3.8.0316 * make use of new getDir functionality instead of BIS fnc * add lower disconnect value to server.cfg * use new getpos functionality * 0.3.8.0317 * 0.3.8.0319 * 0.3.8.0327 * 0.3.8.0338 changelog update tba * changelog * 0.3.8.0341 * BE update * 0.3.8.0353 * changelog * removed duplicates * 0.3.8.0355 fixed error in getIDC * 0.3.8.0356 revert to BIS_fnc_param as params threw errors * 0.3.8.0357 fixes for #496 #497 * 0.3.8.0359 fixed #497 fixed #496 * 0.3.8.0365 * 0.3.8.0371 * 0.3.8.0373 * 0.3.8.0379 * 0.3.8.0381 * 0.3.8.0386 * 0.3.8.0393 * 0.3.8.0395 * 0.3.8.0396 * 0.3.8.0397 * 0.3.8.0406 * 0.3.8.0409 * 0.3.8.0410 loot balance suppress error in spawnloot make near object check based on building size * 0.3.8.0412 * 0.3.8.0414 removed classes with scope 0 test remove loot trash on gear for #498 fixed #501 * 0.3.8.0415 * same
2016-04-08 20:21:46 +00:00
#include "configs\maps\Napf.h"
2015-06-04 14:11:41 +00:00
};