More entity skills

The number of skills was increased from 48 to 100. The first 50 skills are used by the template scripts, but you can use up to 100 skills if your game isn't using the templates.

File_str_read improvements

File_str_read returns the number of the characters that were read or -1 if "end of file" was reached. This way you can read an arbitrary number of records from a file.

sound beep_sound = <beep.wav>;

var data_handle;
var status = 0;
var index = 0;

string name_str;

function read_all_data()
{
data_handle = file_open_read ("data.txt");
while (status != -1) // as long as "end of file" wasn't reached
{
status = file_str_read (data_handle, name_str); // read the names from data.txt
wait (1);
}
beep; // all the data was read here
}

on_r = read_all_data;

MED import
MED can now directly import 3DS, Milkshape ASCII, and .X models including skin texture and bones animation.