No terrain and CPs

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
User avatar
Super_Clone
High General
High General
Posts: 803
Joined: Sat Jul 12, 2008 7:58 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Florida

No terrain and CPs

Post 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!
User avatar
jedimaster745
First Lance Corporal
First Lance Corporal
Posts: 136
Joined: Sun Sep 07, 2008 5:05 pm

Re: No terrain and CPs

Post by jedimaster745 »

You're editing a shipped map, correct?
User avatar
Super_Clone
High General
High General
Posts: 803
Joined: Sat Jul 12, 2008 7:58 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Florida

Re: No terrain and CPs

Post by Super_Clone »

yep
User avatar
jedimaster745
First Lance Corporal
First Lance Corporal
Posts: 136
Joined: Sun Sep 07, 2008 5:05 pm

Re: No terrain and CPs

Post 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.
User avatar
Super_Clone
High General
High General
Posts: 803
Joined: Sat Jul 12, 2008 7:58 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Florida

Re: No terrain and CPs

Post by Super_Clone »

I never edited the CPs
User avatar
jedimaster745
First Lance Corporal
First Lance Corporal
Posts: 136
Joined: Sun Sep 07, 2008 5:05 pm

Re: No terrain and CPs

Post 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?
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: No terrain and CPs

Post by AceMastermind »

Did you have any mungelog errors?
User avatar
Super_Clone
High General
High General
Posts: 803
Joined: Sat Jul 12, 2008 7:58 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Florida

Re: No terrain and CPs

Post 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
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: No terrain and CPs

Post 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
Post Reply