MiamiScale v1.0
(https://imgur.com/mphxohN.gif)
(gif image demonstrating the plugin)
This is a plugin which i was creating for the past few days. It was inspired by MapAndreas. Through this plugin, the server has some kind of knowledge about the map of vice city.
You can get the highest point from above for a pair of x,y co-ordinates.However if the player is standing under a bridge, it will fail.
Functions
MiamiScale_Init(mapfile)*
MiamiScale_Unload();
FindZFor2DCoord(x, y);
FindAverageZ(x, y);
SetZFor2DCoord(x, y, z);
MiamiScale_SaveCurrentMap(filename);
*vicecity.map, which was created using RayTraces included in downloads.
Download links: Link1 (https://www.mediafire.com/file/8vfgvm7nrgs5r0o/MiamiScale.7z/file)
Source of plugin: download (https://www.mediafire.com/file/va9ic50egfxx3u3/MiamiScale-source.zip/file) or see online (https://github.com/habi498/miami-scale) repository
(https://i.imgur.com/ynZZPqg.png)
The map of vice city the plugin uses. Alpha of picture increases with z. Grey means no ground.
Accuracy: The z co-ordinate is recorded for every integer pair of x and y. For given float values, it will return the average of nearest four pairs of x, y co-ordinates.
Note: About memory usage, it uses about 50 MB of RAM in the init state.
I used this plugin for my portable explosion zone, so well done, bro.
you are welcome
hello hapi do you think i can make colored area with this plugins?
Coloured area? Nope