a couple tweaks for easier mission spawns

This commit is contained in:
eraser1 2016-07-19 10:02:14 -05:00
parent 6580e6dc9a
commit 73e2c098f2
9 changed files with 22 additions and 10 deletions

View File

@ -4,7 +4,7 @@ class CfgPatches
{ {
units[] = {}; units[] = {};
weapons[] = {}; weapons[] = {};
a3_DMS_version = "July 16, 2016"; a3_DMS_version = "July 18, 2016";
requiredVersion = 1.36; requiredVersion = 1.36;
requiredAddons[] = {"exile_client","exile_server_config"}; requiredAddons[] = {"exile_client","exile_server_config"};
}; };

View File

@ -34,7 +34,7 @@ if !("isKnownAccount:DMS_PersistentVehicle" call ExileServer_system_database_que
// Some custom maps don't have the proper safePos config entries. // Some custom maps don't have the proper safePos config entries.
// If you are using one and you have an issue with mission spawns, please create an issue on GitHub or post a comment in the DMS thread. // DMS no longer uses these values as of October 30, 2015.
switch (toLower worldName) do switch (toLower worldName) do
{ {
case "altis": // [16000,16000] w/ radius of 16000 works well for Altis case "altis": // [16000,16000] w/ radius of 16000 works well for Altis
@ -72,12 +72,12 @@ DMS_MapCenterPos set [2,0];
RESISTANCE setFriend[WEST,0];
WEST setFriend[RESISTANCE,0];
RESISTANCE setFriend[EAST,0];
EAST setFriend[RESISTANCE,0];
EAST setFriend[WEST,0]; EAST setFriend[WEST,0];
EAST setFriend[RESISTANCE,0];
RESISTANCE setFriend[WEST,0];
RESISTANCE setFriend[EAST,0];
WEST setFriend[EAST,0]; WEST setFriend[EAST,0];
WEST setFriend[RESISTANCE,0];

View File

@ -12,6 +12,9 @@ DMS_MinDistFromEastBorder = 800;
DMS_MinDistFromSouthBorder = 1500; DMS_MinDistFromSouthBorder = 1500;
DMS_MinDistFromNorthBorder = 1900; DMS_MinDistFromNorthBorder = 1900;
// Plenty of slopes
DMS_MinSurfaceNormal = 0.8;
DMS_StaticMissionsOnServerStart append DMS_StaticMissionsOnServerStart append
[ [

View File

@ -18,7 +18,7 @@ if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
{ {
_this = _this =
[ [
[25,DMS_WaterNearBlacklist,DMS_MinSurfaceNormal,DMS_SpawnZoneNearBlacklist,DMS_TraderZoneNearBlacklist,DMS_MissionNearBlacklist,DMS_PlayerNearBlacklist,DMS_TerritoryNearBlacklist,DMS_ThrottleBlacklists], [15,DMS_WaterNearBlacklist,DMS_MinSurfaceNormal,DMS_SpawnZoneNearBlacklist,DMS_TraderZoneNearBlacklist,DMS_MissionNearBlacklist,DMS_PlayerNearBlacklist,DMS_TerritoryNearBlacklist,DMS_ThrottleBlacklists],
[ [
[] []
], ],

View File

@ -18,7 +18,7 @@ if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then
{ {
_this = _this =
[ [
[50,DMS_WaterNearBlacklist,DMS_MinSurfaceNormal,DMS_SpawnZoneNearBlacklist,DMS_TraderZoneNearBlacklist,DMS_MissionNearBlacklist,DMS_PlayerNearBlacklist,DMS_TerritoryNearBlacklist,DMS_ThrottleBlacklists], [25,DMS_WaterNearBlacklist,DMS_MinSurfaceNormal,DMS_SpawnZoneNearBlacklist,DMS_TraderZoneNearBlacklist,DMS_MissionNearBlacklist,DMS_PlayerNearBlacklist,DMS_TerritoryNearBlacklist,DMS_ThrottleBlacklists],
[ [
[] []
], ],

View File

@ -22,7 +22,7 @@
params params
[ [
["_nearestObjectMinDistance", 25, [0] ], ["_nearestObjectMinDistance", 5, [0] ],
["_waterNearLimit", DMS_WaterNearBlacklist, [0] ], ["_waterNearLimit", DMS_WaterNearBlacklist, [0] ],
["_minSurfaceNormal", DMS_MinSurfaceNormal, [0] ], ["_minSurfaceNormal", DMS_MinSurfaceNormal, [0] ],
["_spawnZoneNearLimit", DMS_SpawnZoneNearBlacklist, [0] ], ["_spawnZoneNearLimit", DMS_SpawnZoneNearBlacklist, [0] ],

View File

@ -14,7 +14,7 @@ private _recentlyUnfrozen = [];
{ {
if (isNull _x) then if (isNull _x) then
{ {
diag_log format["DMS SORT OF AN ERROR :: Null Group found in DMS_FrozenAIGroups! Index: %1",_forEachIndex]; diag_log format["DMS ERROR :: Null Group found in DMS_FrozenAIGroups! Index: %1 | You might want to consider reducing the value of 'DMS_ai_freezeCheckingDelay'! Current value: %2",_forEachIndex,DMS_ai_freezeCheckingDelay];
DMS_FrozenAIGroups deleteAt _forEachIndex; DMS_FrozenAIGroups deleteAt _forEachIndex;
} }
else else

View File

@ -4,6 +4,12 @@
### Main Branch ### Main Branch
### July 18, 2016 (10:00 AM CST-America):
* Reduce minimum surface normal on Tanoa
* Reduce minimum distance to nearest object requirement for "construction" and "mercbase" missions.
* Reduced default value for ```_nearestObjectMinDistance``` parameter in the "DMS_fnc_findSafePos" function.
* Improved "error" log for the freeze manager when a null group was found.
### July 16, 2016 (12:15 AM CST-America): ### July 16, 2016 (12:15 AM CST-America):
* Fixed a typo in the post-init when using "DMS_BanditMissionsOnServerStart" (thanks to [jmayr2000 on the forums](http://www.exilemod.com/profile/76602-jmayr2000/) for reporting the issue) * Fixed a typo in the post-init when using "DMS_BanditMissionsOnServerStart" (thanks to [jmayr2000 on the forums](http://www.exilemod.com/profile/76602-jmayr2000/) for reporting the issue)
* The "underwater_stash" mission will now actually spawn ammo for the SDARs in the crate on land (thanks to "Valthos" for pointing that out). * The "underwater_stash" mission will now actually spawn ammo for the SDARs in the crate on land (thanks to "Valthos" for pointing that out).

View File

@ -1,3 +1,6 @@
![Arma 1.62](https://img.shields.io/badge/Arma-1.62-blue.svg) ![Exile 1.0.0 Potato](https://img.shields.io/badge/Exile-1.0.0%20Potato-C72651.svg) ![DMS Version](https://img.shields.io/badge/DMS%20Version-2016--07--18-blue.svg) ![Build Status](https://img.shields.io/badge/build-passing-brightgreen.svg)
# To the User: # To the User:
####Read the instructions carefully. Before leaving any questions regarding DMS, please read through the [DMS "config.sqf"](https://github.com/Defent/DMS_Exile/blob/master/%40ExileServer/addons/a3_dms/config.sqf?ts=4); the majority of the questions we receive are answered (directly or indirectly) by the config. ####Read the instructions carefully. Before leaving any questions regarding DMS, please read through the [DMS "config.sqf"](https://github.com/Defent/DMS_Exile/blob/master/%40ExileServer/addons/a3_dms/config.sqf?ts=4); the majority of the questions we receive are answered (directly or indirectly) by the config.