2015-09-05 03:40:00 +00:00
|
|
|
class CfgPatches
|
|
|
|
{
|
|
|
|
class A3_dms
|
|
|
|
{
|
2015-08-26 13:12:14 +00:00
|
|
|
units[] = {};
|
|
|
|
weapons[] = {};
|
2015-09-05 04:20:04 +00:00
|
|
|
a3_DMS_version = 3.0;
|
2015-08-26 13:12:14 +00:00
|
|
|
requiredVersion = 1.36;
|
2015-08-27 07:44:23 +00:00
|
|
|
requiredAddons[] = {"exile_client","exile_server_config"};
|
2015-08-26 13:12:14 +00:00
|
|
|
};
|
|
|
|
};
|
2015-09-05 03:40:00 +00:00
|
|
|
class CfgFunctions
|
|
|
|
{
|
|
|
|
class DMS
|
|
|
|
{
|
|
|
|
class main
|
|
|
|
{
|
2015-08-26 13:12:14 +00:00
|
|
|
file = "\x\addons\dms";
|
2015-08-28 08:38:46 +00:00
|
|
|
class DMS_preInit
|
2015-08-27 07:44:23 +00:00
|
|
|
{
|
|
|
|
preInit = 1;
|
|
|
|
};
|
2015-09-05 03:40:00 +00:00
|
|
|
class DMS_postInit
|
|
|
|
{
|
2015-08-26 13:12:14 +00:00
|
|
|
postInit = 1;
|
|
|
|
};
|
|
|
|
};
|
2015-09-05 03:40:00 +00:00
|
|
|
class compiles
|
|
|
|
{
|
|
|
|
file = "\x\addons\dms\scripts";
|
|
|
|
class AddMissionToMonitor {};
|
|
|
|
class AILocalityManager {};
|
|
|
|
class BroadcastMissionStatus {};
|
2015-09-13 06:15:21 +00:00
|
|
|
class CalcPos {};
|
2015-09-05 03:40:00 +00:00
|
|
|
class CleanUp {};
|
|
|
|
class CleanUpManager {};
|
|
|
|
class CreateMarker {};
|
Readme changes, new debug fnc, fixes, tweaks
Created disclaimer for DMS. Now mentioning that HC for DMS isn't that
good.
Some structure stuff in readme (let's see if it works lol)
* **NEW CONFIG VALUE: DMS_Use_Map_Config**
* You can now overwrite "main config values" with map-specific config
values located in the new "map_configs" folder. This should allow you to
use one DMS PBO if you have multiple servers with different maps.
Included examples for Altis, Bornholm, Esseker, and Tavi (Taviana).
* Because of the above implementation, DMS by default will not include
the salt flats blacklist for findSafePos. In addition, it is
preconfigured to the hilly terrains in Esseker and Taviana, as well as
reducing all of the blacklist distances due to the smaller map size in
Esseker.
* Created new function "DMS_fnc_DebugLog". All DMS files (that produced
debug logs) have been changed, including mission files. However,
updating them is not important (and completely pointless if you don't
even use DMS_DEBUG).
* Fixed a few locations where it said "sized" instead of "seized".
Thanks to [icomrade](https://github.com/icomrade) for pointing them out.
* DMS now utilizes the "ARMA_LOG" DLL (if it exists) by infiSTAR to
produce debug logs (if enabled). All debug logs now also include server
uptime (in seconds) and server FPS.
* The FSM no longer produces debug logs.
* AI Locality manager will now run every minute.
* Debug logs for "DMS_fnc_MissionsMonitor" will only output the mission
name and the position, instead of all of the parameters.
* "DMS_fnc_IsNearWater" will now check the provided position itself for
water.
* "DMS_fnc_IsValidPosition" will now do a surfaceNormal check within a 5
meter radius of the provided position as well.
* "_customGearSet" should now actually work for
"DMS_fnc_SpawnAISoldier", and the function title comment has been
updated for the slightly tweaked syntax.
2015-10-10 01:35:07 +00:00
|
|
|
class DebugLog {};
|
2015-09-05 03:40:00 +00:00
|
|
|
class FillCrate {};
|
|
|
|
class FindSafePos {};
|
|
|
|
class FindSuppressor {};
|
2015-09-20 20:26:08 +00:00
|
|
|
//class HeliParatroopers {};
|
|
|
|
//class HeliPatrol {};
|
2015-09-13 06:15:21 +00:00
|
|
|
class ImportFromM3E {};
|
2015-09-20 20:26:08 +00:00
|
|
|
class ImportFromM3E_Convert {};
|
2015-09-05 06:03:20 +00:00
|
|
|
class IsPlayerNearby {};
|
2015-09-05 03:40:00 +00:00
|
|
|
class IsNearWater {};
|
2015-10-04 03:32:42 +00:00
|
|
|
class IsValidPosition {};
|
I know... it's been over a week... gimme a break
#### October 17, 2015 (2:30 PM CST-America):
* **NEW CONFIG VALUES**:
|DMS_TimeToFirstMission|
|DMS_ShowDifficultyColorLegend|
|DMS_TerritoryNearBlacklist|
|DMS_MinSurfaceNormal| (Used to be DMS_MaxSurfaceNormal, simply renamed)
|DMS_ai_launchers_per_group|
* **UPDATING ALL OF YOUR MISSION FILES IS HIGHLY RECOMMENDED UNLESS YOU
KNOW WHAT YOU'RE DOING**
* RENAMED "DMS_MaxSurfaceNormal" to "DMS_MinSurfaceNormal". I must have
been very tired when I named it...
* DMS_MinSurfaceNormal is now 0.9 by default, but will be 0.95 for Altis
and Bornholm (since they're relatively large/flat maps). Esseker is
still 0.85. If you want to convert DMS_MinSurfaceNormal to degrees, you
would take the arc-cosine of the surfaceNormal, and that will give you
the degrees from horizontal. For example, arccos(0.9) is about 25
degrees. Google: "arccos(0.9) in degrees"
* Tweaked and rebalanced "DMS_BanditMissionTypes". Most of the spawn
chances are the same, they're just reduced in order to prevent the
creation of arrays that are far larger than they need to be.
* You can now manually define how long it takes for the first mission to
spawn after a restart.
* DMS will now by default create markers on the bottom left of the map
to show which colors correspond to which difficulty. It isn't very
pretty, but it gets the point across.
* DMS will now manually calculate the center of the map and its radius,
if it isn't preconfigured by DMS.
* You can now specify the vehicles to spawn for missions: "bandits",
"cardealer", "construction", "donthasslethehoff", and "thieves".
* You can now specify the spawning location of any mission (and whether
or not to use an alternative location if the provided location is
invalid). This will allow for easy integration of DMS into admin tools.
* Added support for scripts to be executed on mission completion or
mission failure (this will allow you to have "multi-part" missions,
where you would simply spawn the next part of the mission if the
previous is completed).
* Restructured DMS_DEBUG from the previous patch in favor of a more
"optimized" method.
* DMS_fnc_findSafePos is completely overhauled; DMS no longer uses
"BIS_fnc_findSafePos". It also now throttles minSurfaceNormal on
repeated failure. You can now determine whether or not the mission
should spawn on water (however, I don't suggest you use this function
for water spawns yet).
* You can also now define a minimum distance from other territories for
missions.
* DMS_fnc_IsValidPosition will now check for water depth if the provided
position is meant to be checked as a "water spawn". It will now also
check for nearby missions from A3XAI or VEMF (untested).
* DMS_fnc_IsValidPosition now checks whether or not the position is
outside of the map borders.
* DMS_fnc_SelectOffsetPos will now return the 3rd element of the
provided position as-is.
* You can now have multiple AI within a group with a launcher.
* AI now have a 5-second godmode after spawning.
* You can now spawn a crate using ASL pos. DMS_fnc_SpawnCrate will also
make sure that the provided classname is valid.
* Just like SpawnCrate, "DMS_fnc_SpawnNonPersistentVehicle" and
"DMS_fnc_SpawnPersistentVehicle" will now make sure that the provided
classname is valid.
* "DMS_fnc_SpawnPersistentVehicle" now supports ASL spawning.
* Added support for [Rod Serling's](https://github.com/Rod-Serling) AVS.
* General optimization.
2015-10-17 19:39:07 +00:00
|
|
|
class MissionParams {};
|
2015-09-05 03:40:00 +00:00
|
|
|
class MissionsMonitor {};
|
|
|
|
class MissionSuccessState {};
|
|
|
|
class OnKilled {};
|
|
|
|
class RemoveMarkers {};
|
2015-09-10 22:48:56 +00:00
|
|
|
class SelectRandomVal {};
|
2015-09-05 03:40:00 +00:00
|
|
|
class SelectMagazine {};
|
|
|
|
class SelectMission {};
|
2015-09-10 22:48:56 +00:00
|
|
|
class SelectOffsetPos {};
|
2015-09-05 03:40:00 +00:00
|
|
|
class SetAILocality {};
|
|
|
|
class SetGroupBehavior {};
|
|
|
|
class SpawnAIGroup {};
|
2015-09-15 03:50:09 +00:00
|
|
|
class SpawnAIVehicle {};
|
2015-09-05 03:40:00 +00:00
|
|
|
class SpawnAISoldier {};
|
2015-09-10 02:05:46 +00:00
|
|
|
class SpawnAIStatic {};
|
2015-09-21 04:42:33 +00:00
|
|
|
class SpawnBanditMission {};
|
2015-09-05 03:40:00 +00:00
|
|
|
class SpawnCrate {};
|
2015-09-25 06:40:59 +00:00
|
|
|
class SpawnMinefield {};
|
2015-10-05 03:27:22 +00:00
|
|
|
class SpawnPersistentVehicle {};
|
2015-09-05 03:40:00 +00:00
|
|
|
class SpawnNonPersistentVehicle {};
|
|
|
|
class TargetsKilled {};
|
|
|
|
};
|
2015-08-26 13:12:14 +00:00
|
|
|
};
|
2015-08-29 10:16:39 +00:00
|
|
|
};
|