Unfortunately that doesn't solve the problem - I already tried to do that. time and time_step share exactly the same value during runtime... I mean, the tutorial has been written for A6, that's true, but since the code written by the tutorial author works fine in A7, my own code should work too... it's an odd problem, I know, but I suppose that the problem is hidden somewhere in the lines before the actual particle script (they haven't been described in the tutorial at all, users who do not check the original file would never know about them). These are those lines (I removed all comments):

Code:
path "C:\\PROGRAM FILES\\GSTUDIO7\\template_6";
path "C:\\PROGRAM FILES\\GSTUDIO7\\template_6\\code";
path "C:\\PROGRAM FILES\\GSTUDIO7\\template_6\\images";
path "C:\\PROGRAM FILES\\GSTUDIO7\\template_6\\sounds";
path "C:\\PROGRAM FILES\\GSTUDIO7\\template_6\\models";

string level_str = <LESSON2.WMB>; // give file names in angular brackets

include <gid01.wdl>;	
include <display00.wdl>;

function main()
{
	freeze_mode = 1;
	gid01_level_state = gid01_level_not_loaded;
	mouse_mode = 0;
	wait(3);
	max_particles = 10000;
	level_load(level_str);
	wait(2);	
	gid01_level_state = gid01_level_loaded;

	while(1)
	{
		if(gid01_level_state != gid01_level_loaded)
		{
			freeze_mode = 1;
		}
		else
		{
			freeze_mode = 0;
		}
		wait(1);
	}
}

function	main_restart_game()
{
	wait(3);
	max_particles = 10000;
	level_load(level_str);
	freeze_mode = 1;
	wait(2);
	freeze_mode = 0;
}

function	main_quit()
{
	exit;
}

WINDOW WINSTART
{
	TITLE			"3D GameStudio";
	SIZE			480,320;
	MODE			IMAGE;	//STANDARD;
	BG_COLOR		RGB(240,240,240);
	FRAME			FTYP1,0,0,480,320;
	BUTTON		BUTTON_QUIT,SYS_DEFAULT,"Abort",400,288,72,24;
	TEXT_STDOUT	"Arial",RGB(0,0,0),10,10,460,280;
}





So... in order to exactify my question: is it possible that ANY of these lines has any impact on the value of time or time_step?

Last edited by Alan; 03/02/09 18:17.