SA-MP Forums Archive
Object draw distance - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Object draw distance (/showthread.php?tid=578415)



Object draw distance - ShoortyFl - 19.06.2015

Hi, i just have a question, i'm using Incogito's streamer plugin, and some objects are not loading from the near distance so i'm using draw distance to make them more visible, so my question is, if i use draw distance on all/most of the object will it cause my server working slower and usage of the memory greater ?


Re: Object draw distance - ikey07 - 19.06.2015

Ofcourse, also set visible item amount to 1000, if I remember correct default visible item was 500, and try to variate stream distance aswell, not just draw distance, for small objects use smaller draw/stream distance.


Re: Object draw distance - rappy93 - 19.06.2015

It will also impact your player's FPS if there are a lot objects streamed in.


Re: Object draw distance - ShoortyFl - 19.06.2015

So the server will work slower, cause i really have some large maps, and i've setted their draw distance to 500..


Re: Object draw distance - rappy93 - 19.06.2015

Yes, it will decrease the server's performance and at the same time it might lower the FPS of players who have slower computers.


Re: Object draw distance - ikey07 - 19.06.2015

It can affect server performance, as why would you want to render some small cup which is in some other room, while it cannot load walls, you know.


Re: Object draw distance - ShoortyFl - 19.06.2015

What is the normal stream distance than, that will not cause server's preformance and players FPS ?


Re: Object draw distance - rappy93 - 19.06.2015

Just use CreateDynamicObject, those should be fine I think.


Re: Object draw distance - Stanford - 19.06.2015

I would suggest to keep the drawdistance as it's (0) and increase streamdistance (default is 200.0 I think) in dynamic objects!