Page 1 of 1

No terrain and CPs

Posted: Sat Aug 22, 2009 12:38 pm
by Super_Clone
My map was working fine, then I added some objects in, tested it and there were no CPs or terrain, i searched this issue but there were no topics on the specific errors I got. Here are the errors:

Code: Select all

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1010)
Data in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\ME2\Data\_lvl_pc\ME2\tat2.lvl is not a binary UCF file.

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk tat2_con in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\ME2\Data\_lvl_pc\ME2\tat2.lvl


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1019)
Unable to find level chunk  in dc:ME2\tat2.lvl
I know that with missing chunk errors you should do a manual clean and re-munge, I did, but that didn't work. Any ideas on how I can fix this? Thanks in advanced!

Re: No terrain and CPs

Posted: Sat Aug 22, 2009 2:55 pm
by jedimaster745
You're editing a shipped map, correct?

Re: No terrain and CPs

Posted: Sat Aug 22, 2009 2:56 pm
by Super_Clone
yep

Re: No terrain and CPs

Posted: Sat Aug 22, 2009 3:01 pm
by jedimaster745
Open your .lua and scroll down to where it says "ReadDataFile("tat\\tat2.lvl", "tat2_con") (or at least it should look pretty similar to that), and change it to ReadDataFile("dc:***\\tat2.lvl", "tat2_con") if you haven't already.

If you've already done that, check the part of your .lua(should be near the top, i dont have modtools on this computer so i cant use a referece .lua) that calls for command posts. compare it with a shipped .lua and check for any differences.

Re: No terrain and CPs

Posted: Sat Aug 22, 2009 3:03 pm
by Super_Clone
I never edited the CPs

Re: No terrain and CPs

Posted: Sat Aug 22, 2009 3:07 pm
by jedimaster745
well, its always a good idea, just to check. In the case that they are totally perfect, i can't think of anything to offer right now. I'll look through my modtools when im on that computer and look for info concerning your problem.

Anyone else have something to offer?

Re: No terrain and CPs

Posted: Sat Aug 22, 2009 3:12 pm
by AceMastermind
Did you have any mungelog errors?

Re: No terrain and CPs

Posted: Sat Aug 22, 2009 3:14 pm
by Super_Clone
Hidden/Spoiler:
ERROR[PC_texturemunge world2\tatX.tga]:TextureMunge(tatx:39x39x1): Must have power of two dimensions!
ERROR[PC_texturemunge world2\tatX.tga]:TextureMunge(tatx:39x39x1): Must have power of two dimensions!
[continuing]
2 Errors 0 Warnings

ERROR[levelpack tat2.req]:Could not open munged\pc\tat1_bldg_sarlacctentacle.anims for input. DOS reports:
No such file or directory
ERROR[levelpack tat2.req]:Could not open munged\pc\tat1_bldg_sarlacctentacle.anims for input. DOS reports:
No such file or directory
[continuing]
2 Errors 0 Warnings

ERROR[levelpack tat2.req]:Could not open munged\pc\tat1_bldg_sarlacctentacle.anims for input. DOS reports:
No such file or directory
ERROR[levelpack tat2.req]:Could not open munged\pc\tat1_bldg_sarlacctentacle.anims for input. DOS reports:
No such file or directory
[continuing]
2 Errors 0 Warnings

Re: No terrain and CPs

Posted: Sat Aug 22, 2009 3:25 pm
by AceMastermind
You must fix mungelog errors first, there's no need to try playing your map if you get errors in your mungelog.
The texture error is self explanatory, the tat1_bldg_sarlacctentacle.anims error can be fixed by creating a .anims file because the sarlac was a SWBF1 animated prop and SWBF1 didn't require an anims file but SWBF2 does.

tat1_bldg_sarlacctentacle.anims

Code: Select all

ucft
{
	ANIM
	{
		"grab"
		"grab1"
		"grab2"
		"idle"
	}
}
^This file goes with the tat1_bldg_sarlacctentacle.zaabin and tat1_bldg_sarlacctentacle.zafbin in:
data_ABC\Worlds\ABC\MUNGED