Jump to content

Recommended Posts

Hi all,

 

Setting up a parameter for in the lobby to let the admin set how fast time goes.

 

What are the values needed though?

 

To set the time at double speed do I put setTimeMultiplier 2;  and if I want the time to go 4 times as fast do it put setTimeMultiplier 4;

 

Basically I am after 4 options:  1 hour in game = 30 mins real time, 1 hour in game = 15 mins real time, 1 hour in game = 10 mins real time and 1 hour in game = 5 mins real time.

 

If someone could post the values I need I would really appreciate it!!

Share this post


Link to post
Share on other sites

It's a multiplier, so:

 

5 mins x 12 = 60 mins

10 mins x 6 = 60 mins

15 mins x 4 = 60 mins

30 mins x 2 = 60 mins

  • Like 1

Share this post


Link to post
Share on other sites
37 minutes ago, dale0404 said:

Setting up a parameter for in the lobby to let the admin set how fast time goes.

 

Hello there dale0404 !

 

Do you mean  how to do this , about the code in the description.ext ?

Share this post


Link to post
Share on other sites

If yes then:

 

class Timeacc
	{
		title = "Time Acceleration";
		values[] = {1,5,10,15,20,25,30,35,40,45,50,55,60};
		texts[] = {"1x (1game min. = 1real min.)","5x","10x","15x","20x","25x","30x (1game min. = 2real sec.)","35x","40x","45x","50x","55x","60x (1game min. = 1real sec.)"};
		default = 15;
		function = "BIS_fnc_paramTimeAcceleration";
	};

 

  • Like 2

Share this post


Link to post
Share on other sites

Cheers guys, I know how do it, was just unsure about the values.

 

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×