Page 1 of 2

Problem adding water in SWBF2!! [Solved]

Posted: Sun Feb 14, 2010 3:35 am
by Marth8880
Hello,

In Star Wars Battlefront 2 I am trying to add water to my map. I got all of my folders and textures and stuff in the right places, I set the water in ZE to the correct specifications, and had the Texture set to kas2_water.tga

Whenever I load up the map and try to spawn, the game exits and crashes to the desktop.

This is the code for my map's REQ file:
Hidden/Spoiler:
[code]ucft
{
REQN
{
"config"
}

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"
"PIO"
}
REQN
{
"congraph"
"PIO"
}
REQN
{
"envfx"
"PIO"


}
REQN
{
"world"
"PIO"
}
REQN
{
"prop"
"PIO"
}
REQN
{
"class"
"bluelight"
"redlight"
"greenlight"
"whitelight"
}
REQN
{
"config"
"flyerspray"
"walkerstomp"
"hailfire_wake"
}
REQN
{
"lvl"
"PIO_conquest"
}
}
[/code]
I really need your guys' help!

Thanks

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 3:51 am
by lucasfart
I'm not sure if you followed a tut or not, but all the tuts here tell you that the text goes in the ABC.fx file, not the .req.........go to the kas/world(1or2, cant remember) folder and just copy over the .fx file in there and delete everything except the water part......i dont think anything goes in the .req....

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 4:13 am
by Marth8880
I followed Fierfek's tutorial. I will try doing that and see what happens.

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 4:24 am
by AQT
Try following this tutorial straight from the FAQ: http://www.gametoast.com/forums/viewtop ... 94#p134694

I'd say it's a lot more precise.

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 5:22 am
by Marth8880
AQT wrote:Try following this tutorial straight from the FAQ: http://www.gametoast.com/forums/viewtop ... 94#p134694

I'd say it's a lot more precise.
Nope, I tried it 4 times and none of them worked.

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 5:27 am
by lucasfart
Can you tell us exactly what you did?

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 6:04 am
by Marth8880
lucasfart wrote:Can you tell us exactly what you did?
OK,

First, I pasted this:
Hidden/Spoiler:
[code] "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"[/code]
into my PIO.req file under:

Code: Select all

	"texture"
	"platform=pc"
and saved. Then, I got the kas2.fx file and renamed it to "PIO.fx" and put that into my World1 folder.

Next, I got the kas2_water.tga file and pasted it into my World1 folder.

After that, I pasted the Kashyyyk/Effects/"PC" folder into my new effects folder in my PIO folder.

Last, I went into Zero Editor and "painted" in the water like this:
Hidden/Spoiler:
Image
P.S. I used Kashyyyk's water and PIO is my ModID

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 6:13 am
by lucasfart
i'm not sure whats wrong.....try a manual clean

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 6:34 am
by Marth8880
lucasfart wrote:i'm not sure whats wrong.....try a manual clean
Nope, that didn't help one bit. Now it just crashes at about two thirds of the way loading the map. Even when I delete the water. Come on people, I don't wanna lose this map!!

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 6:44 am
by Coley
Do you have this in your req? Don´t know exactly if it matters but it´s in my req and my map works xD
Hidden/Spoiler:
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"

"nab2_water"
(with your tga name)

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 6:45 am
by Marth8880
Coley wrote:Do you have this in your req? Don´t know exactly if it matters but it´s in my req and my map works xD
Hidden/Spoiler:
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"

"nab2_water"
(with your tga name)
I will get on that.

EDIT:

Nope, didn't work. I'll try using Naboo's water though because if it works for you, it should work for me.

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 7:00 am
by sampip
It's not about what water you're using. Could you post your error log please?

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 7:06 am
by Marth8880
sampip wrote:It's not about what water you're using. Could you post your error log please?
I don't get an error log.

When I am using the Naboo water though the loading bar gets to 100% and waits for a few seconds and THEN the game crashes to the desktop.

EDIT:

I am using Windows XP btw

I am also really hungry! It is waaaay too late to get food though (3:11AM in Seattle :sleep: )

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 7:14 am
by Coley
You get an errorlog if it crashes except it shows you again the fatal error. Do you know the debugger? and I didn´t say that he should use naboo water...that´s completely wrong except you copied the naboo water in your world, too. Put in thge kashykk water in your req...but I see, in the stock-kashyyk req isn´t this...mmmh.

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 7:17 am
by sampip
Marth8880 wrote:I don't get an error log.
Not the munge log, the error log. You need to run BFII_Modtools.exe (it's in your GameData folder). This will give you an error log (BFront2.log) which you can post here. Sorry if I didn't make myself clear.
You get an errorlog if it crashes except it shows you again the fatal error. Do you know the debugger? and I didn´t say that he should use naboo water...that´s completely wrong except you copied the naboo water in your world, too. Put in thge kashykk water in your req...but I see, in the stock-kashyyk req isn´t this...mmmh.
If you are using the Naboo water now, keep that line in your req. Ignore this comment, it's slightly pointless now that you are using the Naboo water. Just keep the water as Naboo water, don't do anything until you've posted your error log, we can't solve your problem if you keep changing the water (I know this isn't your fault though).

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 7:19 am
by Marth8880
Coley wrote:You get an errorlog if it crashes except it shows you again the fatal error. Do you know the debugger? and I didn´t say that he should use naboo water...that´s completely wrong except you copied the naboo water in your world, too. Put in thge kashykk water in your req...but I see, in the stock-kashyyk req isn´t this...mmmh.
No, I do not know about the debugger. Could you elaborate please?

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 7:19 am
by sampip
I did, read my post above yours. And please ignore Coleys last post, it's slightly pointless now.

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 7:22 am
by Coley
Okay...sampip, I didn´t say to him, that he should use naboo water...
I just saw that in my req this line is. And I said he should put in kashyyk texture. So if it isn´t necessary, I´m really sorry, but at me it doesn´t matter anything, so don´t say something like Ignore his comment.
I wrote in exactly this comment, what you wrote after me, too ( with the errorlog and debugger).

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 7:27 am
by sampip
Coley wrote:Okay...sampip, I didn´t say to him, that he should use naboo water...
I just saw that in my req this line is. And I said he should put in kashyyk texture. So if it isn´t necessary, I´m really sorry, but at me it doesn´t matter anything, so don´t say something like Ignore his comment.
I wrote in exactly this comment, what you wrote after me, too ( with the errorlog and debugger).
I didn't want to offend you in any way, but if he wants to fix this crash, what you said wasn't going to help, so I just wanted to make sure that he posted his error log before doing anything else. I didn't want to offend you, what you said was helpful, but it would be more helpful if we could see an error log. I told him where to find the debugger and what to post here, which is not what you said. I'm not here to argue about telling someone what's helpful and what's not. PM me if you want to discuss this further, let's not clutter up this topic. I really didn't mean to offend you, sorry.

//On Topic: He's changed to Naboo water now, I was just saying it was pointless to change back.

Re: Problem adding water in SWBF2!!

Posted: Sun Feb 14, 2010 7:29 am
by Marth8880
So wait a minute, where EXACTLY is the Debugger? What should the path be? My primary drive is drive D. I looked in my SWBF2 GameData folder and I saw no BFII_ModTools.exe file.