Page 1 of 1

MISSION.lvl

Posted: Mon May 29, 2006 11:00 am
by OOM-9
Hey folks, I need to find out what is included in the default MISSION.lvl

Basically I am looking to munge a new MISSION.lvl with altered scripts for the default maps, which would allow me to make the game call legion matching skins, increase/decrease troop counts and number of class counts, as well as add or remove tickets on the default maps for my Weapon Expo.

I already tried munging ALL the maps scripts to make a master MISSION.lvl but apparently there is more in the MISSION.lvl than the LUA's what other assets to I need to import to the map to make a munge work propperly?




~OOM-9

RE: MISSION.lvl

Posted: Mon May 29, 2006 11:44 am
by Murdocr
from what i can read from the .LVL file it looks like it is the scripts and everything in the \data_%$%\Worlds\%$%\world1 folder and folders within that folder, ike MSH, ODF etc. that's all i could find though.

RE: MISSION.lvl

Posted: Mon May 29, 2006 11:59 am
by Qdin
so you're saying he should add all the 'default' .msh, .odf, .tga's etc. in that folder too? :o

Posted: Mon May 29, 2006 12:14 pm
by Murdocr
no, just the ones in the world folders. e.g: C:\BF2_ModTools\assets\worlds\GEO\msh. all the ones in the side folders go into the sides .lvl, eg: rep.lvl. however all i am saying is just a guess from the readable content of mission.lvl, as i found stuff like kam_bldg_podroom_door

EDIT: Scratch all that, i think the kam_bldg_podroom_door is just a reference to an animation which is probably in the LUA. :oops:

Posted: Mon May 29, 2006 2:05 pm
by OOM-9
well the MISSION.lvl is like 50 times as big as the one I ended up getting with just the world LUA's in it, Imma try throwing ALL the .msh and odf files into it... since all the worlds draw from the same MISSION.lvl it stands to reason that the objecys could also be drawn from there... what does Psychofred think?




~OOM-9

Posted: Mon May 29, 2006 3:18 pm
by Murdocr
i've completely changed my mind about the MSH's and ODF's being in there because the . LVL file is only about 1.2 MB. I dont care how compiled it is, there's no way your fitting all those big .MSH files in there. i think the MSH's etc from the world1 folder go into the worlds own .LVL file eg: cor.lvl

Posted: Mon May 29, 2006 4:52 pm
by Qdin
PM Him OOM-9 :) he'll definately answer :wink:

I'd like to see where this goes :D

so my hope is, that noone will post anything stupid so this will be locked.. :roll:

Posted: Mon May 29, 2006 6:31 pm
by Teancum
[RDH]Zerted -> That's who you need to talk to. He can answer the question if anyone can.

Posted: Mon May 29, 2006 9:46 pm
by [RDH]Zerted
Yeah, I've done some work on this file. My computer is still in pieces so I can't lookup the info till at least tomorrow.

You said you included all the files from the retail mision.req and it didn't work? What is not working?

Posted: Tue May 30, 2006 12:46 am
by Kenobi_wan_obi
I have done some work on the mission.lvl also, I have used the sides from my maps and called them in the lvl so it replaces the default troopers and weapons for that certain side

Posted: Tue May 30, 2006 10:03 am
by sawyerdk9
This is what I do. I make a completely new side with the mod tools such as an all 41st elite or galactic marines then make all the changes and what. Then munge it and go into your world folder and rename your rep.lvl and repshell.lvl to something with the same amount of letters like 212.lvl and 212shell.lvl Then using a hex editor you go into the mission.lvl and say you made a 212th attack battalion side and you want it on Utapau. Well do a search for Uta.lvl or whatever it's name is, then find where it calls for the sides in the Utapau part. Just rename that side to whatever your new side is. So if you made 212.lvl just rename rep.lvl to 212.lvl Then it will load that side and voila! Just make sure the new side is in the side folder.

Posted: Wed May 31, 2006 12:25 am
by OOM-9
I already got help from Psychofred, but thanks guys.

And yea I had to add all the stuff from the default req. I was only adding mission LUA's.




~OOM-9


