Posted By: Ness
Problems to encrypt c-script into lite-c - 08/01/09 21:23
huhu, well i know c-script ,but lite-c is absolutely new for me! It gave me a big hurt,that a7 doesnt support c-script anymore...
well the first thing is that even if i know some basic facts about lite-c ,i still cant do anything! There are LOTS OF COMMENTS in c-script,that doesnt exist in any kind? I dont know,the tutorial and the manual didnt say ANYTHING!
action my_player
{
while (1)
{
vec_set (camera.pos, my.pos);
camera.pan = my.pan;
camera.tilt += 6 * mouse_force.y * time;
my.pan -= 10 * mouse_force.x * time;
vec_set (temp, my.x);
temp.z -= 1000;
trace_mode = ignore_me + ignore_passable + use_box;
temp.z = -trace (my.x, temp);
temp.x = 8 * (key_w - key_s) * time;
temp.y = 6 * (key_a - key_d) * time;
ent_move (temp, nullvector);
wait (1);
}
}
temp doesnt exist!
Trace mode doesnt exit!
camera/my.pos doesnt exist!
HELP!
greetings Ness
well the first thing is that even if i know some basic facts about lite-c ,i still cant do anything! There are LOTS OF COMMENTS in c-script,that doesnt exist in any kind? I dont know,the tutorial and the manual didnt say ANYTHING!
action my_player
{
while (1)
{
vec_set (camera.pos, my.pos);
camera.pan = my.pan;
camera.tilt += 6 * mouse_force.y * time;
my.pan -= 10 * mouse_force.x * time;
vec_set (temp, my.x);
temp.z -= 1000;
trace_mode = ignore_me + ignore_passable + use_box;
temp.z = -trace (my.x, temp);
temp.x = 8 * (key_w - key_s) * time;
temp.y = 6 * (key_a - key_d) * time;
ent_move (temp, nullvector);
wait (1);
}
}
temp doesnt exist!
Trace mode doesnt exit!
camera/my.pos doesnt exist!
HELP!
greetings Ness