Mapping Streaming -
Nick_Phelps - 03.07.2013
Okay so I have made a decently small map but whenever I enter the interior the rendering is so so horrible that half of the room is missing when im like right behind the desk... Below is one line of the mapping code
Код HTML:
CreateDynamicObject(19366,845.1962300,-2034.0097700,1055.0000000,0.0000000,90.0000000,0.0000000); //
its really annoying me.... Please help. +Rep will be given
AW: Mapping Streaming -
Arrows73 - 04.07.2013
Do you use an old version of the streamer plugin? Try to update your include and plugin
Re: Mapping Streaming -
Nick_Phelps - 04.07.2013
did that today.
Re: Mapping Streaming -
Red_Dragon. - 04.07.2013
Adjust your streaming distance. I said that because you said that when you reach the desk, you don't see anything, so do it.
Re: Mapping Streaming -
Nick_Phelps - 04.07.2013
how??
Re: Mapping Streaming -
Pottus - 04.07.2013
Quote:
Originally Posted by Red_Dragon.
Adjust your streaming distance. I said that because you said that when you reach the desk, you don't see anything, so do it.
|
Has absolutely nothing to do with streaming distance and everything to do with CreateDynamicObject() which should never be used. You want to use CreateDynamicObjectEx() specifically you want to modify the drawdistance CreateDynamicObject() does not have this parameter it uses the default objects drawdistance from what I understand.
pawn Код:
native CreateDynamicObjectEx(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:drawdistance = 0.0, Float:streamdistance = 200.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);
Re: Mapping Streaming -
Nick_Phelps - 04.07.2013
ok so
pawn Код:
CreateDynamicObject(19366,845.1962300,-2034.0097700,1055.0000000,0.0000000,90.0000000,0.0000000); //
turns into
pawn Код:
CreateDynamicObjectEx(19366,845.1962300,-2034.0097700,1055.0000000,0.0000000,90.0000000,0.0000000, drawdistance = 0.0, streamdistance = 400.0); //
Re: Mapping Streaming -
RedFusion - 04.07.2013
No, that won't work. drawdistance = 0.0 is just there to explain what the parameter is used for, and what its default value is.
It means the drawdistance is 0.0 by default, if you dont put anything in there. same goes with streamdistance.
pawn Код:
CreateDynamicObjectEx(19366,845.1962300,-2034.0097700,1055.0000000,0.0000000,90.0000000,0.0000000, 400.0, 400.0);
Re: Mapping Streaming -
Nick_Phelps - 04.07.2013
Okay, im going to test this out right now
Re: Mapping Streaming -
Nick_Phelps - 04.07.2013
Didnt seem to work, Fusion do you have a skype or something maybe you could log in game and I could show you the issue?