SA-MP Forums Archive
Streamer - 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: Streamer (/showthread.php?tid=352299)



Streamer - JaKe Elite - 19.06.2012

Hello,
one question.
Why everytime when i go far from the object they disappear
this doesn't happen in 0.3d, it just happen in 0.3e

The object disappearing makes me annoying.
I need to fix it for my Race Track because i always falls in water when the object disappear
(my ping is 4 up to 30)


Re: Streamer - MarTaTa - 19.06.2012

If you are using this :
pawn Код:
CreateDynamicObject
The dynamic objects needs streamer, and this makes them load slower. For race map, use
pawn Код:
CreateObject
They are loading faster, and everything should be okay


Re: Streamer - JaKe Elite - 19.06.2012

^_^ are you okay?
my object already uses CreateObject and they are off limits
so i have to use Streamer to load objects.


Re: Streamer - JaKe Elite - 19.06.2012

BUMP


Re: Streamer - Slaykler - 21.06.2012

Dont bump your posts


Re: Streamer - Edu33 - 21.06.2012

CreateStreamedObject, load faster by far easier visibility.


Re: Streamer - JaKe Elite - 22.06.2012

there is no such thing like CreateStreamedObject


Re: Streamer - newbienoob - 22.06.2012

Try use Streamer_UpdateEx at the location.


Re: Streamer - Babul - 22.06.2012

to create streamed objects, your code looks like this:
pawn Код:
CreateDynamicObject(oID,PosX,PosY,PosZ,RotX,RotY,RotZ,vw,-1,-1,500);
...the 500 is the stream distance, the streamer loads it as soon its 500 units (or less) away from the player - even if the objects view distance is not small enough. try to increase your stream distance for this particular object, if possible. (not that you modify just one line in order to let them all get sreamed by 600 units)...
another way to sort that problem out: set some OTHER objects' stream distance to a lower value, like decorations (trees, signs, lights), in order to let the streamer prefer the (big) object. as soon there are not more than the streamed_objects_limit, all objects should appear. if its not the case, the streamer will clip some objects, to let the max_amount being shown.