problem converting objects to incognito
#1

I hope I am posting this in the right section.

I am using mtasa to create maps, and lately, I noticed that the maps don't stream properly. The objects appear only at short distance. So far I used convertffs to turn them from map code to incognito-s streaming code.

I borrowed the parameters from an old map that works well, and compared it to a new map, that was having issues

Код:
/*old*/
CreateDynamicObject(619, 109.604523, 3506.172363, 512.509094, 0.0000, 0.0000, 157.5000);
/*new*/
CreateDynamicObject(19456,-2397.7600000,2332.6300000,-0.2800000,0.0000000,0.0000000,-76.6800000);
They have the same parameters, but they stream at different distance. Both of them are compiled with the same include.
Reply
#2

pawn Код:
stock AddDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 300.0, Float:drawdistance = 300.0)
{
    new oid;
    oid = CreateDynamicObject(modelid, x, y, z, rx, ry, rz, worldid, interiorid, playerid, streamdistance);
    Streamer_SetFloatData(STREAMER_TYPE_OBJECT, oid, E_STREAMER_DRAW_DISTANCE, drawdistance);
    return oid;
}
Reply
#3

I presume it's from this topic.
I tried it just now, but the objects behave absolutely the same.
Reply
#4

Quote:
Originally Posted by HeLiOn_PrImE
Посмотреть сообщение
I presume it's from this topic.
I tried it just now, but the objects behave absolutely the same.
Check your server.cfg at the bottom if streamer distance is 300.0 :\
Reply
#5

yes it is 300.0
Reply
#6

bump
Reply
#7

this is frustrating at least tell me it's not the website's fault!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)