Is there a way too....

This is where our experts try to teach you the very flexible modding system for our previous release - SOW Gettysburg and its add-ons. It's powerful, but dangerous. Post your tips and your questions.
Post Reply
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Is there a way too....

Post 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...
Last edited by Michael Slaunwhite on Fri Feb 03, 2012 9:10 pm, edited 1 time in total.
Jim
Reactions:
Posts: 1082
Joined: Tue Nov 27, 2007 8:53 am

Re: Is there a way too....

Post by Jim »

Not as a mod, would require coding.

-Jim
"My God, if we've not got a cool brain and a big one too, to manage this affair, the nation is ruined forever." Unknown private, 14th Vermont, 2 July 1863
ADukes
Reactions:
Posts: 862
Joined: Mon Nov 26, 2007 10:38 pm

Re: Is there a way too....

Post by ADukes »

MP3 will work.
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Is there a way too....

Post 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...
ADukes
Reactions:
Posts: 862
Joined: Mon Nov 26, 2007 10:38 pm

Re: Is there a way too....

Post by ADukes »

mscreens.csv

Examples are in there.
Michael Slaunwhite
Reactions:
Posts: 4358
Joined: Fri Jan 08, 2010 8:15 am

Re: Is there a way too....

Post 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.

:)
Last edited by Michael Slaunwhite on Sat Feb 04, 2012 8:00 pm, edited 1 time in total.
Post Reply