Forums Index >> Modding >> how do you make your own event?



Page : <1> :


Read the title.if you still dont understand how do you make modd like Chong soccer,or Racer445 Racing mod.

Wednesday, April 20, 2005 at 1:31:55 PM

 

 

                                        
function Shape::OnEnter(%this,%db,%tank,%client) // Change 'Shape' to a shape datablock
{
%client = %tank.client;
If(%client.namebase.strstr("GODZILLA")) // If you have this here, this script will ONLY work if someone named "GODZILLA" goes into 'Shape'
{
%client.team = RedTeam; // This will switch the person to the red team
%tank.hurtme(100); // This will kill the person
CenterPrintAll("GODZILLA HAS BEEN KILLED"); // This will centerprint to everyone the message in the quotes.
}
}

 

 

Last edited: Wednesday, April 20, 2005 at 2:55:48 PM

Wednesday, April 20, 2005 at 2:55:11 PM

I haven't tested that as I haven't got the time, but it *should* work.

Wednesday, April 20, 2005 at 2:56:25 PM

^ can you post the freeze script and what does ^^ have to do with editing game types?


Wednesday, April 20, 2005 at 3:04:18 PM

What does this do again.

Wednesday, April 20, 2005 at 4:50:11 PM

Looks like a script for soccer/hockey


Thursday, April 21, 2005 at 4:48:06 PM

What if I wanted to check if the name contained "Godzilla"
the name "Godzilla1003" would set this off, but it wont set off the one above

 

 

 

 

Thursday, April 21, 2005 at 9:03:15 PM

Great now how do I rename it from battle or scrum to racing or hockey.

Friday, April 22, 2005 at 6:21:40 PM

Chilled you script does not work or I did not use it right

Friday, April 29, 2005 at 7:18:15 PM

Yea Chilled, He is trying to make his own "gametype" like Scrum, Team Scrum, Team BattleMode, BattleMode. And he shows on his first post that Racer made a gametype called "Racing" and Chong made one called "Soccer"

 

 

 

 

 

Monday, May 02, 2005 at 2:45:33 PM

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