Making water not move [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

Post Reply
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Making water not move [SOLVED]

Post by YaNkFaN »

If anyone has noticed SWBF2 water sort of moves back and forth along the edges like expands and contracts is there a way to stop this or minimize it at least or is this a hardcoded issue. I'm assuming it's hardcoded since I haven't seen any reference to it in the .fx or any files dealing with water
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: Making water not move

Post by lucasfart »

you might be able to do it if it was hard up against another object and the height was vertical......
but what do i know, i'm a newby here
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Making water not move

Post by Teancum »

It's been a really long time since I've dealt with water, but check the following in the water section of your fx file:

Velocity(0.00,0.00);
OscillationEnable(0);
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: Making water not move

Post by YaNkFaN »

is that in the BF1 water .fx cause I haven't seen any in BF2 water andi guess i'll try that function out
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Making water not move

Post by Teancum »

That's from the BF2 /assets/worlds folders. All I did was change the values to 0
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: Making water not move

Post by YaNkFaN »

thanks tean it worked quite nicely this can be locked
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Making water not move [SOLVED]

Post by Teancum »

Always a pleasure. :thumbs:
Post Reply