(P.S. Hex editting is messier and doesn't let me change what I really want)

Posted: Wed May 31, 2006 12:32 pm
by OOM-9
Hey guys, ok I found out what goes in the MISSION.lvl from psychofred, I am just having trouble locating all the assets.

Code: Select all

ucft
{
    REQN
    {
        "config"
        "ingame_movies"	
    }

    REQN
    {
        "script"
        "setup_teams"
        "gametype_conquest"
        "gametype_capture"
        "Objective"
        "MultiObjectiveContainer"
        "ObjectiveCTF"
        "ObjectiveAssault"
        "ObjectiveSpaceAssault"
        "ObjectiveConquest" 
        "ObjectiveTDM"
        "ObjectiveOneFlagCTF"
		"SoundEvent_ctf"
        "ObjectiveGoto"        
        "LinkedShields"
        "LinkedDestroyables"
        "LinkedTurrets"
        "Ambush"
        "PlayMovieWithTransition"
    }

    REQN
    {
        "lvl"
        "cor1c_c"
        "cor1c_con"
        "cor1c_ctf"
        "cor1g_con"
        "cor1g_ctf"
        "dag1c_con"
        "dag1c_ctf"
        "dag1g_con"
        "dag1g_ctf"
        "dea1c_con"
        "dea1g_1flag"
        "dea1c_1flag"
        "dea1g_c"
        "dea1g_con"
        "end1g_con"
        "end1g_hunt"
        "end1g_1flag"
        "fel1c_c"
        "fel1c_con"
        "fel1g_con"
        "fel1c_1flag"
        "fel1g_1flag"
        "gal1"
        "geo1c_c"
        "geo1c_con"
        "geo1c_ctf"
        "geo1c_hunt"
	"geo1c_xl"
        "hot1g_c"
        "hot1g_con"
        "hot1g_1flag"
        "hot1g_hunt"
	"hot1g_xl"
        "kam1c_c"
        "kam1c_con"
        "kam1c_1flag"
        "kam1g_1flag"
        "kam1g_con"
        "kas2c_c"
        "kas2c_con"
	"kas2c_xl"
        "kas2g_con"
        "kas2c_hunt"
        "kas2c_ctf"
        "kas2g_ctf"
	"kas2g_xl"
        "mus1c_c"
        "mus1c_con"
        "mus1c_ctf"
        "mus1g_con"
        "mus1g_ctf"
        "myg1c_c"
        "myg1c_con"
        "myg1c_ctf"
        "myg1g_con"
        "myg1g_ctf"
        "nab2c_con"
        "nab2g_con"
        "nab2g_ctf"
        "nab2c_ctf"
        "nab2g_c"
        "nab2c_hunt"
        "pol1c_con"
        "pol1c_ctf"
        "pol1g_c"
        "pol1g_con"
        "pol1g_ctf"
        "spa1g_Diet Dr. Pepper"
        "spa1g_1flag" 
        "spa1g_c"
        "spa2c_c"
        "spa3c_c"
        "spa3c_Diet Dr. Pepper"
        "spa3c_1flag"
        "spa3g_c"
        "spa4g_c"
        "spa6c_Diet Dr. Pepper"
        "spa6c_1flag"
        "spa7c_Diet Dr. Pepper"
        "spa7c_1flag"
        "spa8g_Diet Dr. Pepper"
        "spa8g_1flag"
        "spa9g_1flag"
        "spa9g_Diet Dr. Pepper"
        "tan1c_con"
        "tan1c_1flag"
        "tan1g_c"
        "tan1g_con"
        "tan1g_1flag"
        "tat2c_con"
        "tat2c_ctf"
        "tat2g_con"
        "tat2g_ctf"
        "tat2g_eli"
        "tat2g_hunt"
        "tat3c_1flag"
        "tat3g_1flag"
        "tat3c_con"
        "tat3g_con"
        "test1c"
        "test1g"
        "uta1c_1flag"
        "uta1g_1flag"
        "uta1c_c"
        "uta1c_con"
        "uta1g_con"
        "yav1c_1flag"
        "yav1c_con"
        "yav1g_1flag"
        "yav1g_c"
        "yav1g_con"
  
    }

	REQN
	{
		"lvl"
		"platform=pc"
		"kas2c_uber"
		"hot1g_uber"
	}
}

I need everything in this REQ. I found all the LUAs, and the gamemode scripts, I can't find the "lvl" section or the ingame movies. Obviously I need these to complete a override MISSION.lvl to replace and total convert for my mod.


~OOM-9

Posted: Wed May 31, 2006 2:06 pm
by Teancum
kas2c_uber and hot1g_uber should just be regular scripts. Try leaving the "lvl" section out and testing mission.lvl

Posted: Wed May 31, 2006 2:07 pm
by Qdin
data_ModID>Common>mission

here you'll fin all the movies :P

Posted: Wed May 31, 2006 2:13 pm
by OOM-9
well I found those Qdin, now the question is, how do I get them all to munge propperly... I have found all the assets, but my munge still gets me only a 73 KB mission.lvl in compairison to the 1000ish default.



~OOM-9

Posted: Wed May 31, 2006 2:14 pm
by Teancum
yes, but he's looking for a specific file called "ingame_movies". Is that in there? (not at home)

Posted: Wed May 31, 2006 2:23 pm
by OOM-9
I have found all the files I need, they are all in the mission folder *slaps forehead* I was just being an idiot, however I still am having trouble because I do not know where to put the files so that they munge when I munge into a mission.lvl

I dunno where in my project to dump them all so I can start munging working missions.



~OOM-9