Author Topic: 4x4 Spawnpoint  (Read 5410 times)


It will not work, I tired this before many time. But only work is spawn vehicles.

It will not work, I tired this before many time. But only work is spawn vehicles.
And why do you think it won't work?

And why do you think it won't work?
Because, I did this many time. Be my guest,  If you want try it. I am going give to you this script.

Code: [Select]
datablock fxDTSBrickData (brick4x4SpawnPointData : brickSpawnPointData)
{
   brickFile = "Add-Ons/Brick_Spawn/4x4spawn.blb";
   category = "Special";
   subCategory = "Interactive";
   uiName = "4x4";
   iconName = "Add-Ons/Brick_Spawn/4x4spawn";
   specialbricktype = "SpawnPoint";
   indestructable = 1;
};

specialbricktype = "SpawnPoint"; this for spawn point.

Because, I did this many time. Be my guest,  If you want try it. I am going give to you this script.

Code: [Select]
datablock fxDTSBrickData (brick4x4SpawnPointData : brickSpawnPointData)
{
   brickFile = "Add-Ons/Brick_Spawn/4x4spawn.blb";
   category = "Special";
   subCategory = "Interactive";
   uiName = "4x4";
   iconName = "Add-Ons/Brick_Spawn/4x4spawn";
   specialbricktype = "SpawnPoint";
   indestructable = 1;
};

specialbricktype = "SpawnPoint"; this for spawn point.
Have you made the blb file for it? I bet I could make it work.

Have you made the blb file for it? I bet I could make it work.
I did made BLB file already. in few mintues, I am going post it here the add-on as you can try it out.

I am done! the brick 4x4 are not perfect, becuase I was rushed doing this eh!  here it is.. remember It will not work.
http://www.mediafire.com/download/2f8peccfb146a25/Brick_Spawn.zip

I am done! the brick 4x4 are not perfect, becuase I was rushed doing this eh!  here it is.. remember It will not work.
http://www.mediafire.com/download/2f8peccfb146a25/Brick_Spawn.zip
That's just an average 4x4 plate...

Almost done making the BLB.

EDIT: Should I make the arrow in the middle of the spawn bigger too?
« Last Edit: August 02, 2014, 01:52:55 PM by jes00 »

Almost done making the BLB.

EDIT: Should I make the arrow in the middle of the spawn bigger too?
not matter to me, it's up to you... but spawnpoint will not work anyway.

EDIT: If you are going use my script, please credit on me, thank you.

not matter to me, it's up to you... but spawnpoint will not work anyway.

EDIT: If you are going use my script, please credit on me, thank you.
I have in fact, gotten it to work. But I see no reason to give you credit. All you did was write a brick datablock and I would have written it almost the exact same way anyways. I also changed the datablock a bit too.

EDIT: If you are going use my script, please credit on me, thank you.
Lol



This would be nice, I don't like the 3x3.

I have in fact, gotten it to work. But I see no reason to give you credit. All you did was write a brick datablock and I would have written it almost the exact same way anyways. I also changed the datablock a bit too.
alright. How you manged make it worked, I was failed many time.

alright. How you manged make it worked, I was failed many time.
It took me a while, some tracing, and other research. But I figured it out.

Just do this but change out the datablock name.
Code: [Select]
function brick4xSpawnPointData::onPlant(%data, %brick)
{
if(!isObject(%group = %brick.getGroup()))
{
return;
}

if(!%group.spawnBrickCount)
{
%group.spawnBrickCount = 0;
}

%group.spawnBrick[%group.spawnBrickCount] = %brick;
%group.spawnbrickCount++;
}

It took me a while, some tracing, and other research. But I figured it out.

Just do this but change out the datablock name.
Code: [Select]
function brick4xSpawnPointData::onPlant(%data, %brick)
{
if(!isObject(%group = %brick.getGroup()))
{
return;
}

if(!%group.spawnBrickCount)
{
%group.spawnBrickCount = 0;
}

%group.spawnBrick[%group.spawnBrickCount] = %brick;
%group.spawnbrickCount++;
}
included brick data too? I was think make more spawn bricks. I read your script already. I would love make more the brick spawns.
« Last Edit: August 02, 2014, 03:34:10 PM by Furling² »