Tweaks to UMS to improve playability.

This commit is contained in:
Ghostrider-DbD- 2018-02-05 07:29:26 -05:00
parent 42cdbf7b83
commit 623bf9e2e6
4 changed files with 10 additions and 9 deletions

View File

@ -1,6 +1,6 @@
/*
By Ghostrider [GRG]
Last modified 8-15-17
--------------------------
License
--------------------------

View File

@ -1,9 +1,10 @@
// GMS_fnc_time.sqf
// by Ghostrider-DBD_
// Last Updated 12/21/16
// Creds to AWOL, A3W, LouD and Creampie for insights.
/*
GMS_fnc_time.sqf
by Ghostrider-DBD_
//if (!isServer) exitWith {};
Credits to AWOL, A3W, LouD and Creampie for insights.
*/
/*
blck_timeAcceleration = true; // When true, time acceleration will be periodically updated based on amount of daylight at that time according to the values below

View File

@ -122,7 +122,7 @@ if (_missionTimedOut) exitWith
blck_UMS_ActiveDynamicMissions = blck_UMS_ActiveDynamicMissions - [_coords];
blck_dynamicUMS_MissionsRuning = blck_dynamicUMS_MissionsRuning - 1;
[_blck_localMissionMarker select 0] call compile preprocessfilelinenumbers "debug\deleteMarker.sqf";
[_blck_localMissionMarker select 0] call blck_fnc_deleteMarker;
//_blck_localMissionMarker set [1,[0,0,0]];
//_blck_localMissionMarker set [2,""];
[_objects, 0.1] spawn blck_fnc_cleanupObjects;
@ -469,7 +469,7 @@ if (count _missionLootBoxes > 0) then
}
else
{
_crates = [_coords,[[selectRandom blck_crateTypes,[0,0,0],_crateLoot,_lootCounts]], _loadCratesTiming] call blck_fnc_spawnMissionCrates;
_crates = [_coords,[[selectRandom blck_UMS_crates,[0,0,0],_crateLoot,_lootCounts]], _loadCratesTiming] call blck_fnc_spawnMissionCrates;
};

View File

@ -64,7 +64,7 @@ _missionLootBoxes = [ // Paste appropriate lines from M3EDEN editor output her
// where _customLootArray follows the same format as blck_BoxLoot_Red and the other pre-defined arrays and
// where _customlootcountsarray1 also follows the same format as the predefined arrays like blck_lootCountsRed
// ["Box_NATO_Ammo_F",[22893,16766.8,6.31652],[[0,1,0],[0,0,1]],[true,false], _crateLoot, _lootCounts],
[selectRandom blck_UMS_crates,[22584.9,15282.2,-1],[[0,1,0],[0,0,1]],[true,false], _crateLoot, _lootCounts]
[selectRandom blck_UMS_crates,[22584,15304,-1],[[0,1,0],[0,0,1]],[true,false], _crateLoot, _lootCounts]
]; // If this array is empty a single loot chest will be added at the center. If you add items loot chest(s) will be spawned in specific positions.