mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
1st compatibility for Livonia (Enoch) + Reduce general Ships on maps
This commit is contained in:
parent
e55b07b1f1
commit
2091b8975b
@ -362,6 +362,7 @@ class CfgEpochClient
|
|||||||
#include "CfgEpochClient\Chernarus_Summer.hpp"
|
#include "CfgEpochClient\Chernarus_Summer.hpp"
|
||||||
#include "CfgEpochClient\Chernarus.hpp"
|
#include "CfgEpochClient\Chernarus.hpp"
|
||||||
#include "CfgEpochClient\ChernarusRedux.hpp"
|
#include "CfgEpochClient\ChernarusRedux.hpp"
|
||||||
|
#include "CfgEpochClient\Enoch.hpp"
|
||||||
#include "CfgEpochClient\Esseker.hpp"
|
#include "CfgEpochClient\Esseker.hpp"
|
||||||
#include "CfgEpochClient\ProvingGrounds_PMC.hpp"
|
#include "CfgEpochClient\ProvingGrounds_PMC.hpp"
|
||||||
#include "CfgEpochClient\Sara_dbe1.hpp"
|
#include "CfgEpochClient\Sara_dbe1.hpp"
|
||||||
|
21
Sources/epoch_config/Configs/CfgEpochClient/Enoch.hpp
Normal file
21
Sources/epoch_config/Configs/CfgEpochClient/Enoch.hpp
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
/*
|
||||||
|
Author: Aaron Clark - EpochMod.com
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
|
||||||
|
Description:
|
||||||
|
Epoch gamemode config for Altis
|
||||||
|
|
||||||
|
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/release/Sources/epoch_config/Configs/CfgEpochClient/Altis.hpp
|
||||||
|
*/
|
||||||
|
|
||||||
|
class Enoch {
|
||||||
|
blockedArea[] = { //[POS],radius
|
||||||
|
};
|
||||||
|
// Trash config
|
||||||
|
TrashClasses[] = { "Trash", "TrashSmall", "TrashVehicle", "PumpkinPatch", "TrashFood", "HempFiber" };
|
||||||
|
};
|
@ -24,7 +24,7 @@ if (getNumber(_cfgEpoch >> "shipwreckLootEnabled") isEqualTo 1) then {
|
|||||||
if(_total isEqualTo 0)exitWith{if(_debug)then{diag_log "EPOCHDebug: no shipwrecks allowed"}};
|
if(_total isEqualTo 0)exitWith{if(_debug)then{diag_log "EPOCHDebug: no shipwrecks allowed"}};
|
||||||
// Load shipwrecks and custom locations
|
// Load shipwrecks and custom locations
|
||||||
_worldSize = worldSize/2;
|
_worldSize = worldSize/2;
|
||||||
_shipwrecks = nearestTerrainObjects [ [_worldSize, _worldSize], ["SHIPWRECK"], _worldSize];
|
_shipwrecks = (nearestTerrainObjects [ [_worldSize, _worldSize], ["SHIPWRECK"], _worldSize]) select {surfaceiswater (getpos _x)} ;
|
||||||
_customLocs = getArray(_cfgEpoch >> "shipwreckCustomLocs");
|
_customLocs = getArray(_cfgEpoch >> "shipwreckCustomLocs");
|
||||||
_customWrecks = getArray(_cfgEpoch >> "shipwreckCustomWrecks");
|
_customWrecks = getArray(_cfgEpoch >> "shipwreckCustomWrecks");
|
||||||
_totalCustomLocs = count(_customLocs);
|
_totalCustomLocs = count(_customLocs);
|
||||||
|
@ -202,15 +202,15 @@ class CfgEpoch
|
|||||||
{"C_Hatchback_01_EPOCH",10},
|
{"C_Hatchback_01_EPOCH",10},
|
||||||
{"C_Hatchback_02_EPOCH",10},
|
{"C_Hatchback_02_EPOCH",10},
|
||||||
{"C_SUV_01_EPOCH",10},
|
{"C_SUV_01_EPOCH",10},
|
||||||
{"C_Rubberboat_EPOCH",5},
|
{"C_Rubberboat_EPOCH",2},
|
||||||
{"C_Rubberboat_02_EPOCH",5},
|
{"C_Rubberboat_02_EPOCH",2},
|
||||||
{"C_Rubberboat_03_EPOCH",5},
|
{"C_Rubberboat_03_EPOCH",2},
|
||||||
{"C_Rubberboat_04_EPOCH",5},
|
{"C_Rubberboat_04_EPOCH",2},
|
||||||
{"C_Van_01_box_EPOCH",8},
|
{"C_Van_01_box_EPOCH",8},
|
||||||
{"C_Van_01_transport_EPOCH",9},
|
{"C_Van_01_transport_EPOCH",9},
|
||||||
{"C_Boat_Civil_01_EPOCH",5},
|
{"C_Boat_Civil_01_EPOCH",2},
|
||||||
{"C_Boat_Civil_01_police_EPOCH",5},
|
{"C_Boat_Civil_01_police_EPOCH",2},
|
||||||
{"C_Boat_Civil_01_rescue_EPOCH",5},
|
{"C_Boat_Civil_01_rescue_EPOCH",2},
|
||||||
{"B_Heli_Light_01_EPOCH",2},
|
{"B_Heli_Light_01_EPOCH",2},
|
||||||
{"B_SDV_01_EPOCH",2},
|
{"B_SDV_01_EPOCH",2},
|
||||||
{"B_MRAP_01_EPOCH",3},
|
{"B_MRAP_01_EPOCH",3},
|
||||||
@ -231,7 +231,7 @@ class CfgEpoch
|
|||||||
{"O_Heli_Transport_04_box_EPOCH",1},
|
{"O_Heli_Transport_04_box_EPOCH",1},
|
||||||
{"O_Heli_Transport_04_covered_EPOCH",1},
|
{"O_Heli_Transport_04_covered_EPOCH",1},
|
||||||
{"B_Heli_Transport_03_unarmed_EPOCH",1},
|
{"B_Heli_Transport_03_unarmed_EPOCH",1},
|
||||||
{"jetski_epoch",7},
|
{"jetski_epoch",2},
|
||||||
{"MBK_01_EPOCH",2},
|
{"MBK_01_EPOCH",2},
|
||||||
{"hoverboard_epoch_1",1},
|
{"hoverboard_epoch_1",1},
|
||||||
{"hoverboard_epoch_cargo",1},
|
{"hoverboard_epoch_cargo",1},
|
||||||
@ -281,7 +281,7 @@ class CfgEpoch
|
|||||||
{"C_Rubberboat_04_EPOCH",2},
|
{"C_Rubberboat_04_EPOCH",2},
|
||||||
{"C_Van_01_box_EPOCH",4},
|
{"C_Van_01_box_EPOCH",4},
|
||||||
{"C_Van_01_transport_EPOCH",4},
|
{"C_Van_01_transport_EPOCH",4},
|
||||||
{"C_Boat_Civil_01_EPOCH",5},
|
{"C_Boat_Civil_01_EPOCH",2},
|
||||||
{"C_Boat_Civil_01_police_EPOCH",2},
|
{"C_Boat_Civil_01_police_EPOCH",2},
|
||||||
{"C_Boat_Civil_01_rescue_EPOCH",2},
|
{"C_Boat_Civil_01_rescue_EPOCH",2},
|
||||||
{"B_Heli_Light_01_EPOCH",2},
|
{"B_Heli_Light_01_EPOCH",2},
|
||||||
@ -304,7 +304,7 @@ class CfgEpoch
|
|||||||
{"O_Heli_Transport_04_box_EPOCH",1},
|
{"O_Heli_Transport_04_box_EPOCH",1},
|
||||||
{"O_Heli_Transport_04_covered_EPOCH",1},
|
{"O_Heli_Transport_04_covered_EPOCH",1},
|
||||||
{"B_Heli_Transport_03_unarmed_EPOCH",1},
|
{"B_Heli_Transport_03_unarmed_EPOCH",1},
|
||||||
{"jetski_epoch",3},
|
{"jetski_epoch",2},
|
||||||
{"K01",1},
|
{"K01",1},
|
||||||
{"K02",1},
|
{"K02",1},
|
||||||
{"K03",1},
|
{"K03",1},
|
||||||
@ -393,7 +393,7 @@ class CfgEpoch
|
|||||||
{"plymouth_rock_1",5},
|
{"plymouth_rock_1",5},
|
||||||
{"warrig_black",5},
|
{"warrig_black",5},
|
||||||
{"nux_car_1",10},
|
{"nux_car_1",10},
|
||||||
{"interceptor_1",5},
|
{"interceptor_1",5}
|
||||||
};
|
};
|
||||||
allowedVehiclesList_MADCUP[] = {
|
allowedVehiclesList_MADCUP[] = {
|
||||||
{"jetski_epoch",3},
|
{"jetski_epoch",3},
|
||||||
@ -427,7 +427,7 @@ class CfgEpoch
|
|||||||
{"CUP_C_Golf4_white_Civ",1},
|
{"CUP_C_Golf4_white_Civ",1},
|
||||||
{"CUP_C_Golf4_whiteblood_Civ",1},
|
{"CUP_C_Golf4_whiteblood_Civ",1},
|
||||||
{"CUP_C_Golf4_yellow_Civ",1},
|
{"CUP_C_Golf4_yellow_Civ",1},
|
||||||
{"CUP_C_Octavia_CIV",1},
|
{"CUP_C_Octavia_CIV",1}
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
#include "configs\maps\bornholm.h"
|
#include "configs\maps\bornholm.h"
|
||||||
@ -462,5 +462,5 @@ class CfgEpoch
|
|||||||
#include "configs\maps\Panthera3.h"
|
#include "configs\maps\Panthera3.h"
|
||||||
#include "configs\maps\Winthera3.h"
|
#include "configs\maps\Winthera3.h"
|
||||||
#include "configs\maps\lythium.h"
|
#include "configs\maps\lythium.h"
|
||||||
|
#include "configs\maps\Enoch.h"
|
||||||
};
|
};
|
||||||
|
47
Sources/epoch_server_settings/configs/maps/Enoch.h
Normal file
47
Sources/epoch_server_settings/configs/maps/Enoch.h
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
/*
|
||||||
|
Author: Aaron Clark - EpochMod.com
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
|
||||||
|
Description:
|
||||||
|
Epoch gamemode server Side map specific configs for altis.
|
||||||
|
|
||||||
|
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/release/Sources/epoch_server_settngs/configs/maps/altis.h
|
||||||
|
*/
|
||||||
|
class Enoch : Default
|
||||||
|
{
|
||||||
|
worldSize = 12800;
|
||||||
|
plantLimit = 10;
|
||||||
|
// vehicles - Max vehicle slots is calculated from per vehicle limits below. Warning! Higher the number lower the performance.
|
||||||
|
vehicleSpawnTypes[] = {
|
||||||
|
{"FlatAreaCity",1},
|
||||||
|
{"FlatAreaCitySmall",1},
|
||||||
|
{"NameCity",2},
|
||||||
|
{"NameVillage",1},
|
||||||
|
{"NameCityCapital",4},
|
||||||
|
{"Airport",5}
|
||||||
|
};
|
||||||
|
telePos[] = {
|
||||||
|
// N [-0.286865,8.17383,-10.3098, 0]
|
||||||
|
// S [-0.415527,-7.05298,-10.3098, 180]
|
||||||
|
// E [13.5127,0.410156,-10.3098, 90]
|
||||||
|
// W [-14.4316,0.112793,-10.3098, -90]
|
||||||
|
{ "TP_Booth_n_EPOCH", { -0.286865, 8.17383, -10.3098, 0}, "", { 5890,10710,0 } }, // North
|
||||||
|
{ "TP_Booth_s_EPOCH", { -0.286865, -8.17383, -10.3098, 180}, "", { 6356,2768,0 } }, // South
|
||||||
|
{ "TP_Booth_w_EPOCH", { -14.4316, 0.112793, -10.3098, -90}, "", { 10328,7022,0 } }, // West
|
||||||
|
{ "TP_Booth_e_EPOCH", { 13.5127, 0.410156, -10.3098, 90}, "", { 1927,6372,0 } } // East
|
||||||
|
};
|
||||||
|
propsPos[] = {
|
||||||
|
};
|
||||||
|
staticNpcPos[] = {
|
||||||
|
};
|
||||||
|
|
||||||
|
// Prefered locations for vehicles
|
||||||
|
class whitelistedVehiclePos {
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
6080
Sources/mpmissions/epoch.Enoch/mission.sqm
Normal file
6080
Sources/mpmissions/epoch.Enoch/mission.sqm
Normal file
File diff suppressed because it is too large
Load Diff
BIN
Sources/mpmissions/epoch.Enoch/treeView.txt
Normal file
BIN
Sources/mpmissions/epoch.Enoch/treeView.txt
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user