AreaMex + caching

Spring EngineLua Scripts

271
4310 (0 today)
No votes yet

Images





File Information

Title / Version AreaMex + caching
License Freeware / Free
Filename AreaMex.rar
Filesize 11.89 KB
Date 09/13/2009 - 10:32
Changed 01/02/2011 - 17:42
Publisher / Author NTG (Uploaded by NTG)

Description

Area Mex with no button + file caching system. this way widget doesn't need to analyse map and search for metal spots each time you start game which improves loading speed on map with many spots. i also fixed Expand & Exterminate support and added entry for XTA.

example on SpeedMetal
- 653 mex spots found (well, i didn't mess with analysing engine, so standard version should have same result)
- loading with cache file - less than 1s (about 3-4 mins on first start or by previous AreaMex versions)
- cache file size - 20.3kB

variables you may wish to change:
local maxMetalData = 2500000 -- 10x normal since you analyse map only once
local pathToSave = "LuaUI/Widgets/MetalMaps/" -- where to store mexmaps, auto creation if doesn't exist

hope you like it.