mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
shipwreck update and max config
This commit is contained in:
parent
6821e1895d
commit
fb5345f8c5
@ -31,3 +31,26 @@ if (getNumber(configFile >> "CfgEpoch" >> worldname >> "shipwreckLootEnabled") i
|
||||
} foreach _shipwrecks;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
*/
|
||||
//[[[cog import generate_private_arrays ]]]
|
||||
private ["_shipwrecks","_item","_markers"];
|
||||
//[[[end]]]
|
||||
_cfgEpoch = configFile >> "CfgEpoch" >> worldname;
|
||||
if (getNumber(_cfgEpoch >> "shipwreckLootEnabled") isEqualTo 1) then {
|
||||
_worldSize = worldSize/2;
|
||||
_shipwrecks = nearestTerrainObjects [ [_worldSize, _worldSize], ["SHIPWRECK"], _worldSize];
|
||||
_total = getNumber(_cfgEpoch >> "maxSpawnedShipwrecks");
|
||||
for "_i" from 0 to _total-1 do{
|
||||
_wreck = selectRandom _shipwrecks;
|
||||
_shipwrecks = _shipwrecks - [_wrecks];
|
||||
_item = createVehicle["container_epoch", _wreck, [], 0, "NONE"];
|
||||
_item setMass 220;
|
||||
if (EPOCH_SHOW_BOATLOOT) then {
|
||||
_markers = ["Shipwreck",_wreck] call EPOCH_server_createGlobalMarkerSet;
|
||||
};
|
||||
};
|
||||
};
|
@ -61,6 +61,8 @@ class CfgEpoch
|
||||
{"NameCityCapital",4},
|
||||
{"Airport",5}
|
||||
};
|
||||
|
||||
// Radiation System
|
||||
radioactiveLocations[] = {"NameCityCapital", "NameCity", "Airport"};
|
||||
radioactiveLocationsCount = 3;
|
||||
// Block radioactive locations spawn
|
||||
@ -71,10 +73,17 @@ class CfgEpoch
|
||||
// {{0,0,0}, 0, ""} //any of these will throw an error in the rpt
|
||||
// leave this empty to spawn 0 custom locations
|
||||
};
|
||||
|
||||
// Traders
|
||||
traderBlds[] = {"House", "Building"};
|
||||
traderHomes[] = {"House", "Building"};
|
||||
traderUniforms[] = {"U_OG_leader", "U_C_Poloshirt_stripped", "U_C_Poloshirt_blue", "U_C_Poloshirt_burgundy", "U_C_Poloshirt_tricolour", "U_C_Poloshirt_salmon", "U_C_Poloshirt_redwhite", "U_C_Poor_1", "U_C_WorkerCoveralls", "U_C_Journalist", "U_C_Scientist", "U_OrestesBody"};
|
||||
|
||||
// Shipwrecks
|
||||
shipwreckLootEnabled = 1;
|
||||
maxSpawnedShipwrecks = 12;
|
||||
|
||||
// Debug Box
|
||||
telePos[] = {};
|
||||
lightPos[] = {
|
||||
{-16.623,-8.50195,-10.5417},
|
||||
@ -82,6 +91,7 @@ class CfgEpoch
|
||||
};
|
||||
debugBoxClass = "Debug_static_F";
|
||||
cloneClasses[] = {"clone_empty_static_F", "clone_male_static_F", "clone_female_static_F"};
|
||||
|
||||
propsPos[] = {};
|
||||
staticNpcPos[] = {};
|
||||
forcedVehicleSpawnTable = "";
|
||||
|
Loading…
Reference in New Issue
Block a user