Total re-write of spawner for emplaced weapons and vehicle patrols. The
trigger loops that detect when to start or timeout a mission and when a
mission is complete were totally redone. Some functions are now done
using copies of the parrent arrays.
Added new 'reloaded' event handler to AI
Added checks for mags for vehicle mounted weapons to
GMS_fnc_vehicleMonitor so AI can reload rather than just having infinite
ammo
changed some distance to distance2D to try to solve issues with certain
mission triggers failing.
More work on modularization of GMS_fnc_missionSpawner
bugfixes for the timerliss mission spawner.
better logging information.
Old code removed.
Still needed: fix errors spawning emplaced weapons. Fix issues with
reolading weapons. Find cause of issue with corruption of key data that
causes invalid entries in the mission que. find cause of instances in
which missions dont trigger or sense a condition that should complete
the mission. Sort out reinforcements
Fixed an issue whereby the array containing mission information was not correctly updated. this was caused by the fact that simple array subtraction does not work for nested arrays, hence the kludgy fix wherein a new array is built that lacks the element to be deleted.
Added a q-5 second loop.
Moved calls to the vehicleMonitor to occur every 5 seconds in the main loop.
Fixed an issue wherein the elements for live AI and mission vehicles were not being deleted from their respective arrays after the corresponding 'vehicles' were deleted.
Lines 114 and 114 can be compiled to save server threads, it didn't pv blck_Initialized but missions still ran as intended with 50% less server threads
Fixed various errors related to spawning multiple instances of a
mission. fixed the error with undefined variables for the setting for
spanwing map addons.
Added configuration settings so that you can disable the time
acceleration module, map addons, and static loot crate spawner.
Fixed a big in the time acceleration module.
Added mission notifications using Toasts (Exile Only)
Added Killer notifications that display Bonus Recieved for the Kill.
Minor corrections of typos and bug fixes
Fixed issue wherein fnc_missionSpawner would hang if fnc_spawnGroup
returned a NULL-GROUP
This occured when the server had reached the max number of groups.
The fix was to periodically deleted empty groups (see fnc_mainThread).
this is probably a bug on Epoch only as Exile includes a check to delete
empty gorups in the server fsm.
Worked on the code to check for flags/plot poles but this stil needs
more work.
worked on code to send notifications when a player trips an IED but this
needs more work.
Other minor bug-fixes
Removed definitions of blacklisted areas from GMS_fnc_findWorld and
added this to the mod-specific config.
Added Apex weapons, uniforms, helmets/headgear, optics, weapons, etc.
Added scripts to automatically pull locations of traders and spawns from
the mission.sqm.
see changelog.sqf for details.
Added a little script that runs when blckeagls starts up that spawns map
addons for AI bases and such.
Added additional checks that add points, bipods and silencers to AI
weapoins.
Code for spawning and monitoring vehicle patrols and static weapons was
redone.
A new method of monitoring these vehicles using a single loop rather
than many loops was added.