Custom In game Movies..how?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Post by Teancum »

it looks fine, but try using this one from the BF1 tools

Code: Select all

// transition times used by all movies

MovieProperties()
{
    Name("flythrough_template");
    FadeInTime(1.0);
    FadeOutTime(1.0);
}


// Level fly throughs...

// TAT3
MovieProperties()
{
    Name("tat3fly");
    Inherit("flythrough_template");
    Movie("tat3");
    SegmentList()
    {
        Segment("tat3fly", 1.0, -1);
    }
}
Rekubot
Jedi
Jedi
Posts: 1080
Joined: Wed Apr 05, 2006 12:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: Shadow Complex
xbox live or psn: Rekubot
Location: UK

Post by Rekubot »

It's just a thought, but doesn't the "config" part in the shell.REQ make it look for .req files? And you've told it to look for an mcfg file. I sure hope you figure this out, it'll be really useful.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Post by Teancum »

No, it look look for another req when you use "lvl" in a req file.
Big_rich

Post by Big_rich »

This is what is created when you munge the shell with your bik and associated files:

inshell.lvl shell.lvl a movie directory with your .mvs in it. I've place each of the new files into my modid level. Noting working yet.

Edit: I've gotten closer again, but still no movie:

Here is my BF2modtools.log:


Message Severity: 2
.\movie\RedMovie.cpp(669)
Segment 0x27589fec does not exist in movie 0x985c8f54

This is after adding these sections to the .lua:
ReadDataFile("dc:\\shell.lvl")
ReadDataFile("dc:\\inshell.lvl")

and this to the post load:
ScriptCB_PlayInGameMovie("film1.mvs", "fort")
Big_rich

Post by Big_rich »

I've hit a bric k wall. I've tried everything I can think of and more. If anyone is intrested I can post on how to get the .mvs with visual munge(and the old bf1 muge tools also). If someone wants to pickup the torch and try something else. I've pretty much verified that it is reading the .mvs but not finding the "segment" it needs. I can't figure out how BF2 is reading the mcfg file. I've tried to follow the assest\shell\movies .mfcg and mlst but idk...brain is fried. It's almost seems like the munged mcfg file doesn't contain the link, or name to the bik?
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Post by [RDH]Zerted »

If you seeming are getting it to munge, can you add the info to the modding Wiki?
Big_rich

Post by Big_rich »

Yes, the only thing is that I might not be correctly creating the .mcfg cause it cant find the refenced .bik in the .mvs file. So it might end up being useless to people. Your call.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Post by Teancum »

How big is the mvs file it creates? That will tell us whether the movie got munged.
busterkinkade

I thought it may not of munged properly...

Post by busterkinkade »

I thought it may not of munged properly, look at this error message he got, it does say there is something missing from the movie file, perhaps a frame, I'm not sure, here is the error I was talking about:

Message Severity: 2
.\movie\RedMovie.cpp(669)
Segment 0x27589fec does not exist in movie 0x985c8f54
-(DW)-Big_Rich

Post by -(DW)-Big_Rich »

The .bik file is 6495 KB. The mcfg file is 1 kb, same with the mlst file 1kb. Total mvs file is 6497KB, so I assume it is munged properly, Im thinkin the mfcg file structure is diff in BF2. What I am going to try tonight when I get home from work is to munge the movie in BF1, copy the created .mvs and shell to my BF2 modid\_lvl_PC folder and try to dc the BF1 shell from the lua, I doubt it will work cause it's gonna be an incomplete shell, as the new munged shell will be only 1kb(holding only the mcfg file), as opposed to 20kb for an original. Worth a shot though, hell I've tried everything else but that. It's gonna kill me till I figure this out though.
Big_rich

Post by Big_rich »

Tean this line in the McfG:

MovieProperties()
{
Name("tat3fly");
Inherit("transition_template");
Movie("tat3");
SegmentList()
{
Segment("tat3fly", 1.0, -1);
}
}

Is is refering to the mfcg file itself or is it refering to your mod directory? This is the one line that is confusing me. Any ideas?

In the BF2 MCFG's it is like this(which I've tried):
// Republic victory movie
MovieProperties()
{
Name("gcwinrep1")
Inherit("transition_template")
Movie("shell");
FadeInTime(1.0);
FadeOutTime(1.0);
SegmentList()
{
Segment("gcwinrep1", 1.0, 0)
}
}
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Post by Teancum »

I think it's either referring to the name of the bik file to be munged (in that case, the Name property would be what the movie is called after the munge) or it refers to the mlst file itself. I'm not sure. It sounds like your movie is munging, it's just a matter of what the new name is. That and making sure the movie is pre-loaded for the level, which I'm pretty sure is the problem.
Big_rich

Post by Big_rich »

Well it only get's that segement error when I'm dc'ing my shell. I get the no movie found error without. So it something with the mcfg file I'm just not getting.
Post Reply