Forums Index >> Modding >> Soccer script



Page : <1> :


I've been trying to work on this and so far I've got to the part where the soccerball spawns in the middle of the map, all I need to know now is how do I make it so the flag/player die's when entering the goal.
Any help? %)

PS: tryed going to chong's site and d/ling the little "goals" for soccer, it's just..he didnt put instrutions like: what to name the flag datablock to make it die when you go in the goal.

Only lethal on days that end with "Y"

Tuesday, April 11, 2006 at 10:46:39 PM

Good Old Chong's mystery!

But in fact I d love to see the soccer world back on!

Scythe

Wednesday, April 12, 2006 at 2:40:04 AM

Okay, you don't know that??... 8o

%flag = %tank.getFlag();
%tank.hurtme(1000);
%flag.delete();

Honestly.... That is the most basic thing.... Oh well.

Well.... Hope you learn eventualy.

Wednesday, April 12, 2006 at 9:42:59 AM

Thanks man, but I figured it out really early this morning I couldent post it because I lost my connection.
only I used:

%flag.clearMount () ;
%flag.setTransform(VectorAdd(pickSpawnPoint(""),"0 0 10"));
%tank.hurtme(999);

Ok, so now I have the whole script done and even made it so when the bot named "Ball" goes into green/blue goal it scores for green/blue.

But the friggin' bots wont show up!
I'm almost positive it has something to do with my prefs.cs. Can someone snd me their's? Once sent the server will be up. :P

Only lethal on days that end with "Y"

Wednesday, April 12, 2006 at 3:47:04 PM

Nevermind! Fixed it! Server Up! Exclamation mark!

Only lethal on days that end with "Y"

Wednesday, April 12, 2006 at 8:28:18 PM

Did you create and predownload packs for this?

Thinktanks: $20 New Mouse: $15 Winning an indy scrum game: Priceless

Thursday, April 13, 2006 at 6:00:11 AM

Oops forgot about that, good thinkin'. B)

http://h1.ripway.com/Sersh/S7Soccer.ter

Only lethal on days that end with "Y"

Thursday, April 13, 2006 at 8:44:15 AM

Uhh I went to his site, he had this done already... 8o

Thursday, April 13, 2006 at 3:44:16 PM

Of couse I know that he's done it before. I'm just reviving it because it seemed like everyone liked it. I'm not claiming that it is original. That's why I said this.

 

Some of you might remember chong and racer's old soccer mod/script . Well, it's back! Yup, I made a new terrain and everything, including a script for it.

 

.

 

Only lethal on days that end with "Y"

Last edited: Friday, April 14, 2006 at 9:36:56 AM

Friday, April 14, 2006 at 9:36:23 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