Question about "PlayVideo" script command (SOLVED)

Started by SilverWizard_OTF, Sat 01/07/2006 12:57:03

Previous topic - Next topic

SilverWizard_OTF

Hail to all of you AGS users.

Well, to the first room of my game to "After character fade in" at the interaction editor, i've placed the script command PlayVideo("LogoMain.avi",0,1). But when i test the game, it gives an error that says:
Ã,  Ã,  Ã, 
Ã,  Ã, An error has occured. Please contact game author.... is likely a scripting error rather a bug (ACI version 2.71.894)
in Room 1 script (line 6)
Error: Can not display message with exteded character in SCI font.
Ã,  (Accented characters, for example german e\a\u letters can not be used by default. You need to import a TTF font to do so.)
Ã,  But what has a font to do with a video file? It sounds strange to me. I have placed video file to the main game's file folder.

Anyway, thanks for your time. Something else: What does it mean one "BIP" of computer's speaker? High temperature?

postscript: Oh my friends, you can not imagine how much hard and difficult are the exams for entering to university here in Greece! Even a Wizard finds that his spells and wizardry will be put to a great test. I wish none of you will have to pass such times of agony and fear as i passed this period (luckily all went well at last).
"All we have to decide is what to do, with the time that is given to us"

Gilbert

Are there any Display or Character.Say() or similar functions in your script?

SilverWizard_OTF

Thanks for your reply, no there aren't any commands like that.
"All we have to decide is what to do, with the time that is given to us"

Pumaman

Is it possible for you to upload the game so we can take a look at it?

SilverWizard_OTF

"All we have to decide is what to do, with the time that is given to us"

SilverWizard_OTF

Unfortunately even if i zip or rar the file, it's very big and with my dial-up connection it is impossible to upload it.
  But anyway, i can discribe it: I created an empty game template, then i didn't create any buttons or GUis or even cursors, characters e.t.c. i only created a room1 and to the interaction editor i typed to character's after fade in: PlayVideo("LogoMain.avi",0,1). That's all.
"All we have to decide is what to do, with the time that is given to us"

Pumaman

I just tried doing that as well, but it worked fine. How big is the game file if you zip it up WITHOUT including the AVI?

SilverWizard_OTF

Hello
I have uploaded the file (only the basics). Please if anyone has time to check my problem , i would be grateful if he does so. NOTE: Please add a video file named "LogoMain.avi" and a room1.crm in where you will add:
     Interaction Editor-->After Fade In-->Run Script--> PlayVideo("LogoMain.avi,0,1);.   These things i removed because i wanted to make the file size smaller for the uploading.
   Thanks for your time.

http://www.esnips.com/doc/54ded9da-4e72-4d30-a4bd-b8733bea05b9/Fm.rar
"All we have to decide is what to do, with the time that is given to us"

Pumaman

I just tried this and it worked fine. I'm just wondering, what is the full path name of where your game is located on your hard drive?

SilverWizard_OTF

Ha! That's amazing! Oh, sure it is... who could ever imagine that there was the problem?!
Just before i see your question about the path, i thought that maybe because i used some greek fonts to it (i live in holy lands of Greece) it gave errors
e.g.: C:\(Greek Font)\SW\AGS\Fm\...
That was finally the problem, i had to remove AGS' file to a folder where it wouldn't have any greek fonts the path e.g.: C:\SW\AGS\Fm\...

Ok, thanks all very much for your interesting! And Pumaman, just a question: To gain such experience in programming for to be able to create AGS engine, how long did it take?

"All we have to decide is what to do, with the time that is given to us"

SMF spam blocked by CleanTalk