how do i how my mpg

Started by zordork, Wed 30/06/2004 18:33:33

Previous topic - Next topic

zordork

I have made an intro film for my game, and named it intro.mpg, i know the command to run this is "playvideo (intro.mpg,1,1): but my question is were do i put this command ???
Life is a desease that has no cure
Do we control our past, prssent or future
Or are we  just pawns to somthing greater far more?

Mr Flibble

Where ever you want it to happen.
For example, if you wanted to display it in room 1, open up that room and place it in the "Char enters screen after fade in" part.

If you want it as an intro, which I think you do, put it in the room your game starts in, or even better, a new room, then when the movie is over, put in a new room command to go to the actual game start.

Does that make sense?
Ah! There is no emoticon for what I'm feeling!

zordork

I tried that i want a room called intro so i have changed character start to 0 and tried to creat a new room i whent to room editor settings and clicked on edit script and typed in this script:

// room script file
PlayVideo ("intro.mpg", 1, 1);
NewRoom (1);

and get the following message when i try to save the room:

There was an error compiling your script. the problem was:
In: `Main Script`
Error (line 2); parse error: unexpected `PlayVideo`

am i missing somthing ???
Life is a desease that has no cure
Do we control our past, prssent or future
Or are we  just pawns to somthing greater far more?

Proskrito

i think you should place that in the 'character enters screen after fadein' interaction of that room

zordork

Thanks i have got it working now
Life is a desease that has no cure
Do we control our past, prssent or future
Or are we  just pawns to somthing greater far more?

Phemar


zordork - Is that Zor Dork, as in Zor is a dork?

hehe...

TerranRich

This is in the BFAQ. http://www.rain-day.com/harbinger/faq/#coding03

Perhaps I should re-write the question?
Status: Trying to come up with some ideas...

zordork

No my name is zordork, i am suprissed you off not heard of this mighty wizard, a character I created some 20 years ago for dungeons and dragons, this character has evolved in those years, and is well renowned in the DnD, RPG and adventure circles.
Life is a desease that has no cure
Do we control our past, prssent or future
Or are we  just pawns to somthing greater far more?

SMF spam blocked by CleanTalk