Forums Index >> Modding >> Racing script! perfect for your racing mods!



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!

 

Thursday, June 22, 2006 at 12:19:20 PM

Ok I'll try sometime somehow and such......

 

Thursday, June 22, 2006 at 2:00:36 PM

This is a script? :'(

Thursday, June 22, 2006 at 3:16:06 PM

Firstly - The 'F' in function should never be capitalized
Secondly - You can find this almost word for word @ Sersh tutorial...

 

 

 

 

Thursday, June 22, 2006 at 4:39:13 PM

I make it before you :P

Anyway good job ;)

 

Friday, June 23, 2006 at 1:35:52 AM

Yup I put it in din't work froze game and wouldn't load.

 

Friday, June 23, 2006 at 9:42:37 AM

You must of made a typo! Make the F in function a lower case B)

 

Friday, June 23, 2006 at 10:45:31 AM

Ohhhhhhhhhh 8o big argument *sits down with a sprite*

 

Thursday, June 29, 2006 at 3:33:17 PM

Yeah, Radi8, you arent a scriptor bud... Almost half the population can do this hands down, and they arent scriptors.

Saturday, July 01, 2006 at 9:37:52 AM

@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

Saturday, July 01, 2006 at 10:41:02 AM

___BUMP___

 

Sunday, July 09, 2006 at 9:53:15 PM

Racing script! Perfect for vampires!

 

I love my randylion

 

Monday, July 24, 2006 at 6:39:16 PM

What??????? Im sorry but I dont get it.... :o XD

 

Monday, July 24, 2006 at 6:57:46 PM

It's fugi...You aren't supposed to get it.

Only lethal on days that end with "Y"

Monday, July 24, 2006 at 9:10:57 PM

If anyone got fugi... Life would be less interesting

 

 

 

 

Monday, July 24, 2006 at 9:19:53 PM

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!

Wednesday, July 26, 2006 at 1:46:00 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