SA-MP Forums Archive
Question about mapping - 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: Question about mapping (/showthread.php?tid=605350)



Question about mapping - Eyce - 17.04.2016

I created an interior using the texture studio of Potus when I noticed that some of the objects disappear (images below) from a certain distance. Does anyone know how to fix this? Thanks.

Edit: Fixed. How? I used Streamer_VisibleItems as Streamer_MaxItems is default to unlimited.


Re: Question about mapping - xPhantom - 17.04.2016

This is because of the streamer not being able to stream all objects at the same time. Are you using CreateObject (Regular SA:MP Streamer) or CreateDynamicObject with Incognito's plugin?


Re: Question about mapping - Darkwood17 - 17.04.2016

Try using Incognito's streamer. Or if you already use it, try this:

Код:
// OnGameModeInit
Streamer_MaxItems(STREAMER_TYPE_OBJECT , 800);
Streamer_VisibleItems(STREAMER_TYPE_OBJECT , 800);
This will increase the amount of objects the streamer will draw.


Re: Question about mapping - Eyce - 17.04.2016

Quote:
Originally Posted by xPhantom
Посмотреть сообщение
This is because of the streamer not being able to stream all objects at the same time. Are you using CreateObject (Regular SA:MP Streamer) or CreateDynamicObject with Incognito's plugin?
I'm already using Incognito's streamer.

Quote:
Originally Posted by Darkwood17
Посмотреть сообщение
Try using Incognito's streamer. Or if you already use it, try this:

Код:
// OnGameModeInit
Streamer_MaxItems(STREAMER_TYPE_OBJECT , 800);
Streamer_VisibleItems(STREAMER_TYPE_OBJECT , 800);
This will increase the amount of objects the streamer will draw.
I'll give it a go, thanks.
Edit: Works perfectly, although I used 1000 for the value. Thank you!