Unusable ingame.lvl file from Munge process

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

Post Reply
CainDelta

Unusable ingame.lvl file from Munge process

Post by CainDelta »

Hi Everybody

I'm currently setting out to do a small mod for myself in SWBFII. The general gist of the idea was to just edit the soldier/weapon/vehcile properties to something that suited me more. I was also hoping to overwrite .lvl files currently used by the shipped maps that govern object properties rather than creating custom maps with the new changes.

I was going to start with editing the 'Soldier' super class "com_inf_default.odf" that is packed in the ingame.lvl file. I started by testing to see if a custom made ingame.lvl file would work within the SWBFII program. And that is where my problem occured.

So i first create a new world using the Mod Tools. I then munged this new world with all options selected to create a ingame.lvl. I tried putting this created ingame.lvl in the SWBFII's "GameData/data/_LVL_PC" directory, overwriting the shipped ingame.lvl file. However, when i ran the game it, crashed.

This is the severity 3 error logged in the BFront2.log file:
  • Message Severity: 3
    .\Source\SoldierAnimatorClass.cpp(654)
    Can't find soldier animation bank "human"
I'm not very savvy with the .lvl file composition, nor do i know what an animation bank is :). So i don't know how this problem would be resolved. I'm currently thinking that the Mod Tools doesn't provide enough assests to compile a complete ingame.lvl or that the ingame.req file doesn't include all the needed files, but i could also be very wrong.

Would anyone know a way to create an ingame.lvl that can be used by the game. If that is not at all possible, is it possible to overwrite the properties i need changed in the "com_inf_default.odf" file within it's subclasses located in the various .lvl files in within the SIDE folder
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

RE: Unusable ingame.lvl file from Munge process

Post by Teancum »

Yeah, the shipped ingame.lvl munges much more than a normal one I think. Dunno what else would be in the req.
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: Unusable ingame.lvl file from Munge process

Post by t551 »

Well, it sounds like your mod would need all of the shipped animation banks, which can be found in the assets, but yes, it is possible to override com_inf_default from its children.
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

RE: Unusable ingame.lvl file from Munge process

Post by Teancum »

Replacing ingame.lvl would break MP compatability as well.
CainDelta

RE: Unusable ingame.lvl file from Munge process

Post by CainDelta »

Thanks for the advice everyone. I'll try just changing the side's individual .lvl files now.

*EDIT* i found what was wrong, modtools couldn't find "xcopy" which was wierd. But its all good now and my ingame.lvl works and the particle effects for the awards are gone. As for multiplayer, i'm no good so it doesn't matter if i can't play it because i never do.
Post Reply