04.04.2013, 14:24
(
Last edited by RajatPawar; 04/04/2013 at 04:02 PM.
)
Hey guys. I didn't know what prefix to choose, so [INCLUDE].
1) I have done VERY little work, it's all ****** and Incognito. ALL OF IT. I claim no credits.
READ ME:
I worked with 11, 000 objects and this streamed them fantastically, big hills streamed from far enough and small chairs when they needed to.
There is a DEFINE which you CAN EDIT to make your streaming look optimal. For me, 180 worked good enough.
EDIT THIS TO WHATEVER TRIAL AND ERROR result you get to be the best streaming constant.
120 - 200 is okay.
Code:
That's it !
Now use it like this:
And it streams good !
EXAMPLE OF STREAMING:
NOTE: This is not a release. This is something I put together.
Credits:
Full credits to ****** and Incognito, and V1cec1ty - for allowing me to test it in his server and presenting me with the challenge of making it in the first place.
INCLUDE DOWNLOADS:
Streamer
Model sizes
1) I have done VERY little work, it's all ****** and Incognito. ALL OF IT. I claim no credits.
READ ME:
I worked with 11, 000 objects and this streamed them fantastically, big hills streamed from far enough and small chairs when they needed to.
There is a DEFINE which you CAN EDIT to make your streaming look optimal. For me, 180 worked good enough.
pawn Code:
#define STREAM_CONSTANT 180
120 - 200 is okay.
Code:
pawn Code:
#include <a_samp>
#include <streamer>
#include <modelsizes>
#include <zcmd>
// - - -- - - DEFINES -- - - -
#define STREAM_CONSTANT 180
new objects[11000][2], some_var = 0;
stock create_OBJECT(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)
{
objects[ some_var ][ 0 ] = CreateDynamicObject(modelid, x, y, z, rx, ry, rz,-1, -1, -1, STREAM_CONSTANT + GetColSphereRadius(modelid));
objects[ some_var ][1] = modelid;
some_var++;
return 1;
}
Now use it like this:
pawn Code:
create_OBJECT( 1655, 125, 125, 125, 0, 0, 0);
EXAMPLE OF STREAMING:
NOTE: This is not a release. This is something I put together.
Credits:
Full credits to ****** and Incognito, and V1cec1ty - for allowing me to test it in his server and presenting me with the challenge of making it in the first place.
INCLUDE DOWNLOADS:
Streamer
Model sizes