SG.NLY_ASPIDE Posted September 11, 2007 Share Posted September 11, 2007 I must add the water or the sea to landescape who can explain to me how makes and that scripts must be inserted in the files custom_level_landscape.xml materials.xm l Quote Link to comment Share on other sites More sharing options...
Biro Posted September 11, 2007 Share Posted September 11, 2007 To set up the landscape in a pretty easy way, create a box in 3d max, that's going to be your water. Remember to have ground under it to make it look better. Setup the material and model files like this for example: Material file: <material name="surface" src="water_surface_projected_texture" decal_material="water"> <variable name="fade_out_depth" type="scalar" value="50"/> <variable name="water_depth_fog_start" type="scalar" value="-2000"/> <variable name="water_depth_fog_end" type="scalar" value="1100"/> <variable name="water_depth_fog_color" type="vector3" value="0.19 0.20 0.25"/> <reflection_texture file="cube_water" type="cubemap"/> </material> water_depth_fog_color - this controls the color of the water. Name the material surface in 3d max. Model file: <body editable="true" name="water" template="no_collision" ray="pass"> <object collision_type="mesh_mopp" hidden="false" name="water"/> </body> Call the water box for water in 3d max. Now it's just to export and you should have some water. Quote Link to comment Share on other sites More sharing options...
SG.NLY_ASPIDE Posted September 11, 2007 Author Share Posted September 11, 2007 thx thx thx thx i have insert water but 1 error in export list Export Done! ----------------------------------------------------------------- Warnings: waterbox: Failed test sphere_radius_vs_optimal_ratio(1.33016) < 1.1 - This mesh is not centered around its pivot. ----------------------------------------------------------------- No errors ----------------------------------------------------------------- landscape_water: vertices: 48875 triangles: 22836 vertices_per_tri: 2.14026 mapping_channels: -2 0 1 4 sphere_radius: 17709.7 optimal_sphere_radius: 17709.7 sphere_radius_vs_optimal_ratio: 1 waterbox: vertices: 24 triangles: 12 vertices_per_tri: 2 mapping_channels: 1 sphere_radius: 3187.13 optimal_sphere_radius: 2396.06 sphere_radius_vs_optimal_ratio: 1.33016 what is??? Quote Link to comment Share on other sites More sharing options...
Biro Posted September 11, 2007 Share Posted September 11, 2007 In 3d max, you have to se the pivot point to the center of the object. Go to your hierarchy tab and chose affect pivot only, after that go to alignment and set it to center of the object. Re-export and error is gone! Quote Link to comment Share on other sites More sharing options...
SG.NLY_ASPIDE Posted September 11, 2007 Author Share Posted September 11, 2007 yesssss alll ok thanks thanks thanks I only use 3dmax from 2 weeks and many things I do not know.... you are the best now i go to sleep because here in italy is 2 A.M hehehehehehehe Quote Link to comment Share on other sites More sharing options...
-Corax- Posted September 24, 2007 Share Posted September 24, 2007 (edited) The water texture also works with a standard 'plane' (planar) objects vs a 'box' object, so long as a 'pivot point' is below the water surface. Just in case you want to save polys. Edited September 24, 2007 by -Corax- Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.