Hi,
I am trying to make a basic flight game. I am using the mig.hmp model from the litech workshops and a terrain level which is my own. I have borrowed a lot of code from the Litech workshops. When I test run it, the test run screen is black. but when I run the unmodifyed workshops, they seem to work fine. I deleated the #include <acknex.h> line at the top to see if I could get an error, but i still got the black screen. Does the black screen signify that there is an error with my code, or is there something wrong with the SED itself?

Here is my code:

#include <acknex.h>
#include <defualt.c>

VECTOR jet_speed;
ENTITY* jet;

function main()
{
fps_max = 140;
level_load("riverbed.hmp");
wait (2);
jet = ent_create ("mig.hmp", vector(-400,0,100), NULL);
ph_setgravity (vector(0,0, -386));
phent_settype (jet, PH_RIGID, PH_CUBE);
phent_setmass (jet, 3, PH_CUBE);
phent_setfriction (jet, 80);
phent_setdamping (jet, 40, 40);
phent_setelasticity (jet, 50, 20);
while(1)
{
jet_speed.x = 25 * (key_a - key_d);
jet_speed.y = 25 * (key_w - key_s);
jet_speed.z = 25 * (key_cuu - key_cud);
phent_addtorqueglobal (jet, jet_speed);
camera.x = jet.x - 300;
camera.y = jet.y;
camera.z = jet.z;
camera.tilt = -60;
wait (1);
}
}