Page 1 of 1

Water Height [Solved]

Posted: Tue Oct 26, 2010 6:51 am
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.

Re: Water Height

Posted: Tue Oct 26, 2010 8:49 am
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).

Re: Water Height

Posted: Tue Oct 26, 2010 9:04 am
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:

Re: Water Height

Posted: Tue Oct 26, 2010 2:29 pm
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.

Re: Water Height

Posted: Tue Oct 26, 2010 4:14 pm
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.

Re: Water Height

Posted: Tue Oct 26, 2010 6:17 pm
by poop
Oh, sorry.

Re: Water Height

Posted: Tue Oct 26, 2010 8:38 pm
by Press_Tilty
To clarify, you're trying to make water a different levels each time it loads?

Re: Water Height

Posted: Wed Oct 27, 2010 1:42 am
by [TFA]Padawan_Fighter
I'm not sure if water level can be randomized.

Re: Water Height

Posted: Wed Oct 27, 2010 1:54 am
by Sky_216
Ah nvm, found it, its in the terrain file.

@Staff: this can be locked.