Page 2 of 2

Re: Map won't load in game

Posted: Mon Oct 25, 2010 7:26 am
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?

Re: Map won't load in game

Posted: Mon Oct 25, 2010 5:32 pm
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?

Re: Map won't load in game

Posted: Wed Oct 27, 2010 2:10 pm
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.

Re: Map won't load in game

Posted: Fri Oct 29, 2010 5:02 pm
by RIPJimmy
I removed the turret from the lua, got rid of the odf, and everything works great now!

Problem solved.