In the string definitions:
string shell_mdl=<shell.mdl>;
should be
string shell_mdl="shell.mdl";
In function move_bullets()
my.enable_impact=on;
my.enable_entity=on;
my.enable_block=on;
should be
my.emask |= (ENABLE_IMPACT | ENABLE_ENTITY | ENABLE_BLOCK);
In action my_enemy()
my.polygon=on;
my.health=100;
my.enable_impact = on;
my.event=got_shot;
my.passable=on;
my.status = idle;
Needs to change. Flags are set with the set() macro defined in acknex.h and event flags are set with emask:
my.health = 100;
my.status = idle;
my.emask |= (ENABLE_IMPACT);
my.event = got_shot;
set(my,PASSABLE | POLYGON);
vec_set(temp, player.x);
vec_sub(temp,my.x);
vec_to_angle(my.pan,temp);
Temp needs to be declared, it is not a predefined variable anymore.
death_percentage +=3 * time;
time was replaced with time_step, each time you see time in the code.