Forums Index >> Modding >> Racing script! perfect for your racing mods!
Page : <1> :
Ok I'll try sometime somehow and such......
Firstly - The 'F' in function should never be capitalized
Secondly - You can find this almost word for word @ Sersh tutorial...
I make it before you :P
Anyway good job ;)
Yup I put it in din't work froze game and wouldn't load.
You must of made a typo! Make the F in function a lower case B)
Ohhhhhhhhhh 8o big argument *sits down with a sprite*
@all ok look im just going to leave this here so if people want it. They can have it. I wanted people to be really nice about my FIRST script, but... I guess thats not gona happen. @Repent- thanks for that encouragment. I guess there are some people that are nice! :P 8(
Im not trying to brag about this little code thing I made, I know its not that great at all! But I wrote it and I thought people at ptt would enjoy it. So I put it on ptt. Thats all :(
Last edited: Saturday, July 01, 2006 at 10:43:58 AM
___BUMP___
Racing script! Perfect for vampires!
I love my randylion
What??????? Im sorry but I dont get it.... :o XD
It's fugi...You aren't supposed to get it.
Only lethal on days that end with "Y"
If anyone got fugi... Life would be less interesting
Lmao warfare. If this is your 1st script Radi I must say nice work.
Ignore people being horrible bout your script. ;) :)
my blaster will destroy u!
Page : <1> :
I made a cool little script! My first ever... Tell me if you like it!
Put this in the.mis file above the words //---Object Write Begin---
Function race1::onenter(%db, %this, %tank)
{
%tank.incScore(1,1);
messageall(10,%tank.client.namebase SPC "has won the Race!!!",10);
%tank.hurtme(999999999999999999999999999);
}
datablock powerupdata(race1)
{
aipickup = 0;
emitterduration = 0;
maxoff = 100;
minoff = 50;
shadow = 1;
shadowanimation = 1;
shape = "game/data/shapes/common/recharge.dts";
starton = 0;
staticshadow = 0;
};
That makes it so when you go through a reload gate it gives you a point!
Now place a reload gate in your mod with modwiz.
Then open the.mis file and rename the reload gate's datablock name to race1
And it should work!