Mapping Streaming
#1

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
Reply
#2

Do you use an old version of the streamer plugin? Try to update your include and plugin
Reply
#3

did that today.
Reply
#4

Adjust your streaming distance. I said that because you said that when you reach the desk, you don't see anything, so do it.
Reply
#5

how??
Reply
#6

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);
Reply
#7

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); //
Reply
#8

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);
Reply
#9

Okay, im going to test this out right now
Reply
#10

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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)