Your guide in the first post for
Steps For Replacing ingame.mvs works fine when using existing names. If you want to try a custom .bik file name (segment) then you'll also need to edit ingame_movies.mcfg in data_ABC\Common\mission and add a new MovieProperties() block.
I wanted to see how far I could customize the naming so I opened mission.req and changed this part:
Code: Select all
ucft
{
REQN
{
"config"
"ingame_movies"
}
to this:
Code: Select all
ucft
{
REQN
{
"config"
"somename_movies"
}
I went into data_ABC\Common\mission and created a new file named somename_movies.mcfg and copied this into it:
Code: Select all
MovieProperties()
{
Name("abcmon01"); //called from LUA
FadeInTime(0.0);
FadeOutTime(0.0);
Movie("ingame"); //mvs file or hard coded label?
SegmentList()
{
Segment("abcmon01", 1.0, 0); //bik video
}
}
Added this to my ABCc_con.lua at the bottom of ScriptPostLoad:
Code: Select all
ScriptCB_PlayInGameMovie("ingame.mvs", "abcmon01")
The mvs file is named ingame. My movie property in the mcfg file was named abcmon01
Munged and it still worked, the movie played at the beginning of the level. That was as far as my customization went.
Changing the name of the ingame.mvs to anything else breaks the whole thing.
Placing the ingame.mvs anywhere but GameData\DATA\_LVL_PC\MOVIES wouldn't work.
I tried to get the mvs location read from addon by trying these:
Code: Select all
ScriptCB_PlayInGameMovie("..\..\..\Addon\ABC\data\_LVL_PC\Movies\ingame.mvs", "abcmon01")
ScriptCB_PlayInGameMovie("dc:Movies\\ingame.mvs", "abcmon01")
to no avail.
There are no file names stored in the mvs file. I don't know if the game knows which movie to play is by order or some kind of crc thing.
ingame.mvs is mentioned in the BattlefrontII.exe at 0x3C05F4
I'm interested in this from Zerted's 2nd post
I think i'll play around with that and see what happens.