Forums Index >> Modding >> Make A Shape Give A Point
Page : <1> :
@Hibiki
Please Stop Spamming Forums.
LIfe Is Always Better When Other People Are Doing The Work For You.
I just need this is my new mod
So please help me X/
So no one will help me :[
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
I did this and my mission stop loading :[
What the wrong thing I did
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";
};
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
);
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