Water Height [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
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Water Height [Solved]

Post by Sky_216 »

Anyone know what file for a world contains the water height? It's not in the .fx file, it doesn't seem to be in the .world file either.
Reason I'd like to know is I'm remaking a map of mine to have "tides" - so randomly played at high tide (fight on bridges between pylon houses) or low tide (fight on the rock platforms/gravel flats under them).
I've got all the random thing sorted out so far (different .fx, .pln., .bar, layers, .prp), just need to find whatever controls the water height.
User avatar
linksith
Command Sergeant Major
Command Sergeant Major
Posts: 284
Joined: Mon Jul 12, 2010 12:19 pm
Projects :: Waaay too many projects
Games I'm Playing :: too many
xbox live or psn: me has no xbox
Location: looking for a wifi connection

Re: Water Height

Post by linksith »

I think water height is controlled in Zero Editor. Bad thing about it is you can only have one water height. To get the "tide" effect you may need to look at water from other worlds and get the one the would best fit. If you don't find one you'll probably need to change the fx file (which I'm not sure how to do that yet).
theultimat
Lieutenant General
Lieutenant General
Posts: 679
Joined: Sun Apr 13, 2008 1:39 pm
Location: UK

Re: Water Height

Post by theultimat »

I opened the .TER file from Dagobah up in a Hex Editor, and it has a reference to the water texture used, so I would say it's in there. I tried loading it up in notepad, but it was taking ages. But that's my best guess. :wink:
User avatar
poop
Private
Posts: 44
Joined: Wed Sep 22, 2010 5:07 pm
Projects :: Code Zero
Location: Wynfield Circle

Re: Water Height

Post by poop »

(From FAQ topic BF2 Limitations)(MasterSaitek009 wrote:)
•Water can only be painted on one height level in ZeroEditor (ex: no pond up high and lake down low)



As far as I know water can only be painted on one level. I'm not sure if it's hardcoded or if no one has figured it out. As for tides, you might just want to add a mode and change the placement of objects around the water to make it seem like the tide is different.
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
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 Height

Post by Sky_216 »

poop wrote:(From FAQ topic BF2 Limitations)(MasterSaitek009 wrote:)
•Water can only be painted on one height level in ZeroEditor (ex: no pond up high and lake down low)



As far as I know water can only be painted on one level. I'm not sure if it's hardcoded or if no one has figured it out. As for tides, you might just want to add a mode and change the placement of objects around the water to make it seem like the tide is different.
Guys, that was not the question. The question was "in which file is water height contained". The goal is to have it only at one level, but randomly at a high or low level.

@theultimat: hmm, thanks, I'll try that.
User avatar
poop
Private
Posts: 44
Joined: Wed Sep 22, 2010 5:07 pm
Projects :: Code Zero
Location: Wynfield Circle

Re: Water Height

Post by poop »

Oh, sorry.
Press_Tilty
Chief Warrant Officer
Chief Warrant Officer
Posts: 331
Joined: Fri Jun 04, 2010 10:57 pm
Projects :: Korsava IV - Pre WIP
Games I'm Playing :: MW2-Reach-BF2
Location: Seattle Area

Re: Water Height

Post by Press_Tilty »

To clarify, you're trying to make water a different levels each time it loads?
User avatar
[TFA]Padawan_Fighter
High General
High General
Posts: 806
Joined: Wed Mar 25, 2009 3:37 pm
Projects :: Ha - as if I will ever get back to them
Games I'm Playing :: SWBF2 ARK EliteDngrs
xbox live or psn: No gamertag set
Location: Lost at sea

Re: Water Height

Post by [TFA]Padawan_Fighter »

I'm not sure if water level can be randomized.
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
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 Height

Post by Sky_216 »

Ah nvm, found it, its in the terrain file.

@Staff: this can be locked.
Post Reply