wenn du mir sagen kannst wie man hier ein bild einfügen kann, dann kann ich den printshop zeigen.
hier das script:
--------menue.c
///////////////////////////////
#include <acknex.h>
#include <default.c>
#include "neuescripte.c"
#define PRAGMA_PATH "%EXE_DIR%\templates\images";
#define PRAGMA_PATH "%EXE_DIR%\templates\models";
#define PRAGMA_PATH "%EXE_DIR%\templates\sounds";
///////////////////////////////
function main()
{
video_mode = 8;
video_depth = 32;
video_screen = 1;
level_load("menue.WMB");
wait(2);
//mouse_toggle();
}
--------------------------neuescripte.c:
////////neuescripte
BMAP* hintergrund_map = "hintergrund.bmp";
BMAP* spielstart_over_map = "spielstart_over.bmp";
BMAP* spielende_over_map = "spielende_over.bmp";
BMAP* spielladen_over_map = "spiel_laden_over.bmp";
BMAP* spielspeichern_over_map = "spiel_speichern_over.bmp";
BMAP* arrow = "arrow.tga";
function mouse_startup()
{
mouse_mode = 2;
mouse_map = arrow;
while (1)
{
vec_set(mouse_pos, mouse_cursor);
wait(1);
}
}
function surface_clicked()
{
media_play ("Lego Stargate SG1.avi", bmap_for_entity (my, 0), 100); // use your own movie name
}
// attach this action to a sprite or a model
// if you are using a sprite, make sure that it has the same size (in pixels) with the size of the movie
action movie_surface()
{
my.emask |= ENABLE_CLICK;
my.event = surface_clicked;
while (!player) {wait (1);} // wait until the player model is loaded
wait (-10); // wait for 10 seconds, and then play the movie once
media_play ("Lego Stargate SG1.avi", bmap_for_entity (my, 0), 100); // use your own movie name
}
mal sehen ob du was damit anfangen kannst.
Danke schonmal