Forums Index >> Modding >> How i can change time?
Page : <1> :
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.
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. :)
I'll try thanks. Is I normally like..? 30minutes.
It*
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.
Yup, I put it up there. See?
900 is default (15 minutes)
:)
Last edited: Tuesday, August 10, 2004 at 9:53:06 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.. :(
Yes, that 00...like two little eyes watching you, *shudders.*
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
Change the seconds to 999999999999999999999, it works. (Also try putting quotes around the number, may help it, not sure.)
Robo has a better way XD
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
Robo's way takes too long. XD
(You seem to talk in 3rd person alot, don't you) :)
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. :)