Small stuff

This commit is contained in:
eraser1 2016-06-07 11:17:02 -05:00
parent e0dc8c874d
commit f0b7be5d8f
4 changed files with 9 additions and 4 deletions

View File

@ -4,7 +4,7 @@ class CfgPatches
{
units[] = {};
weapons[] = {};
a3_DMS_version = "June 6, 2016 (RC1)";
a3_DMS_version = "June 7, 2016 (RC1.1)";
requiredVersion = 1.36;
requiredAddons[] = {"exile_client","exile_server_config"};
};
@ -49,7 +49,6 @@ class CfgFunctions
class GroupReinforcementsManager {};
//class HandleMissionEvents {};
class HeliParatroopers_Monitor {};
//class HeliPatrol {};
class ImportFromM3E {};
class ImportFromM3E_Convert {};
class ImportFromM3E_Static {};

View File

@ -89,6 +89,7 @@ if ((DMS_ai_use_launchers && {DMS_ai_launchers_per_group>0}) || {!(_launcherType
};
private _units = units _group;
private _launchers = missionNamespace getVariable [format ["DMS_AI_wep_launchers_%1",_launcherType],["launch_NLAW_F"]];
for "_i" from 0 to (((DMS_ai_launchers_per_group min _count)-1) max 0) do
{
@ -96,7 +97,7 @@ if ((DMS_ai_use_launchers && {DMS_ai_launchers_per_group>0}) || {!(_launcherType
{
private _unit = _units select _i;
private _launcher = (selectRandom (missionNamespace getVariable [format ["DMS_AI_wep_launchers_%1",_launcherType],["launch_NLAW_F"]]));
private _launcher = selectRandom _launchers;
removeBackpackGlobal _unit;
_unit addBackpack "B_Carryall_mcamo";

View File

@ -105,6 +105,7 @@ if ((DMS_ai_use_launchers && {DMS_ai_launchers_per_group>0}) || {!(_launcherType
};
private _units = units _group;
private _launchers = missionNamespace getVariable [format ["DMS_AI_wep_launchers_%1",_launcherType],["launch_NLAW_F"]];
for "_i" from 0 to (((DMS_ai_launchers_per_group min _count)-1) max 0) do
{
@ -112,7 +113,7 @@ if ((DMS_ai_use_launchers && {DMS_ai_launchers_per_group>0}) || {!(_launcherType
{
private _unit = _units select _i;
private _launcher = (selectRandom (missionNamespace getVariable [format ["DMS_AI_wep_launchers_%1",_launcherType],["launch_NLAW_F"]]));
private _launcher = selectRandom _launchers;
removeBackpackGlobal _unit;
_unit addBackpack "B_Carryall_mcamo";

View File

@ -150,12 +150,16 @@ ___
# Changelog:
### Test Branch:
#### June 7, 2016 (11:15 PM CST-America) **Release Candidate 1.1**:
* Slight optimization of SpawnAIGroup functions (if you have launchers enabled).
#### June 6, 2016 (10:45 PM CST-America) **Release Candidate 1**:
* New function: DMS_fnc_IsPosBlacklisted (optimized replacement for "BIS_fnc_IsPosBlacklisted")
* Config value "DMS_findSafePosBlacklist" now supports the ability to blacklist within a certain distance of a given position.
* "DMS_CLIENT" functions are now compiled in pre-init (broadcasting is still done in post-init).
* Notifications from "textTilesRequest" and "dynamicTextRequest" should no longer "stack" on each other; if two missions spawn right after another, the second mission notification will be delayed at least until the first one completes.
* More Micro-optimizations on most functions; parameters passed to DMS functions will no longer be checked to see if they are the right type, etc. It was determined that they didn't really provide any benefit, as most errors either don't trigger the "params" error, or the error is simply reiterated elsewhere.
* Removed config value "DMS_MissionMarkerCount"
* "DMS_fnc_FindSuppressor" has been overhauled; it simply checks the configs for the provided weapon classname to return a random muzzle/suppressor classname. Consequently, the function is smaller, faster, and perfectly compatible with any weapon.
* The "freeze manager" will now unfreeze AI if needed regardless of setting "DMS_ai_allowFreezing" to false.