Updated change log and readme

This commit is contained in:
Ghostrider-DbD- 2017-03-20 23:45:16 -04:00
parent 709aac4b74
commit 737d7214e0

View File

@ -4,38 +4,84 @@ Loosely based on the AI mission system by blckeagls ver 2.0.2
Contributions by Narines: bug fixes, testing, infinite ammo fix.
Ideas or code from that by Vampire and KiloSwiss have been used for certain functions.
3/13/17 Version 6.58 Build 41
3/18/17 Version 6.58 Build 44
[Fixed] Time acceleration was not working.
[Fixed] blck_timeAcceleration now determines if time acceleration is activated.
[Fixed] The mission described by default2 in the blue missions folder now spawns correctly.
You can use this as a guide for how to place loot crates or static weapons at specific locations like inside or on top of structures.
Loot vehicles are now spawned correctly.
Loot crates positioned at specific locations are now spawned correctely.
static weapons to be spawned at specified positions are now spawned correctly.
That mission is disabled by default.
[Added] option to disable time acceleration (blck_timeAcceleration = true; line 30 of blck_config.sqf)
[Added] options to have armed heli's patrolling the missions and for them to drop AI.
[Added] options to have paratroops drop over missions as an alternative to the above.
[Added] Code optimization for GMS_fnc_spawnMissionAI.sqf and several other AI spawning scripts.
Added] Formalizing exception handling for the case in which a createGroup request returns grpNull.
If this happens during mission spawning the mission will be aborted and all mission objects and AI will be deleted.
This should prevent the mission system from crashing causing no further missions to spawn.
[Changed] Coding improvements for waypoint generation.
Tried a new approach to generating waypoints to make AI more aggressive without the overhead of the last method.
[Added] a new configuration that sets a cap on the maximum number of spawned missions.
blck_maxSpawnedMissions = 4; // Line 181 of blck_configs.sqf
[Changed] Redid the mission spawner to spawn one random mission every 1 min for mission for which timers say they can be spoawned.
This will continue until the cap is reached then randomly select a mission from those that are ready to be respawned to be spawned next.
If you want the various missions to have an equal chance of being spawned at all times, give the the timers for blue, red, green and red timers the same values for Min and Max.
[Chaged] logic for detecting whether a player is near the mission center or loot crates to test if a player is near any of an array of location or objects.
[Added] a function blck_fnc_allPlayers which returns an array of allPlayers (as a temporizing fix till BIS patches the allPlayers function.
To Do - consider moving back to storing AI in a group-based manner (doable easily, needs testing).
Build a template for static missions (planned for Ver 6.60).
Write a static mission spawning routine (planned for Ver 6.60).
3/17/17 Version 6.58 Build 43
Reverted back to v6.56 build 39 then:
[Added] a Hit event handler to make AI more responsive. All AI in the group to which the hit AI belongs are informed of the shooter's location.
[Changed] the Killed event handler as below.
[Added] New logic for informing AI of the location of players to give AI a more gradual ramp up from little knowledge about player location to full knowledge.
[Added] scripts and functions for reinforcements: a) heli patrols; b) paratroops.
[Added] ...\custom_server\Configs\blck_defines.hpp inside which you can disable APEX gear and other attributes.
[Changed] Re-organized variables in the configs.
[Changed] Divided configs into tow basic parts:
- General configs for the mission system.
- Mod-specific configs.
[Changed] spawnMarker.sqf in the debug folder (mission.pbo) to reduce unneeded logging.
3/13/17 Version 6.57 Build 41
Changed the method of tracking live AI from an array of units to an array of groups which will aid in monitoring groups for a 'stuck' state.
Added Search and Destroy waypoints for each location in the waypoint cycle.
Change waypoint compbat mode to "COMBAT"
Added Group Waypoint Monitor that deals with the case wherein a group gets 'stuck' in a search and destroy waypoint without any nearby targets.
Updated spawnMarker.sqf in the debug folder (mission.pbo) to reduce unneeded logging.
3/12/17 Version 6.57 Build 40
3/12/17 Version 6.57 Build 40 Reworked AI Event handlers
Added an event handler to make AI more responsive.
Revised logic for informing AI of the location of players to give AI a more gradual ramp up from little knowledge about player location to full knowledge.
2/24/17 Version 6.56 Build 39.
2/24/17 Version 6.56 Build 39. Reworked Mission End Criteria and timing of loading of loot chests
Added a check so that mission completion by players near loot crates was tripped only when players were on foot.
Added a setting that determines whether loot crates are loaded when the mission spawns or once the mission is complete.
see blck_loadCratesTiming = "atMissionCompletion"; (line 78) for this configuration setting.
1/28/17 Version 6.55 Build 38
1/28/17 Version 6.55 Build 38 Bug Fixes
bug fixes
Commented out logging that is no longer needed
Removed a weapon from loot tables that could be used for dupping.
1/24/17 Version 6.55 Build 35
1/24/17 Version 6.55 Build 35 Improved handling of static weapons with dead AI; added option to delete loot chests at some time after mission completion.
Added a new configuration blck_killEmptyStaticWeapons which determines if static weapons shoudl be disabled after the AI is killed.
Added a configuration blck_cleanUpLootChests that determines if loot crates are deleted when other mission objects are deleted.
Fixed an issue that prevented proper deletion of mission objects and live AI.
1/23/17 Version 6.54 Build 33
1/23/17 Version 6.54 Build 33 Bug Fixes
Fixed typos in GMS_fnc_vehicleMonitor.sqf
Removed a few files that are not used or needed.
Removed some code that had been commented out from blck_functions.sqf.
1/22/17 Version 6.54 build 32
1/22/17 Version 6.54 build 32 Primarily performance-oriented improvements to switch from using timers and .sqf to a 'thread' that scans various arrays related to missions and mission objects using pre-compiled functions.
Changed code to test for conditions that trigger to spawn mission objects and AI completely
Rewrote the code for spawning emplaced weapons from scratch.
Fixed an error in how the waitTime till a mission was respawned after being updated to inactive status.
@ -54,7 +100,7 @@ Tweaked code for deleting dead AI to also delete any weapons containers nearby.
Checked throughout for potential scope issues; ensured all private variables were declared as such.
Changed the method by which mission patrol vehicles and static weapons are deleted at the end of a mission.
1/21/17 Build 29.
1/21/17 Build 29. Reverted to an older system for mission timers.
Went back to the timerless system for spawning missions.
Improved code for updating the array of pending/active missions
GMS_fnc_updateMissionQue.sqf re-written to take greater advantage of existing array commands: set and find.
@ -63,7 +109,7 @@ Ensured that the array used to store the location(s) of active or recent mission
1/13/17 Version 6.54 Build 27
Rerverted back to the code that spawned a single instance of each mission until I can debug certain issues.
1/7/17 Version 6.53 Build 24
1/7/17 Version 6.53 Build 24 AI difficulty updates; some performance improvements.
Added a setting blck_baseSkill = 0.7; // This defines the base skil of AI. Increase it to make AI more challenging.
Tweaked AI difficulty settings to make missions more difficult.
changed - GMS_EH_unitKilled - the event handler now uses precompiled rather than compiled on the fly code.
@ -75,7 +121,7 @@ fixed - GMS_fnc_updateMissionQue was not correctly updating mission information
fixed - GMS_fnc_mainThread was not deleted old AI and Vehicles from the arrays used to capture them after mission completion.
changed - calls to GMS_fnc_vehicleMonitor were moved inside the main loop.
1/3/17 Version 6.51 Build 23
1/3/17 Version 6.51 Build 23 Added several new kinds of messaging to the UI.
Moved configuration for the client from debug\blckclient.sqf to debug\blckconfig.sqf.
Added a setting blck_useKillMessages = true/false; (line 60 of the config. when true, kill messages will be send to all players when a player kills an AI. The style of the message is controlled client-side (debug\blck_config.sqf)
Added a setting blck_useKillScoreMessage = true/false; // (line 61 of the config) when true a tile is displayed to the killer with the kill score information
@ -85,19 +131,19 @@ Added a way to easily include / exclude APEX items. To exclude them comment out
#define useAPEX 1
at approximately line 219 in the config.
12/21/16 Version 6.50 Build 21
12/21/16 Version 6.50 Build 21 Added checks that delete empty groups.
Added a check for mod type to the routine that deletes empty groups as this is only needed for Epoch.
Added back the code that (a) eliminates the mission timers and (b) allows multiple instances of a mission to be spawned.
12/20/16 Version 6.46 Buid 20
12/20/16 Version 6.46 Buid 20 Tweaks to time acceleration module.
Moved Variables for time acceleration to the config files.
Reworked code for time acceleration to use timeDay and BIS_fnc_sunriseSunsetTime.
11/20/16 Build 6.45 Build 19
11/20/16 Build 6.45 Build 19 UI-related additions and bug fixes.
Added Option to display mission information in Toasts (Exile Only).
Fixed an issue related to bugs in Arma 1.66
11/16/16 Version 6.44 Build 15
11/16/16 Version 6.44 Build 15 Added options for automated generation of location blacklists; added APEX gear; tweaks to the code that loads items into crates.
Added parameters
blck_blacklistTraderCities=true; // the locations of the Epoch/Exile trader cities will be pulled from the config and added to the location blacklist for the mission system.
blcklistConcreteMixerZones = true; // Locations of the concrete mixers will be pulled from the configs; no missions will be spawned within 1000 m of these locations.
@ -112,15 +158,15 @@ Changed: Divided rifles and optics into subcategories to better enable assigning
Changed: DLS crate loader (not publically available yet) now uses blck_fnc_loadLootItemsFromArray rather than the prior approach for which specific crate loading functions were called depending on the loadout type (weapons, building supplies, foord etc).
Fixed: You can now loot AI bodies in Epoch.
11/12/16 Version 6.43 Build 12
11/12/16 Version 6.43 Build 12 Added MAP ADDONS and Loot Crate Spawners.
Added: MapAddons - use this to spawn AI strongholds or other compositions you generate with Eden editor at server startup.
Added: Loot Crate Spawner - Spawn loot crates at prespecified points. This is designed so that you can spawn crates inside buildings or other structures spawned through the map-addons.
Added: APEX weapons, sights and optics to AI and loot crates.
11/12/16 Version 6.42 Build 11
11/12/16 Version 6.42 Build 11 Added code to fit weapons attachments.
Enhancements to code to equip weapons; pointrs, silencers and bipods are now attached.
11/11/16 Version 6.42 build 10
11/11/16 Version 6.42 build 10 Added code to fit weapons attachments. Improved code to spawn mission objects.
Redid the code that spawns the objects at missions to work properly with the new formats generated by M3Arma EDEN Editor whilc being backwards compatible with older formats used in the existing missions.
Added code to add scopes and other attachments to AI weapons.
Added new variable blck_blacklistedOptics which you can use to block spawning optics like TMS.
@ -129,53 +175,53 @@ Fixed: launchers and rounds should now be deleted when blck_removeLaunchers = tr
Fixed: All AI should spawn with a uniform.
More bug fixes and correction of typos.
11/2/16 Version 6.41 Build 9
11/2/16 Version 6.41 Build 9 Kill message improvements; added money to AI.
Added a parameter blck_useKilledAIName that, when true, changes the kill messages to show player name and AI unit name
Added message to players for killstreaks and a crypto/Tabs bonus for killstreaks.
Exile: AI spawn with a few tabs.
//Epoch: AI spawn with a few Crypto
Corrected an error that would spawn Epoch NVG on AI in Exile.
10/25/16 Version 6.4 Build 8
10/25/16 Version 6.4 Build 8 Code improvements.
Reworked the code to spawn vehicle patrols and static weapons and clean them up.
Reworked the code that messages players to be sure that calling titleText does not hang the messaging function and delay hints or system chat notifications.
10/22/16 v 6.3 Build 8-14-16
10/22/16 v 6.3 Build 8-14-16 Code performance improvements.
Moved routines that delete dead AI, Alive AI and mission objects from individual loops to a single loop spawned by blck_init.sqf.
Added functions to cache these data with time stamps for later time-based deletion.
10/21/16 Version 6.2 Build 7
10/21/16 Version 6.2 Build 7 Coding improvements
Redid system for markers which are now defined in the mission template reducing dependence on client side configurations for each mission or marker type.
Bug-fixes for helicrashes including ensuring that live AI are despawned after a certain time.
10-1-16 Version 6.1.4 Build 6
10-1-16 Version 6.1.4 Build 6 Added a time acceleration function
1) Added back the time acceleration module
9-25-16 Version 6.1.4 Build 6
9-25-16 Version 6.1.4 Build 6 bug fixes; added metadata.
1) Added metadata for Australia 5.0.1
2) Fixed bugs with the IED notifications used when a player is penalized for illeagal AI Kills. _fnc_processIlegalKills (server side) and blckClient (client side) reworked. _this select 0 etc was replaced with params[] throughout. Many minor errors were corrected.
9/24/16 Version 6.1.3 Build 5
9/24/16 Version 6.1.3 Build 5 Code optimization
1) Re-wrote the SLS crate spawning code which now relies on functions for crate spawning and generating a smoke source already used by the mission system. Replaced old functions with newer ones (e.g., params[] and selectRandom). Found a few bugs. Broke the script up into several discrete functions. Tested on Exile and Epoch,
2) Reworked the code for generating a smoke source. Added additional options with defaults set using params[].
9-19-16 Ver 6.1.2/11/16
9-19-16 Ver 6.1.2/11/16 Bug fixes.
Minor bug fixes to support Exile.
Corrected errors with scout and hunter missions trying to spawn using Epoch headgear.
Corrected error wherein AI were spawned as Epoch soldiers
Inactivated a call to an exile function that had no value
9-15-16 vER 6.1.1
9-15-16 vER 6.1.1 Bug fixes.
1) Reverted to the old spawnUnits routine because the new one was not spawning AI at Scouts and Hunters correctly.
9-13-16 Ver 6.10
9-13-16 Ver 6.10 Improved vehicle patrols.
1) Added waypoints for spawned AI Vehicles.
2) Reworked the logic for generating the positions of these waypoints
3) Added loiter waypoints in addition to move wayponts.
4) Reworked the param/params for spawnUnits
5) several other minor optimizations.
9-3-16 Ver 6.0
9-3-16 Ver 6.0
1) Re-did the custom_server folder so the mod automatically starts. Blck_client.sqf no longer calls the mod from the server.
2) Added a variable blck_modType which presently can be either "Epoch" or "Exile" with the aim of having a single mission system for both mods.
3) Added a more intelligent method for loading key components (variables, functions, and map-specific parameters).