Problem adding water in SWBF2!! [Solved]

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

Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Problem adding water in SWBF2!! [Solved]

Post 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
Last edited by Marth8880 on Fri Nov 26, 2010 8:37 am, edited 1 time in total.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Problem adding water in SWBF2!!

Post 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....
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Problem adding water in SWBF2!!

Post by Marth8880 »

I followed Fierfek's tutorial. I will try doing that and see what happens.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Problem adding water in SWBF2!!

Post 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.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Problem adding water in SWBF2!!

Post 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.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Problem adding water in SWBF2!!

Post by lucasfart »

Can you tell us exactly what you did?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Problem adding water in SWBF2!!

Post 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
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Problem adding water in SWBF2!!

Post by lucasfart »

i'm not sure whats wrong.....try a manual clean
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Problem adding water in SWBF2!!

Post 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!!
Coley
Sergeant Major
Sergeant Major
Posts: 249
Joined: Sun Aug 09, 2009 11:27 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Re: Problem adding water in SWBF2!!

Post 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)
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Problem adding water in SWBF2!!

Post 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.
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: Problem adding water in SWBF2!!

Post by sampip »

It's not about what water you're using. Could you post your error log please?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Problem adding water in SWBF2!!

Post 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: )
Coley
Sergeant Major
Sergeant Major
Posts: 249
Joined: Sun Aug 09, 2009 11:27 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Re: Problem adding water in SWBF2!!

Post 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.
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: Problem adding water in SWBF2!!

Post 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).
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Problem adding water in SWBF2!!

Post 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?
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: Problem adding water in SWBF2!!

Post by sampip »

I did, read my post above yours. And please ignore Coleys last post, it's slightly pointless now.
Coley
Sergeant Major
Sergeant Major
Posts: 249
Joined: Sun Aug 09, 2009 11:27 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Re: Problem adding water in SWBF2!!

Post 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).
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: Problem adding water in SWBF2!!

Post 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.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Problem adding water in SWBF2!!

Post 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.
Post Reply