Page 1 of 1

Is there a way too....

Posted: Fri Feb 03, 2012 9:08 pm
by Michael Slaunwhite
Is there a way to play a .wave,an mp3, or a video when you are reading the contents of a scenario (as soon as you select the scenario to look it over you get the good stuff)?

Okay this is what I am trying to do, well not do, just thinking about it for now... Remember the good old Gettysburg game by Sid that played a small preamble about the upcoming battle (map on the table, and a conversation being held between two commanders), can this be done?

If not then scrap your game engine, and use Sid's. :lol:

Kidding guys...

Re: Is there a way too....

Posted: Sat Feb 04, 2012 7:27 am
by Jim
Not as a mod, would require coding.

-Jim

Re: Is there a way too....

Posted: Sat Feb 04, 2012 12:48 pm
by ADukes
MP3 will work.

Re: Is there a way too....

Posted: Sat Feb 04, 2012 6:22 pm
by Michael Slaunwhite
Thanks guys. Playing an .mp3 would be good enough, no need to have a video (it would be nice, but not needed).

Just need to know in which .csv I need to edit, and what type of statement I would need to do that. I guess using Playmp3: intro.mp3 wouldn't work?

Thanks guys...

Re: Is there a way too....

Posted: Sat Feb 04, 2012 6:27 pm
by ADukes
mscreens.csv

Examples are in there.

Re: Is there a way too....

Posted: Sat Feb 04, 2012 7:58 pm
by Michael Slaunwhite
Thanks Adukes.

Okay I have found the location in the mscreens.csv, and put in the command to play an .mp3 for what I think is the Brigade tutorial, and when I select the tutorial menu item, it starts to play the mp3 for me but that isn't what I am trying to do. I wish to have any scenario I want to play the mp3 just after it loads the scenario, or before.

Is there a way to play an mp3 from the scenario.ini so as soon as it loads to talks about the battle?

Here is a small example of the mscreens.csv I edited to do this...

NEW Tutorials MENU_Tutorials.dds 0 0 0 1024 768 1024 1024 $lastscreen
BASEFONT DefaultSmall-C-242-229-14
TEXT IDS_TUTORIALS MainScreen_Title-C-167-144-95 512 74
FORMAT 65 214 425 80 &formatted:Tut_Drill
DEFBUTTON IDS_Regiment__and__Brigade__Maneuvers 55 137 445 77 55 772 loadgb:0
FORMAT 65 403 425 80 &formatted:Tut_Brig
COMMAND stopmp3
COMMAND playmp3:test.mp3

I was kind of hoping that placing the command under a tutorial I wanted to play, and when I chose that tutorial it would play my introduction to the battle.

I have tried entering playmp3:test.mp3 in the scenario.ini, even placing the it in the "screen.txt" to see if I could just call the command...nothing.

Hmmmm...

It is nice to see though I can now call up any menu item, and play an introductory...just be nice to call it up for any scenario I wish to play.

:)