mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
Slight tweaks
This commit is contained in:
parent
c28ca8dfba
commit
1c425a1059
@ -4,7 +4,7 @@ class CfgPatches
|
||||
{
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
a3_DMS_version = "April 15, 2016 (RC3)";
|
||||
a3_DMS_version = "April 20, 2016 (RC4)";
|
||||
requiredVersion = 1.36;
|
||||
requiredAddons[] = {"exile_client","exile_server_config"};
|
||||
};
|
||||
|
@ -71,7 +71,7 @@ _generatePos =
|
||||
};
|
||||
};
|
||||
|
||||
while{!_isValidSpot} do
|
||||
while {!_isValidSpot} do
|
||||
{
|
||||
_attempts = _attempts+1;
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
Returns a position.
|
||||
*/
|
||||
|
||||
private ["_centerPos", "_distance", "_posParameters", "_original_x", "_original_y", "_original_Blacklist", "_center_x", "_center_y", "_pos"];
|
||||
private ["_centerPos", "_distance", "_posParameters", "_original_x", "_original_y", "_original_Blacklist", "_center_x", "_center_y", "_usePresetOriginal", "_pos"];
|
||||
|
||||
if !(params
|
||||
[
|
||||
@ -62,6 +62,8 @@ DMS_findSafePosBlacklist =
|
||||
[]
|
||||
};
|
||||
|
||||
_usePresetOriginal = DMS_UsePredefinedMissionLocations;
|
||||
DMS_UsePredefinedMissionLocations = false;
|
||||
|
||||
// NOW we get the position (hopefully)
|
||||
_pos = _posParameters call DMS_fnc_findSafePos;
|
||||
@ -70,5 +72,6 @@ _pos = _posParameters call DMS_fnc_findSafePos;
|
||||
DMS_MinMax_X_Coords = _original_x;
|
||||
DMS_MinMax_Y_Coords = _original_y;
|
||||
DMS_findSafePosBlacklist = _original_Blacklist;
|
||||
DMS_UsePredefinedMissionLocations = _usePresetOriginal;
|
||||
|
||||
_pos
|
||||
|
@ -69,6 +69,8 @@ _objs = _export apply
|
||||
_obj setPos _objPos;
|
||||
};
|
||||
|
||||
_obj enableSimulationGlobal false;
|
||||
|
||||
_obj;
|
||||
};
|
||||
|
||||
|
@ -65,6 +65,9 @@ _objs = _export apply
|
||||
_obj setPosATL _pos;
|
||||
_obj setVectorDirAndUp (_x select 3);
|
||||
};
|
||||
|
||||
_obj enableSimulationGlobal false;
|
||||
|
||||
_obj;
|
||||
};
|
||||
|
||||
|
@ -67,6 +67,8 @@ _objs = _export apply
|
||||
_obj setVectorDirAndUp (_x select 3);
|
||||
};
|
||||
|
||||
_obj enableSimulationGlobal false;
|
||||
|
||||
_obj;
|
||||
};
|
||||
|
||||
|
@ -130,6 +130,10 @@ ___
|
||||
DMS_RareLootAmount
|
||||
DMS_ReinforcementHelis
|
||||
|
||||
#### April 20, 2016 (5:45 PM CST-America, RC):
|
||||
* The new "DMS_fnc_FindSafePos_InRange" function will ignore the config "DMS_UsePredefinedMissionLocations".
|
||||
* Disable simulation on objects imported from M3Editor. (Thanks to [second_coming](http://www.exilemod.com/profile/60-second_coming/) for the tip)
|
||||
|
||||
#### April 15, 2016 (8:45 PM CST-America, RC):
|
||||
* Fixed an issue where static weapons would always be destroyed, ignoring other configs. Thanks to [second_coming](http://www.exilemod.com/profile/60-second_coming/)!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user