//=================================================================================================================================
// //
// DAS MAINSCRIPT //
// ^^^^^^^^^^^^^^ //
// //
//=================================================================================================================================
// //
// EINBINDEN DER UNTERORDNER UND SCRIPTS //
// """"""""""""""""""""""""""""""""""""" //
// //
//=================================================================================================================================
#define PRAGMA_PATH "Graphics\Characters"
#define PRAGMA_PATH "Graphics\Battlebacks"
#define PRAGMA_PATH "Data\Levels"
#include <acknex.h>
#include <default.c>
//=================================================================================================================================
// //
// FUNKTIONEN //
// """""""""" //
// //
//=================================================================================================================================
BMAP* testobjekt = "Mountainroad.png";
action debugging()
{
while(1)
{
my.pan += random(3)*time_step;
my.tilt += random(3)*time_step;
my.roll += random(3)*time_step;
wait(1);
}
}
//=================================================================================================================================
// //
// DAS MAINSCRIPT //
// """""""""""""" //
// //
//=================================================================================================================================
function main()
{
fps_max = 60;
d3d_antialias = 9;
video_set(1024,768,32,0);
video_window(vector(10,10,NULL),NULL,48,"Panel below models!");
screen_color.red = 0;
screen_color.green = 0;
screen_color.blue = 0;
sky_color.red = 0;
sky_color.green = 0;
sky_color.blue = 0;
level_load("leer.wmb");
wait(3);
error("before creating panel and entity");
PANEL* testerpanel = pan_create("bmap = testobjekt; flags = SHOW;", -1);
error("after creating panel");
ent_create("Gegner_Weißer Drachenreiter_stehen+4.tga", vector(0,0,0), debugging);
error("after creating entity");
//end of function
}