I'm not responsible for any of the files created or otherwise handled in creating this project. This is 100% 3DGS at work. Like I said, the only thing I'm doing is opening the WED file, building it and trying to run it.

So whatever you see in this code is 3DGS's work... I couldn't code my way out of a wet paper bag at this point tongue

That said...

environ.c turns out to be a file in the template folder for the "outdoor" project; basically what the project wizard uses to build the template projects from.

It looks like it wasn't copied over to the generated project folder, however, as I can't find it in there. I'd like to guess that has something to do with it (myproj is referencing a file that isn't there), but I don't know.

I don't want to mess with anything since maybe it's not supposed to be copied over. This is all new to me, so I have no idea.

Anyway... here's the content of the environ.c file...

If you're using A7, or A8, I imagine you should be able to generate the Outdoor project from the File > Project Wizard window and get the same results? Or maybe you don't, and that's the problem? -shrug- lol

Code:
//------------------------------------------------------------------------------
// Environmental Effects
// Based on Czeslaw Gorski's code for "Racer"

//--------------------------------------------
// skycube
ENTITY* sky = { type = "skycube+6.tga"; flags2 = SKY | CUBE | VISIBLE; }

//--------------------------------------
// Objects

// Polygon accurate collision model
action	MakePoly()
{
	wait(1);
	set(my,POLYGON);
}


action init_rauchen()
{

}

action ffp_terr_detail()
{

}

action init_windmill()
{
	while(my)
	{
		my.roll += 10*time_step;
		wait(1);
	}
}

action init_propshadow()
{
	set(my,PASSABLE);
	while(my)
	{
		my.roll += 10*time_step;
		wait(1);
	}
}

action init_river()
{
	set(my,PASSABLE);
	set(my,TRANSLUCENT);
	my.alpha = 25;
}

action init_see()
{
	set(my,PASSABLE);
	set(my,TRANSLUCENT);
	turb_speed = 0.09;
	turb_range = 0.5; 
	my.ambient = 100;
	my.alpha = 75;
}

action init_wasser()
{
	set(my,PASSABLE);
	set(my,TRANSLUCENT);
	my.ambient = 10;
	my.alpha = 65;
}

action init_wasserfall()
{
	set(my,PASSABLE);
	set(my,TRANSLUCENT);
	set(my,BRIGHT);
	my.alpha = 65;
}



action init_lava()
{
	set(my,PASSABLE);
	my.ambient = 100;
}

// swamp
action init_swamp()
{
	set(my,PASSABLE);
	set(my,TRANSLUCENT);
	my.ambient = 100;
	my.alpha = 55;
}







/// Tree baum
action  init_baum1()
{
	set(my,PASSABLE);
/*+++	if(my.skill1 < 1) {ent_create( "lp_stamm.wmb",MY.POS,baum_stamm);}
	if(my.skill2 > 0) {ent_create( "lp_birke_kr.mdl",MY.POS,pos_kr);} //birch
	if(my.skill3 > 0) {ent_create( "lp_tree2_kr.MDL",MY.POS,pos_kr);} //tree2
	if(my.skill4 > 0) {ent_create( "lp_spruce_kr.MDL",MY.POS,pos_kr);} //tree2
	if(my.skill5 > 0) {ent_create( "lp_Pine1_kr.MDL",MY.POS,pos_kr);} //pine1
+++*/
}




There ya go...

Last edited by MiToVo; 04/06/14 00:10.