Forums Index >> Modding >> Make A Shape Give A Point



Page : <1> :


How can I put a shape that give you 1 point

Like in solo mode ( The Brain )

Please help me X/

Last edited: Thursday, April 20, 2006 at 11:39:39 AM

Thursday, April 20, 2006 at 11:38:46 AM

@Hibiki

Please Stop Spamming Forums.

LIfe Is Always Better When Other People Are Doing The Work For You.

Thursday, April 20, 2006 at 12:44:02 PM

I just need this is my new mod

So please help me X/

Thursday, April 20, 2006 at 12:59:37 PM

So no one will help me :[

Friday, April 21, 2006 at 3:43:08 AM

Function bouncepoints::onenter(%db, %this, %tank)
{
%tank.incScore(3,3);
centerprintall(%tank.client.namebase SPC "YOUR MESSAGE HERE",5,2);
}
datablock powerupdata(bouncepoints)
{
category = "PowerUp";
shape = "game/data/shapes/Green/SHAPENAME "; // shape???
type = "bounce";
shadow = true;
shadowAnimation = true;
startOn = true;
minOff = 120000; // The higher this is the longer it takes to come back
maxOff = 120000; // Always make sure this number is either the same or higher than the number above
Sound = "PupOnSound";
soundOff = "PupOffSound";
};
//End of the "who finishes first script".

Make sure the "F" in function at the top isnt capitalized

Name the datablock of the powerup that you want to give you points "bouncepoints" Make sure there isnt a space between the words "bouncepoints"

Only lethal on days that end with "Y"

Last edited: Friday, April 21, 2006 at 10:41:30 AM

Friday, April 21, 2006 at 8:01:30 AM

I did this and my mission stop loading :[

Friday, April 21, 2006 at 10:49:37 AM

What the wrong thing I did

Friday, April 21, 2006 at 10:52:01 AM

Do I must do it like the teleport gate?

Like this

 

Function bouncepoints::onenter(%db, %this, %tank)
{
%tank.incScore(3,3);
centerprintall(%tank.client.namebase SPC "YOUR MESSAGE HERE",5,2);
}
datablock powerupdata(bouncepoints)
{
category = "PowerUp";
shape = "game/data/shapes/Green/SHAPENAME";
type = "bounce";
shadow = true;
shadowAnimation = true;
startOn = true;
minOff = 120000;
maxOff = 120000;
Sound = "PupOnSound";
soundOff = "PupOffSound";
};

 

 

Function bouncepoints2::onenter(%db, %this, %tank)
{
%tank.incScore(3,3);
centerprintall(%tank.client.namebase SPC "YOUR MESSAGE HERE",5,2);
}
datablock powerupdata(bouncepoints2)
{
category = "PowerUp";
shape = "game/data/shapes/Green/SHAPENAME";
type = "bounce";
shadow = true;
shadowAnimation = true;
startOn = true;
minOff = 120000;
maxOff = 120000;
Sound = "PupOnSound";
soundOff = "PupOffSound";
};

 

 

Friday, April 21, 2006 at 10:58:51 AM

Ya this is sis

//Beginning of the first pair of 'function text"//

Function points1::onenter(%db, %this, %tank)
{
%tank.incScore(1,1);
}
datablock powerupdata(points1)
{
aipickup = 0;
emitterduration = 0;
maxoff = 100;
minoff = 50;
shadow = 1;
shadowanimation = 1;
shape = "game/data/shapes/common/vortex.dts";
starton = 0;
staticshadow = 0;
};

You can make it give more point by changing

%tank.incScore(1,1 );

 

Sunday, April 23, 2006 at 11:17:31 AM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald