Hey guys, so, yeah, im a somewhat active member here, dont really post, rather just playing occasionally, but this annoys me quite a lot.
So, the draw distance. Im sure many of us play this game with current gen graphics cards, or even if its not current gen, basically the average PC is more than enough to run MTA. Yet we dont have draw distance for MTA models that is more than like 10 car lenght sometimes. Especially barrels and stuff like that, load so close you cannot even avoid it at higher speeds. (and trollmaps love this)
So, i've made a really easy scirpt example, im sure you could do this as well, but yet still it isnt on the server.
You currently have however a farclip script which is nice, i was thinking the same integration of this script as well.
So, lets talk about What this script does is basically cloning every single object on the map as a LOD object. LOD objects dont have collisions, therefore not hooking CPU as much, but they can be rendered from higher distances, up to 5x times further than non LOD objects, making it possible to actually be amazed how cool maps look from distance. Ofc the slider would be here so people with weaker PC can lower the value, or even disable this completly. But so far, i havent noticed any FPS drop on my system.(i have a really weak outdated i5 maxed at 3.4ghz)
I attached a file, if you want me to make it as proper function feel free to tell, i didnt do it because im sure you have unique way of itegratin this anyway.
client.lua