Req

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
Tuskenjedi

Req

Post by Tuskenjedi »

I'm so sorry to take up time and space, but I am terrible at reqs and I have a problem. I've looked everywhere in my req but I can't find the missing brackets. In mungelog it said expecting bracket but none found, twice about my req.

Code: Select all

ucft
{
	REQN
	{
		"config"
	}

	REQN
	{
		"texture"
		"KBL_map"
	}

    REQN
    {
        "texture"
        "platform=ps2"
        "water_specularmask_0"
        "water_specularmask_1"
        "water_specularmask_2"
        "water_specularmask_3"
        "water_specularmask_4"
        "water_specularmask_5"
        "water_specularmask_6"
        "water_specularmask_7"
        "water_specularmask_8"
        "water_specularmask_9"
        "water_specularmask_10"
        "water_specularmask_11"
        "water_specularmask_12"
        "water_specularmask_13"
        "water_specularmask_14"
        "water_specularmask_15"
        "water_specularmask_16"
        "water_specularmask_17"
        "water_specularmask_18"
        "water_specularmask_19"
        "water_specularmask_20"
        "water_specularmask_21"
        "water_specularmask_22"
        "water_specularmask_23"
        "water_specularmask_24"
    }

    REQN
    {
        "texture"
        "platform=xbox"
        "water_normalmap_0"
        "water_normalmap_1"
        "water_normalmap_2"
        "water_normalmap_3"
        "water_normalmap_4"
        "water_normalmap_5"
        "water_normalmap_6"
        "water_normalmap_7"
        "water_normalmap_8"
        "water_normalmap_9"
        "water_normalmap_10"
        "water_normalmap_11"
        "water_normalmap_12"
        "water_normalmap_13"
        "water_normalmap_14"
        "water_normalmap_15"

    }

    REQN
    {
        "texture"
        "platform=pc"
        "height0"
        "fractal0"
        "noise0"
        "diffuse0"
        "diffuse1"
        "diffuse2"
        "diffuse3"

        "water_bumpmap_0"
        "water_bumpmap_1"
        "water_bumpmap_2"
        "water_bumpmap_3"
        "water_bumpmap_4"
        "water_bumpmap_5"
        "water_bumpmap_6"
        "water_bumpmap_7"
        "water_bumpmap_8"
        "water_bumpmap_9"
        "water_bumpmap_10"
        "water_bumpmap_11"
        "water_bumpmap_12"
        "water_bumpmap_13"
        "water_bumpmap_14"
        "water_bumpmap_15"

        "water_normalmap_0"
        "water_normalmap_1"
        "water_normalmap_2"
        "water_normalmap_3"
        "water_normalmap_4"
        "water_normalmap_5"
        "water_normalmap_6"
        "water_normalmap_7"
        "water_normalmap_8"
        "water_normalmap_9"
        "water_normalmap_10"
        "water_normalmap_11"
        "water_normalmap_12"
        "water_normalmap_13"
        "water_normalmap_14"
        "water_normalmap_15"

        "water_specularmask_0"
        "water_specularmask_1"
        "water_specularmask_2"
        "water_specularmask_3"
        "water_specularmask_4"
        "water_specularmask_5"
        "water_specularmask_6"
        "water_specularmask_7"
        "water_specularmask_8"
        "water_specularmask_9"
        "water_specularmask_10"
        "water_specularmask_11"
        "water_specularmask_12"
        "water_specularmask_13"
        "water_specularmask_14"
        "water_specularmask_15"
        "water_specularmask_16"
        "water_specularmask_17"
        "water_specularmask_18"
        "water_specularmask_19"
        "water_specularmask_20"
        "water_specularmask_21"
        "water_specularmask_22"
        "water_specularmask_23"
        "water_specularmask_24"

	}

	REQN
	{
		"path"
		"KBL"
	}
	REQN
	{
		"congraph"
		"KBL"
	}
	REQN
	{
		"envfx"
		"KBL"
	}
	REQN
	{
		"world"
		"KBL"
		"KBL_RainShadows"
	}
	REQN
	{
		"prop"
		"KBL"
	}
	REQN
	{
		"class"
		"bluelight"
		"redlight"
		"greenlight"
		"whitelight"
	}
	REQN
	{
		"config"
		"flyerspray"
		"walkerstomp"
		"hailfire_wake"
	}
	REQN
	{
		"lvl"
		"KBL_conquest"
	}
}
Fiminopter
Sergeant Major
Sergeant Major
Posts: 221
Joined: Sat Apr 29, 2006 11:20 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by Fiminopter »

Your world req?
fat_walrus

Post by fat_walrus »

Yes that's it, can the can still run w/out the bracket?

BTW I heard another topic about this, search for something like "no braket found". I know there was one almost exaclty like this.
Tuskenjedi

Post by Tuskenjedi »

i dont think so
i mean this is a common problem, but i just couldn't find it
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by t551 »

I don't think there's anything wrong with your brackets. Each reqn has an open/close bracket beneath it, and the ucft open/close brackets surround the whole thing.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Post by [RDH]Zerted »

What is your complete error log? I had this error pop-up earlier today. Had to reinstall the mod tools to fix it.

These types of errors are some of the hardest to track down. Something is happening before or during the munging of your world .req which is throwing the compiler off track.

You can safely delete the ps2 and xbox sections if you want to make your .req files smaller.
Vyse
General
General
Posts: 776
Joined: Sun Aug 28, 2005 5:01 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Vyse »

Try re- munging your COMMON in visual munge. It can fix some of those bracket probs.
RC-1290

Post by RC-1290 »

I had such a problem once, (expecting brackets but none were found) and the problem seemed to be, not in the req, but in another file wich was referring to the req, in wich I used the wrong quotations. This happened some time ago, but I recall that I redid the work from a point where there were no errors.
So I suggest you work in small steps, so you know where the problem comes from and so you don't have to repeat a lot of work when things go wrong.
I hope this post has some use, since I'm terrible at explaining things...:P
Post Reply