Terrain Error

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
Delta 47
Jedi
Jedi
Posts: 1127
Joined: Sun Dec 23, 2007 12:07 am
Games I'm Playing :: BioShock
xbox live or psn: Delta811
Location: MI, USA
Contact:

Terrain Error

Post by Delta 47 »

I keep getting this error while munging a map. At first I get "This Program has encountered a problem and needs to close" when the munge gets to "PRS.TER", than I click "Don't Send" and it goes on munging skipping "PRS.TER" and than at the end I get the following errors:
Hidden/Spoiler:
[code]ERROR[levelpack PRS.req]:Expecting bracket, but none was found.
File : munged\pc\prs.terrain.req(1)...

ucft <--
ERROR[levelpack PRS.req]:Expecting bracket, but none was found.
File : munged\pc\prs.terrain.req(1)...

ucft <--
[continuing]
2 Errors 0 Warnings

ERROR[levelpack PRS.req]:Expecting bracket, but none was found.
File : munged\pc\prs.terrain.req(1)...

ucft <--
ERROR[levelpack PRS.req]:Expecting bracket, but none was found.
File : munged\pc\prs.terrain.req(1)...

ucft <--
[continuing]
2 Errors 0 Warnings[/code]
I have no idea why it showed the same error that many times but that's what I got. In _BUILD/Worlds/PRS/munged\pc\prs.terrain.req the REQ file is empty except for "ucft" while all of the other files have a lot of characters. Its simple my terrain is not munging and I have no idea why. The only thing I remember doing before munging was scaling a prop (this was a fairly new world and first time munging) and erasing the texture. And before anyone asks I already did a clean and a proper manual clean.

Any suggestions? I'd hate to scrap it and start all over again (this was the third time creating a new world for this map but none of my previous worlds had any errors).

EDIT: It appears that erasing the texture is causing the problem, how do you properly erase the texture without problems? I tried Right clicking on the texture and it was causing the errors. I need a plain see through ground or it would be easier to delete the ground.

Can anyone tell me how to do that? Thanks.
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: Terrain Error

Post by YaNkFaN »

well to erase the texture just right click it should work also go into data_abc/worlds/abc/world 1 and find the file abc.req post it here (abc is your 3 letter mod name) and of course in your build whatever folder there isn't going to be anything cause visual munge didn't munge it.

also to delete the ground i'm sure there is a way to do it but for me i just put the ground above my map and put the map under it that way planning and paths aren't that difficult later on.
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Terrain Error

Post by Xavious »

delta 47 wrote: I need a plain see through ground or it would be easier to delete the ground.
If you want your map to have no ground, just open up ZeroEditor, find the terrain button in the top right corner, and change ingame terrain to "off."
User avatar
Delta 47
Jedi
Jedi
Posts: 1127
Joined: Sun Dec 23, 2007 12:07 am
Games I'm Playing :: BioShock
xbox live or psn: Delta811
Location: MI, USA
Contact:

Re: Terrain Error

Post by Delta 47 »

Xavious wrote:
delta 47 wrote: I need a plain see through ground or it would be easier to delete the ground.
If you want your map to have no ground, just open up ZeroEditor, find the terrain button in the top right corner, and change ingame terrain to "off."
I did that already and I got the terrain error while munging.
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: Terrain Error

Post by YaNkFaN »

go into data_abc/worlds/abc/world 1 and find the file abc.req post it here
i would do that cause that may be the problem
User avatar
Delta 47
Jedi
Jedi
Posts: 1127
Joined: Sun Dec 23, 2007 12:07 am
Games I'm Playing :: BioShock
xbox live or psn: Delta811
Location: MI, USA
Contact:

Re: Terrain Error

Post by Delta 47 »

YaNkFaN wrote:
go into data_abc/worlds/abc/world 1 and find the file abc.req post it here
i would do that cause that may be the problem
Hidden/Spoiler:
[code]ucft
{
REQN
{
"config"
}

REQN
{
"texture"
"PRS_map"
}
REQN
{
"path"
"PRS"
}
REQN
{
"congraph"
"PRS"
}
REQN
{
"envfx"
"PRS"
}
REQN
{
"world"
"PRS"
}
REQN
{
"prop"
"PRS"
}
REQN
{
"class"
"bluelight"
"redlight"
"greenlight"
"whitelight"
}
REQN
{
"config"
"flyerspray"
"walkerstomp"
"hailfire_wake"
}
REQN
{
"lvl"
"PRS_conquest"
"PRS_ctf"
"PRS_1flag"
"PRS_eli"
}
}[/code]
Nothing is changed here from the default world except the sky in the REQ because every world I create does this...
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: Terrain Error

Post by YaNkFaN »

nope that's good i'm not sure what it is then could you post the bf2 log
User avatar
Delta 47
Jedi
Jedi
Posts: 1127
Joined: Sun Dec 23, 2007 12:07 am
Games I'm Playing :: BioShock
xbox live or psn: Delta811
Location: MI, USA
Contact:

Re: Terrain Error

Post by Delta 47 »

I don't think BF2 Log would help any because in game you can't spawn and the terrain isn't munging so there wouldn't be much reference to it but if it helps I can put it up.

EDIT: I restarted from scratch (again) and didn't change anything (except the sky) changed in game terrain off and for some reason I didn't get any errors and it worked in game. I'll keep a backup of world1 every time I change something and find out this problem.
Post Reply