Possible to stop the water animations?

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
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Possible to stop the water animations?

Post by Aman/Pinguin »

Well like the name of this topic says: Is it possible to stop the animations of water? Because in my map is frozen water and it looks wierd... you can run over ice and its moving >.<

- Pinguin/Aman
Last edited by Aman/Pinguin on Wed Nov 21, 2007 12:45 pm, edited 1 time in total.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Possible to stop the water animations?

Post by DarthD.U.C.K. »

water properties:

Code: Select all

Effect("Water")
{
	// general parameters

	Tile(4.0,4.0);
	MainTexture("kam1_water_2");

	FoamTexture("kam1_water");
	FoamTile(5.0,5.0);

	// ocean parameters
	OceanEnable(1);
	WindDirection(0.2,1.0);
	WindSpeed(25.0);

	// water event parameters
	WaterRingColor(148, 170, 192,255);
	WaterWakeColor(192, 192, 192,255);
	WaterSplashColor((192, 192, 192,255);
i dont think so, its a matter of the engine
why someone use water, that isnt animated?
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Possible to stop the water animations?

Post by Aman/Pinguin »

DarthD.U.C.K. wrote:why someone use water, that isnt animated?
I wrote:Because in my map is frozen water and it looks wierd... you can run over ice and its moving >.<

- Pinguin/Aman
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: Possible to stop the water animations?

Post by trainmaster611 »

If you want to stop the waves in the water, you have to change these values to 0

Code: Select all

// ocean parameters
   OceanEnable(1);
   WindDirection(0.2,1.0);
   WindSpeed(25.0);
If you want to stop the little wave effect that comes out when a vehicle or a unit walks through the water, you have to edit that in the unit's ODF.

This is taken from the UTAT ODF.

Code: Select all

WaterEffect = "com_sfx_waterwake_lg"
Cancel that line and it will go away. I didn't see any such lines in the unit ODF though so I am guessing it may be hardcoded.

The best alternative is to just leave it as normal terrain and use an ice texture.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Possible to stop the water animations?

Post by Maveritchell »

It's not hardcoded for units either, it's just in the class parent .odfs (I think com_inf_default).
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Possible to stop the water animations?

Post by Aman/Pinguin »

cool thanks trainmaster :P Btw i put an invisible collision area over the whole water :p so no problem with units in it
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: Possible to stop the water animations?

Post by Taivyx »

What does the u vel and v vel values in zeroeditor do exactly?

Ace says they modify the waves, but what would happen if you increased or decreased the value?
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: Possible to stop the water animations?

Post by trainmaster611 »

Well I would think one value controls wavelength and the other one controls amplitude (waveheight).

I think the value I told Pinguin to change controls the frequency.
Post Reply