Page 1 of 1

Req

Posted: Tue Jun 20, 2006 7:02 pm
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"
	}
}

Posted: Tue Jun 20, 2006 7:06 pm
by Fiminopter
Your world req?

Posted: Tue Jun 20, 2006 8:28 pm
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.

Posted: Tue Jun 20, 2006 8:33 pm
by Tuskenjedi
i dont think so
i mean this is a common problem, but i just couldn't find it

Posted: Tue Jun 20, 2006 9:34 pm
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.

Posted: Tue Jun 20, 2006 11:37 pm
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.

Posted: Tue Jun 20, 2006 11:42 pm
by Vyse
Try re- munging your COMMON in visual munge. It can fix some of those bracket probs.

Posted: Wed Jun 21, 2006 3:43 am
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