SA-MP Forums Archive
Create[x]Object Draw/Streaming 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: Create[x]Object Draw/Streaming Distance (/showthread.php?tid=627985)



Create[x]Object Draw/Streaming Distance - kanuin - 04.02.2017



I've attempted to use CreateObject, CreateDynamicObject, and CreateDynamicObjectEx.

It's not Streamer Max Items or Visible Items, as there are in-game commands to adjust either: http://i.imgur.com/tRaVUSv.png

I've modified the streamer.inc and defined STREAMER_OBJECT_SD and STREAMER_OBJECT_DD: http://i.imgur.com/1Dj6AtB.png

100 meters away (282,2270.2751,84.3993,26.4844,269.6647,0,0,0,0,0, 0); // pos 1
http://i.imgur.com/BTApo7j.jpg

At point (282,2386.4065,83.4575,26.4844,269.6647,0,0,0,0,0, 0); // pos2
http://i.imgur.com/KpbaQmS.jpg


There seems to be some sort of imposing 100ish meter draw/stream distance. I've tried so many things, it must be in the gamemode? I've tried so many things, though I am sure I am missing something quite simple.

UPDATE:
Quick update, this seems to be happening on multiple maps even where CreateDynamicObject defines the stream/draw distance like below:

CreateDynamicObject(19436,1552.009,-1678.249,2113.827,0.000,0.000,180.000,-1,-1,-1,950.000,890.000)
http://i.imgur.com/B6P5xbK.png
http://i.imgur.com/pfIZdEd.png


Re: Create[x]Object Draw/Streaming Distance - Jack_SMalls - 05.02.2017

If you have a lot of objects, adjusting the global streaming distance wouldn't help. Lower the sd of the other objects and raise the ones you want to see specifically. Might help.