mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
use atl for spawning
This commit is contained in:
parent
6857111a02
commit
eee45dc682
@ -26,7 +26,7 @@ if (worldName == "VR") then {
|
|||||||
_maxColumns = 20;
|
_maxColumns = 20;
|
||||||
|
|
||||||
_rngChance = 0; // Lower this to spawn more positions
|
_rngChance = 0; // Lower this to spawn more positions
|
||||||
_scriptHiveKey = "EPOCH:DynamicBunker003"; // change this to force a new seed to be generated.
|
_scriptHiveKey = "EPOCH:DynamicBunker004"; // change this to force a new seed to be generated.
|
||||||
|
|
||||||
_bunkerLocationsKey = format ["%1:%2", _instanceID, worldname];
|
_bunkerLocationsKey = format ["%1:%2", _instanceID, worldname];
|
||||||
_response = [_scriptHiveKey, _bunkerLocationsKey] call EPOCH_fnc_server_hiveGETRANGE;
|
_response = [_scriptHiveKey, _bunkerLocationsKey] call EPOCH_fnc_server_hiveGETRANGE;
|
||||||
@ -62,7 +62,7 @@ if (worldName == "VR") then {
|
|||||||
// Generate Seed
|
// Generate Seed
|
||||||
_seed = random 999999;
|
_seed = random 999999;
|
||||||
diag_log format["Generating bunker with seed: %1",_seed];
|
diag_log format["Generating bunker with seed: %1",_seed];
|
||||||
_location = ATLToASL _debugLocation;
|
_location = _debugLocation;
|
||||||
_originalLocation = +_location;
|
_originalLocation = +_location;
|
||||||
_valuesAndWeights = [
|
_valuesAndWeights = [
|
||||||
"bunker_epoch", 0.2, // empty bunker
|
"bunker_epoch", 0.2, // empty bunker
|
||||||
|
Loading…
Reference in New Issue
Block a user