📧 Message Board Archive

Cutscene (again)
Ok, i d/led dmod movie example and examined it through and through and played around with stuff and i think i've set everything up correctly. But when i start a new game, it wont start the movie. i have the script attatched to an inanimate object in the starting room-- what do i have to do to make it run at the beginning?
Re: Cutscene (again)
What I do in a case like this is start with a simple script to test it andbuild it up. So for exmaple first create a script that makes dink say "Okay, I'm starting." and attach that to the sprite. If even that doesn't work, it's time to check really basic stuff like spelling the name of the script right. If all goes well, add more to the script, make dink say "Okay, I'm starting.", and walk over to some NPCo or something. If it still works, have the NPC (assuming there is one in this intro) say "Wellcome Smallwood." and so forth.



But... just to make sure I got your question right, Dink does appear in the correct room, right? If not, thats a whole seperate issue.
Re: Cutscene (again)
: What I do in a case like this is start with a simple script to test it andbuild it up. So for exmaple first create a script that makes dink say "Okay, I'm starting." and attach that to the sprite. If even that doesn't work, it's time to check really basic stuff like spelling the name of the script right. If all goes well, add more to the script, make dink say "Okay, I'm starting.", and walk over to some NPCo or something. If it still works, have the NPC (assuming there is one in this intro) say "Wellcome Smallwood." and so forth.

: But... just to make sure I got your question right, Dink does appear in the correct room, right? If not, thats a whole seperate issue.



yes, he's in the right room. i'll try that. Thanks! ;)
Re: Cutscene (again)
Ok. This is the script i'm trying to run at the beginning. It's inserted in Start1.c, and i can get the first part to run just fine, but it stops working after it says "dink has just been convicted of a murder he didnt commit." after it says that, you're free to control dink, but there is no interface-- like the status bars and stuff isnt there.



freeze(1);

      sp_dir(1,8);

      say_stop_xy("'!Dink has been convicted of a murder he didnt commit.", 10, 370);

      say_stop_xy("'!He has undergone an unfair trial and seeks to obtain justice.", 10, 370);

      move_stop(1, 8, 200, 1);

      say_stop("I will find whoever framed me...", 1);

      wait(1000);

      say_stop("No matter who they are or where they are...", 1);

      wait(1000);

      say_stop(" And bring them to justice! Not to mention clearing the good name of Smallwood.", 1);

      wait(1000);

      say_stop("You probably want to know the whole story, don't you?", 1);

      int &fred = create_sprite(370, 400, 16, 20, 1);

      freeze(&fred);

      sp_dir(&fred, 8);

      sp_base_walk(&fred, 20);

      sp_speed(&fred, 1);

  sp_size(&fred, 200);

      move_stop(&fred, 8, 300, 1);

      say_stop("Uh Oh! I better get out of here... while I run, you can see what happened.", 1);

      wait(200);

      say_stop("'4Murderer! The King's Duck Forces shall have you!", &fred);

      wait(200);

      say_stop("Never!", 1);

      say_stop("I'm getting out of here...", 1);

      move(1, 8, -1, 1);

      move(&fred, 8, 0, 1);



this isn't the script i'm going to be using, i'm just figuring it out by using a modified "DMOD movie example" script. Any help?
Re: Cutscene (again)
: Ok. This is the script i'm trying to run at the beginning. It's inserted in Start1.c, and i can get the first part to run just fine, but it stops working after it says "dink has just been convicted of a murder he didnt commit." after it says that, you're free to control dink, but there is no interface-- like the status bars and stuff isnt there.

:  freeze(1);

:   sp_dir(1,8);

:   say_stop_xy("'!Dink has been convicted of a murder he didnt commit.", 10, 370);

:   say_stop_xy("'!He has undergone an unfair trial and seeks to obtain justice.", 10, 370);

:   move_stop(1, 8, 200, 1);

:   say_stop("I will find whoever framed me...", 1);

:   wait(1000);

:   say_stop("No matter who they are or where they are...", 1);

:   wait(1000);

:   say_stop(" And bring them to justice! Not to mention clearing the good name of Smallwood.", 1);

:   wait(1000);

:   say_stop("You probably want to know the whole story, don't you?", 1);

:   int &fred = create_sprite(370, 400, 16, 20, 1);

:   freeze(&fred);

:   sp_dir(&fred, 8);

:   sp_base_walk(&fred, 20);

:   sp_speed(&fred, 1);

:   sp_size(&fred, 200);

:   move_stop(&fred, 8, 300, 1);

:   say_stop("Uh Oh! I better get out of here... while I run, you can see what happened.", 1);

:   wait(200);

:   say_stop("'4Murderer! The King's Duck Forces shall have you!", &fred);

:   wait(200);

:   say_stop("Never!", 1);

:   say_stop("I'm getting out of here...", 1);

:   move(1, 8, -1, 1);

:   move(&fred, 8, 0, 1);

: this isn't the script i'm going to be using, i'm just figuring it out by using a modified "DMOD movie example" script. Any help?



Make sure that the sprite is Type 1 (I think).  If you have it setup as a background sprite, any scripts attached to it won't run at all.
Re: Cutscene (again)
I assume you put all those script in

void click ( void )

{

......

}

at Start-1.c (Note the dash -).



It appears that you didn't freeze Dink with the script. You might try to put a wait(1); in front of freeze(1), and also put a wait(1); between your two say_stop_xy(....).



In order to bring up the status bar, you need to put the following lines to the scripts:



&update_status = 1;

draw_status();

unfreeze(1);



And don't forget to arm Dink with a fist or a sword or some weapon.



add_item("item-fst",438, 1);

&cur_weapon = 1;

arm_weapon();







: Ok. This is the script i'm trying to run at the beginning. It's inserted in Start1.c, and i can get the first part to run just fine, but it stops working after it says "dink has just been convicted of a murder he didnt commit." after it says that, you're free to control dink, but there is no interface-- like the status bars and stuff isnt there.

:  freeze(1);

:   sp_dir(1,8);

:   say_stop_xy("'!Dink has been convicted of a murder he didnt commit.", 10, 370);

:   say_stop_xy("'!He has undergone an unfair trial and seeks to obtain justice.", 10, 370);

:   move_stop(1, 8, 200, 1);

:   say_stop("I will find whoever framed me...", 1);

:   wait(1000);

:   say_stop("No matter who they are or where they are...", 1);

:   wait(1000);

:   say_stop(" And bring them to justice! Not to mention clearing the good name of Smallwood.", 1);

:   wait(1000);

:   say_stop("You probably want to know the whole story, don't you?", 1);

:   int &fred = create_sprite(370, 400, 16, 20, 1);

:   freeze(&fred);

:   sp_dir(&fred, 8);

:   sp_base_walk(&fred, 20);

:   sp_speed(&fred, 1);

:   sp_size(&fred, 200);

:   move_stop(&fred, 8, 300, 1);

:   say_stop("Uh Oh! I better get out of here... while I run, you can see what happened.", 1);

:   wait(200);

:   say_stop("'4Murderer! The King's Duck Forces shall have you!", &fred);

:   wait(200);

:   say_stop("Never!", 1);

:   say_stop("I'm getting out of here...", 1);

:   move(1, 8, -1, 1);

:   move(&fred, 8, 0, 1);

: this isn't the script i'm going to be using, i'm just figuring it out by using a modified "DMOD movie example" script. Any help?

Re: Cutscene (again)
How about set_mode(2); do you have that?
Re: Cutscene (again)
Ok, thanks! I have it working now! Thank you so much.  ;)