Modified version of ZBE_Cache based off version 4.6a of the original script to be compatible with the cargo system used in HAL. Original mod found here by zorrobyte. Script version only included.
Essentially the same script as the original with the exception of modified FSMs and scripts so that the caching system stops as soon as the leader of a cached group enters a vehicle. This way, any group in vehicles or who needs to use a lift for a period of time will be able to do so while away from the players by having their caching disabled for the time they are on board. The caching system starts back as soon as the leader disembarks. This also fixes the problems caused by dysfunctional crews of tanks when cached at the sacrifice of a bit of performance as the groups in vehicles are not cahced.
Installation / Usage:
For usage instructions and information of how to use the xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx please refer to the included documentation and/or example mission.
Launched and used the same way as the original ZBE_Cache. Call in init.sqf with:
[AiCacheDistance(players),TargetFPS(-1 for Auto),Debug,CarCacheDistance,AirCacheDistance,BoatCacheDistance] execvm "zbe_cache\main.sqf";
If you encounter any bugs, feel free to comment on this thread.
License / Disclaimer:
ZBE_Caching by Zorrobyte is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License and this modified version is released using the same license.
-Major optimization of AI caching/uncaching in vehicles;
-System now uses waypoints AND leader presence to control whether a group is to be cached or not inside a vehicle which greatly improves flow of AI;
ZBE_Cache [NR6] 1.00
- BI forums