Water crashes my maps

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
User avatar
jango
Command Sergeant Major
Command Sergeant Major
Posts: 272
Joined: Mon Jan 19, 2009 8:05 pm
Projects :: too many
Games I'm Playing :: Black Ops
Location: A galaxy far far away...

Water crashes my maps

Post by jango »

I started on a map with islands, and of course it needs water, so i looked at the topic about rippentuck's water tut. I put all those effects in the folder i put the stuff in the req file, i put the stuff in the fx file, i put the kas1_water.tga in my world folder, and it crashes. i did notice that when it munged the fx file it said some kind of error. i even made a simple test map with water and it crashed. So what am i doing wrong or leaving out? here is my fx file:

Code: Select all

Effect("Water")
{

	// general parameters
	PatchDivisions(4,4);

	// ocean parameters
	OceanEnable(0);

	// water event parameters
	WaterRingColor(148, 170, 192,255);
	WaterWakeColor(192, 192, 192,255);
	WaterSplashColor((192, 192, 192,255);
}
	

	// PC parameters
	PC()
	{
		Tile(2.0,2.0);
		MainTexture("kas1_water.tga");
		LODDecimation(1);
		Velocity(0.01, 0.01);
		FarSceneRange(1500);

		RefractionColor(45, 53, 74, 255);
		ReflectionColor(191,191,191,191);
		UnderwaterColor(32, 40, 32, 188);
		FresnelMinMax(0.2,0.6);

		NormalMapTextures("water_normalmap_",16,8.0);
		BumpMapTextures("water_bumpmap_",16,8.0);
		SpecularMaskTextures("water_specularmask_",25, 4);
		SpecularMaskTile(3.0, 3.0);
		SpecularMaskScrollSpeed(0.0,0.0);
	}
	
}
Effect("Blur")
{
	Enable(1);
	Mode(1)
	ConstantBlend(0.3)
	DownSizeFactor(0.2500)
}
and here is the req file:

Code: Select all

ucft
{
    REQN
    {
        "config"
    }

    REQN
    {
        "class"
    }

    REQN
    {
        "texture"
        "IsRuin_map"
    }


    REQN
    {
        "texture"
        "platform=pc"
		"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"
        "IsRuin"
    }
    REQN
    {
        "congraph"
        "IsRuin"
    }
    REQN
    {
        "envfx"
      --  "IsRuin"
    }
    REQN
    {
        "world"
        "IsRuin"
    }
    REQN
    {
        "prop"
     --   "IsRuin"
    }
    REQN
    {
        "boundary"
        "IsRuin"
    }
    REQN
    {
        "config"
    --    "flyerspray"
    --    "walkerstomp"
    --    "hailfire_wake"
    --    "dustwake"
    }

}

breakdown
Lance Corporal
Posts: 91
Joined: Thu Oct 16, 2008 6:44 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Water crashes my maps

Post by breakdown »

Well, i think you have the FX cancelled out in your REQ, it's been a while but I am pretty sure it is

Delete the two "--" under "envfx"
User avatar
jango
Command Sergeant Major
Command Sergeant Major
Posts: 272
Joined: Mon Jan 19, 2009 8:05 pm
Projects :: too many
Games I'm Playing :: Black Ops
Location: A galaxy far far away...

Re: Water crashes my maps

Post by jango »

it still doesnt work :( and the munging says underflow of the fx file still (whatever that means).
User avatar
jango
Command Sergeant Major
Command Sergeant Major
Posts: 272
Joined: Mon Jan 19, 2009 8:05 pm
Projects :: too many
Games I'm Playing :: Black Ops
Location: A galaxy far far away...

Re: Water crashes my maps

Post by jango »

i got it working now!!! YAY! I didnt put the ps2 and xbox textures in the req. you can lock this topic now.
Post Reply