Forums Index >> Modding >> How i can change time?



Page : <1> :


G'day.

How I can change time of play? When guys load items that can jump to end of game and load again.
not unlimited game there bots have so much points if they kill newbies. :)

Monday, August 09, 2004 at 8:57:53 AM

What? You want the game time to be shorter or longer or something. Plz say what you need to know again I don't understand.

Monday, August 09, 2004 at 4:33:56 PM

In main.cs, find where it says:

{
onStart();
echo("Engine initialized...");
}

Make it look like:

{
onStart();
echo("Engine initialized...");
$Game::Duration = (900);
}

Change the 900 to however many seconds in the game. 900 is default (15 minutes), 0 is infinate. Hope that helps. :)

Tuesday, August 10, 2004 at 12:32:57 AM

I'll try thanks. Is I normally like..? 30minutes.

Tuesday, August 10, 2004 at 2:51:34 AM

It*

Tuesday, August 10, 2004 at 2:52:29 AM

The game lasts normally 15 minutes which is 900 seconds.

You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.

Tuesday, August 10, 2004 at 1:11:14 PM

Yup, I put it up there. See?

 

900 is default (15 minutes)

 

:)

Last edited: Tuesday, August 10, 2004 at 9:53:06 PM

Tuesday, August 10, 2004 at 9:52:54 PM

It works, but I tried 6000seconds, and TT didn't open.. :o is that too much or something? Unlimited is nice but I hate
that 00: on screen.. :(

Wednesday, August 11, 2004 at 10:54:49 AM

Yes, that 00...like two little eyes watching you, *shudders.*

Wednesday, August 11, 2004 at 11:30:22 AM

Make a new.cs file and execute it in your mission file, put this in the.cs:
$Game::Duration = 20 * 60;
As you could guess that would make a 20 minute game, so just change the 20 to whatever you want.
EDIT: You could also try just puting that at the top of the.mis, not sure if it would have the same effect or not.

Last edited: Wednesday, August 11, 2004 at 12:15:10 PM

Wednesday, August 11, 2004 at 12:14:21 PM

Change the seconds to 999999999999999999999, it works. (Also try putting quotes around the number, may help it, not sure.)

Wednesday, August 11, 2004 at 8:14:40 PM

Robo has a better way XD

Monday, August 30, 2004 at 4:23:16 PM

Ok heres wat robo's looks like</p>

 


 

 


onStart();
echo("Engine initialized...");
$Game::Duration = "$pref::Server::time";
echo("time set to" SPC $pref::Server::time);
}

 

And put this in your server prefs file

 


 

 


$pref::Server::time = 30 * 60;

 

XD

Last edited: Monday, August 30, 2004 at 4:30:53 PM

Monday, August 30, 2004 at 4:28:38 PM

Robo's way takes too long. XD
(You seem to talk in 3rd person alot, don't you) :)

Tuesday, August 31, 2004 at 12:47:03 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