smoot178 Posted December 20, 2008 Share Posted December 20, 2008 Can anyone make heads or tails of the water.dat file? Link to comment Share on other sites More sharing options...
DexX Posted December 20, 2008 Share Posted December 20, 2008 Moved to IV modding. Link to comment Share on other sites More sharing options...
rebel_36 Posted December 20, 2008 Share Posted December 20, 2008 just coords for where the game should render water, i guess Link to comment Share on other sites More sharing options...
JKM Posted December 20, 2008 Share Posted December 20, 2008 (edited) yes seems to be the same thing used in SA too... x,y,z param1, param2, param3, param4... only the last part of the line has 2 more parameters # 1 --- 3# /# /# /# 2 --- 4 Now i will look ingame what does the parameters do^^ Edited December 20, 2008 by JKM Link to comment Share on other sites More sharing options...
kreig12 Posted December 20, 2008 Share Posted December 20, 2008 I was thinking about the water levels today, it would be fun to see how everything reacts to streets filled with water in the new engine Link to comment Share on other sites More sharing options...
alecto123 Posted December 21, 2008 Share Posted December 21, 2008 Tried replacing the file with a solitary zero and no water is rendered, unfortunately there's no collision detection once you get a few meters from the shore and you fall through, probably because you can't dive under in 4. Link to comment Share on other sites More sharing options...
JKM Posted December 21, 2008 Share Posted December 21, 2008 yes its true.... did the same for me... now im playing with the parameters.... just tried to cahnge the two last parameters... i mean param5 and param6 which is only defined at the end of each face (line).... for param5 there are the values 5,8,9,13 which will be used by the game... any number under 4 like 3 2 1 seems to hide the water... so there is nothing in there... 4 will make the water invisible... but there are waves and particle effects but no reflection. so nico is able to swim here. 5 stands for visible water with height waves... 8 and 9 didn't change anything... the water is invisible... and 13 stands for visible water with no waves.... so its like a sea or something else... then you can use param6 for the final tuning.... so you can realize some small waves with it... Only param 5 is an Integer... the other values are from 0 till 1.0... but i dont know what willl happen if i will play with param1, param2, param3 and param4... this i will see tomorrow^^ Link to comment Share on other sites More sharing options...
chin Posted December 21, 2008 Share Posted December 21, 2008 yes its true.... did the same for me... now im playing with the parameters....just tried to cahnge the two last parameters... i mean param5 and param6 which is only defined at the end of each face (line).... for param5 there are the values 5,8,9,13 which will be used by the game... any number under 4 like 3 2 1 seems to hide the water... so there is nothing in there... 4 will make the water invisible... but there are waves and particle effects but no reflection. so nico is able to swim here. 5 stands for visible water with height waves... 8 and 9 didn't change anything... the water is invisible... and 13 stands for visible water with no waves.... so its like a sea or something else... then you can use param6 for the final tuning.... so you can realize some small waves with it... Only param 5 is an Integer... the other values are from 0 till 1.0... but i dont know what willl happen if i will play with param1, param2, param3 and param4... this i will see tomorrow^^ How to set to flood effect? Link to comment Share on other sites More sharing options...
Alexander Blade Posted December 21, 2008 Share Posted December 21, 2008 there was one 3dsmax script for SA - WATER IO , it works fully with IV too ... i hope ... Link to comment Share on other sites More sharing options...
flyer2359 Posted December 21, 2008 Share Posted December 21, 2008 Well hopefully we can all get this working properly I will try some modifications later too Link to comment Share on other sites More sharing options...
JKM Posted December 21, 2008 Share Posted December 21, 2008 there was one 3dsmax script for SA - WATER IO , it works fully with IV too ... i hope ... not exactly... the surfaces will be displayed fine... but theres a little change in the end of each line... there is one more parameter in each end of a line... and the previous parameter has other settings i explained before.. but should be easy to edit those max scripts Link to comment Share on other sites More sharing options...
the hubster Posted December 21, 2008 Share Posted December 21, 2008 So i replaced the file with a single area of water covering the whole map, sort of worked. The Z coord parameter seems to be ignored, i have water at normal level in the sea, no water in the lake in middle park. Link to comment Share on other sites More sharing options...
JKM Posted December 21, 2008 Share Posted December 21, 2008 So i replaced the file with a single area of water covering the whole map, sort of worked. The Z coord parameter seems to be ignored, i have water at normal level in the sea, no water in the lake in middle park. z-coordinate can't be ignored.... cause they are used in gta4... ill give a try now Link to comment Share on other sites More sharing options...
alecto123 Posted December 21, 2008 Share Posted December 21, 2008 So i replaced the file with a single area of water covering the whole map, sort of worked. The Z coord parameter seems to be ignored, i have water at normal level in the sea, no water in the lake in middle park. could you upload or paste the contents of the file? Link to comment Share on other sites More sharing options...
JKM Posted December 21, 2008 Share Posted December 21, 2008 3000.0 -3000.0 0.0 0.0 0.0 0.0 0.0 -3000.0 -3000.0 0.0 0.0 0.0 0.0 0.0 3000.0 3000.0 0.0 0.0 0.0 0.0 0.0 -3000.0 3000.0 0.0 0.0 0.0 0.0 0.0 13 0.0 Link to comment Share on other sites More sharing options...
the hubster Posted December 21, 2008 Share Posted December 21, 2008 Replacing with one plane of water also cut my FPS in half, looks like there is no occlusion on water behind objects. Link to comment Share on other sites More sharing options...
johnlee Posted December 23, 2008 Share Posted December 23, 2008 3000.0 -3000.0 0.0 0.0 0.0 0.0 0.0 -3000.0 -3000.0 0.0 0.0 0.0 0.0 0.0 3000.0 3000.0 0.0 0.0 0.0 0.0 0.0 -3000.0 3000.0 0.0 0.0 0.0 0.0 0.0 13 0.0 doesn't work, won't flood! Link to comment Share on other sites More sharing options...
flyer2359 Posted December 23, 2008 Share Posted December 23, 2008 I've been trying for a day straight and still can't get the water to rise, I will try editing shorelines and see what that does Link to comment Share on other sites More sharing options...
flyer2359 Posted December 23, 2008 Share Posted December 23, 2008 I've been trying for a day straight and still can't get the water to rise, I will try editing shorelines and see what that does Nvm don't try it game only crashes >.< Link to comment Share on other sites More sharing options...
johnlee Posted December 23, 2008 Share Posted December 23, 2008 I've been trying for a day straight and still can't get the water to rise, I will try editing shorelines and see what that does Nvm don't try it game only crashes >.< i can get water dissappear but not rise!!! help! Link to comment Share on other sites More sharing options...
johnlee Posted December 23, 2008 Share Posted December 23, 2008 I dis it!!! FLOOD! NOAH's ARC = the NEW LC pics below Link to comment Share on other sites More sharing options...
flyer2359 Posted December 23, 2008 Share Posted December 23, 2008 I dis it!!! FLOOD! NOAH's ARC = the NEW LC pics below WOAH!!! How did you do that? It looks awesome!! Link to comment Share on other sites More sharing options...
FunGt Posted December 23, 2008 Share Posted December 23, 2008 OMG DONT QUOTE IMAGES. Anyway, tell us how did you do it lol its awesome. Link to comment Share on other sites More sharing options...
spaceeinstein Posted December 23, 2008 Share Posted December 23, 2008 Just set the Z coordinate to a higher level. Nothing difficult. 3000.0 -3000.0 0.0 0.0 0.0 0.0 0.0 -3000.0 -3000.0 0.0 0.0 0.0 0.0 0.0 3000.0 3000.0 0.0 0.0 0.0 0.0 0.0 -3000.0 3000.0 0.0 0.0 0.0 0.0 0.0 13 0.0 His original post so I'm guessing the number after each 3000 is the Z coordinate. Link to comment Share on other sites More sharing options...
johnlee Posted December 23, 2008 Share Posted December 23, 2008 Link to comment Share on other sites More sharing options...
flyer2359 Posted December 23, 2008 Share Posted December 23, 2008 (edited) http://i550.photobucket.com/albums/ii406/j...16-16-01-29.jpg http://i550.photobucket.com/albums/ii406/j...16-16-19-60.jpg http://i550.photobucket.com/albums/ii406/j...16-17-04-60.jpg http://i550.photobucket.com/albums/ii406/j...16-17-23-64.jpg http://i550.photobucket.com/albums/ii406/j...16-19-05-73.jpg http://i550.photobucket.com/albums/ii406/j...16-19-03-51.jpg http://i550.photobucket.com/albums/ii406/j...16-17-45-09.jpg Please tell us what you did to get this or post your water.dat up somewhere Edited December 24, 2008 by GTA3Freak-2001 Link to comment Share on other sites More sharing options...
chin Posted December 23, 2008 Share Posted December 23, 2008 I dis it!!! FLOOD! NOAH's ARC = the NEW LC pics below http://i550.photobucket.com/albums/ii406/j...15-52-56-81.jpg http://i550.photobucket.com/albums/ii406/j...15-53-06-20.jpg http://i550.photobucket.com/albums/ii406/j...15-53-41-68.jpg http://i550.photobucket.com/albums/ii406/j...15-54-02-82.jpg http://i550.photobucket.com/albums/ii406/j...15-54-16-20.jpg How to set it Link to comment Share on other sites More sharing options...
chin Posted December 23, 2008 Share Posted December 23, 2008 Just set the Z coordinate to a higher level. Nothing difficult. 3000.0 -3000.0 0.0 0.0 0.0 0.0 0.0 -3000.0 -3000.0 0.0 0.0 0.0 0.0 0.0 3000.0 3000.0 0.0 0.0 0.0 0.0 0.0 -3000.0 3000.0 0.0 0.0 0.0 0.0 0.0 13 0.0 His original post so I'm guessing the number after each 3000 is the Z coordinate. 兄弟混游侠吗? Link to comment Share on other sites More sharing options...
flyer2359 Posted December 23, 2008 Share Posted December 23, 2008 I really hope he tells us how to do this here soon Link to comment Share on other sites More sharing options...
rebel_36 Posted December 23, 2008 Share Posted December 23, 2008 i feel like quoting everyones post on this page but id get banned im afraid Link to comment Share on other sites More sharing options...
Recommended Posts