Map won't load in game [Solved]

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

THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Map won't load in game

Post by THEWULFMAN »

poop wrote:You need to add a line for whatever turret you are using into your .lua or else it's going to crash.

I.E. If you used the mortar turret then your .lua turret section should look like this:

Code: Select all

ReadDataFile("SIDE\\tur.lvl", 
                "tur_bldg_laser",
                "tur_bldg_mortar",
                "tur_bldg_tower")
we did not think about that, good point we assumed he did that, soooooo, did you do thid?
RIPJimmy
Private Recruit
Posts: 18
Joined: Wed Mar 17, 2010 5:58 pm

Re: Map won't load in game

Post by RIPJimmy »

Ok, I added all the necessary turrets to the lua and munged. However, the game still thought that the com_weap_veh_guided_rocket_ord odf wasn't there, so finally I decided to get rid of the turret it uses, since I wouldn't need it for my map anyways.

However, the game STILL refuses to load the map, even after I manual cleaned and munged. Why does the game still think that I need that odf when none of my turrets use it?
User avatar
linksith
Command Sergeant Major
Command Sergeant Major
Posts: 284
Joined: Mon Jul 12, 2010 12:19 pm
Projects :: Waaay too many projects
Games I'm Playing :: too many
xbox live or psn: me has no xbox
Location: looking for a wifi connection

Re: Map won't load in game

Post by linksith »

Did you remove the code from the LUA? Did the error log change? if it did, could we see it?
Just a suggestion, it sometimes helps to remove msh's and odf's if you're not using them.
RIPJimmy
Private Recruit
Posts: 18
Joined: Wed Mar 17, 2010 5:58 pm

Re: Map won't load in game

Post by RIPJimmy »

I removed the turret from the lua, got rid of the odf, and everything works great now!

Problem solved.
Post Reply