Well crumply, that got me very close. see photo




I don't know what syntax error, but I did mot get it on till I put action move_ship above main.
here is the code

Code:

//////////////////////////////
#include <acknex.h>
#include <default.c>

action move_ship()

function main()
{
	level_load ("");
	wait(2);	// wait until the level is loaded
	vec_set(camera.x, vector(-500, 0, -10));
	ent_create("ship.mdl", vector(0, 0, 0),move_ship);
	ent_create("land.mdl", vector(-900,2000, -400),NULL);
}	

 
	
{
	
	
	


	while (1)
	
    {

              
             // move the player using the "W", "S", "A" and "D" keys; "10" = movement speed, "6" = strafing speed

               c_move (ship, vector(10 * (key_w - key_s) * time_step, 6 * (key_a - key_d) * time_step, 0), nullvector, GLIDE);

    }

}

	   wait (1);
	   
	   



I think if we can get this fixed it will work.
thank you
renny

Last edited by sadsack; 08/25/08 23:39.

I have A7 Commercial .............. Now I just need to learn how to use it