19.07.2013, 12:33
Object Stream distance
19.07.2013, 12:35
Are you using Incognito's?
19.07.2013, 12:57
19.07.2013, 13:37
There is three things you can do.
1) If your using CreateDynamicObject() switch to CreateDynamicObjectEx() it has a drawdistance parameter that CreateDynamicObject() lacks in fact I NEVER would consider using CreateDynamicObject() for any reason it's the worst function in the the plugin.
2) You can increase the amount of object the streamer will draw.
Note: 800 should be good for most purposes (default is 500)
3) Make sure small objects have a lower stream/draw distance than the larger objects!
That is basically the triple crown solution (the first point should fix most problems)
1) If your using CreateDynamicObject() switch to CreateDynamicObjectEx() it has a drawdistance parameter that CreateDynamicObject() lacks in fact I NEVER would consider using CreateDynamicObject() for any reason it's the worst function in the the plugin.
2) You can increase the amount of object the streamer will draw.
Note: 800 should be good for most purposes (default is 500)
pawn Код:
Streamer_MaxItems(STREAMER_TYPE_OBJECT , 800);
Streamer_VisibleItems(STREAMER_TYPE_OBJECT , 800);
That is basically the triple crown solution (the first point should fix most problems)
19.07.2013, 16:39
Quote:
There is three things you can do.
1) If your using CreateDynamicObject() switch to CreateDynamicObjectEx() it has a drawdistance parameter that CreateDynamicObject() lacks in fact I NEVER would consider using CreateDynamicObject() for any reason it's the worst function in the the plugin. 2) You can increase the amount of object the streamer will draw. Note: 800 should be good for most purposes (default is 500) pawn Код:
That is basically the triple crown solution (the first point should fix most problems) |
19.07.2013, 17:31
set the stream distance for small objects to al ower value, they arent important as theyre almost out of sight. theres the "model sizes" include somewhere, i had excellent results using that. give it a try!
(you might need to change all Create(Dynamic)Object lines to use a formula/preset distance tho...
(you might need to change all Create(Dynamic)Object lines to use a formula/preset distance tho...
19.07.2013, 17:41
Quote:
set the stream distance for small objects to al ower value, they arent important as theyre almost out of sight. theres the "model sizes" include somewhere, i had excellent results using that. give it a try!
(you might need to change all Create(Dynamic)Object lines to use a formula/preset distance tho... |
21.07.2013, 14:13
https://sampforum.blast.hk/showthread.php?tid=407909
^do it now. its a waste of time trying to modify >1000 lines for objects to be another fixed value.
if you use the include, and use a proper formula (i mentioned a 1:25 ratio in tha thread, or similar value). a little fix for really small objects like guns, flowers, a hotdog maybe, is to add a 10-25 units value to each object so they are visible from at least that (25 unit) distance.
benefits: when the formula still causes popups, then changing it = changing all objects. its even possible to raise/lower the distances while the objects are spawned, but thats a tricky thing to work with (bandwidth,desyncs etc).
^do it now. its a waste of time trying to modify >1000 lines for objects to be another fixed value.
if you use the include, and use a proper formula (i mentioned a 1:25 ratio in tha thread, or similar value). a little fix for really small objects like guns, flowers, a hotdog maybe, is to add a 10-25 units value to each object so they are visible from at least that (25 unit) distance.
benefits: when the formula still causes popups, then changing it = changing all objects. its even possible to raise/lower the distances while the objects are spawned, but thats a tricky thing to work with (bandwidth,desyncs etc).
21.07.2013, 14:16
Had this problem, I suggest going into your script and taking out unneeded mapping, did the trick for me, least it will help.
21.07.2013, 14:20
CTRL + H is your friend.
Search for 'CreateDynamicObject(', replace with 'CreateDynamicObjectEx('. (Add the brackets, so you don't accidentally replace another CreateDynamicObjectEx, and end up with CreateDynamicObjectExEx(...)
Then you will just have to add in the stream distances, which I'm sure nothing a quick copy and paste cannot fix. If you're not willing to do it, then I will do it for you in like 5 minutes max.
Search for 'CreateDynamicObject(', replace with 'CreateDynamicObjectEx('. (Add the brackets, so you don't accidentally replace another CreateDynamicObjectEx, and end up with CreateDynamicObjectExEx(...)
Then you will just have to add in the stream distances, which I'm sure nothing a quick copy and paste cannot fix. If you're not willing to do it, then I will do it for you in like 5 minutes max.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)