Page 1 of 1

How to create a water-block?

PostPosted: 09.06.2015, 04:41
by Florenius
Hey there,

I saw in RPG the water-blocks. I want to create a big block like this but can't find the material. Only in Vakkey "Lake", but that is the underground of the water.

How to create? :)

Thanks,
Florenzius

Re: How to create a water-block?

PostPosted: 09.06.2015, 09:13
by maxi031
Go to location where you extracted Nadeo Importer and find and open file NadeoImporterMaterialLib.txt.
Than locate DLibrary(Valley) line and under it make some free lines and add this text:
DMaterial(Water)
DSurfaceId (Water)


Save file and now you should be able to use this this water material as in-game material in your mesh-param xml file.

Re: How to create a water-block?

PostPosted: 09.06.2015, 16:11
by Florenius
Hey! Thank you for your fast answer. Must it looks so?

Image

I use Blender. Must the material call "Water" or "DSurfaceID" or "DMaterial"? I'm a noob in this theme^^

Need i a lightmap or basematerial?

Re: How to create a water-block?

PostPosted: 09.06.2015, 16:27
by skyslide
Surface is the block physik , example metal , dirt gras and sand (island) or notcollidable
Material is the texture > waterphysik doen't work in stadium , in valley idk

DSurfaceId (NotCollidable)
DMaterial (Water)

You need 1 UV Map - LightMap

Name of the material in blender should be Water or sth if edit your xml , use the default ^^

Re: How to create a water-block?

PostPosted: 09.06.2015, 16:54
by Florenius
Oh, thanks guys! It works :)

Re: How to create a water-block?

PostPosted: 09.06.2015, 17:09
by Florenius
I have some problem: The car is in the ugliest resolution if you look at it and it's in the water.

Look here:

Image

not only in the night, in the day too. I don't created a light-map. It's not needed.

How to make it better?

Re: How to create a water-block?

PostPosted: 09.06.2015, 18:14
by maxi031
You can't. That is how water material looks in that title pack.

Re: How to create a water-block?

PostPosted: 09.06.2015, 18:28
by Florenius
Ok, thank you ;)

How to create a water-block? Failed in Stadium, please help!

PostPosted: 31.07.2015, 07:38
by Florenius
Hey, i created a qube in blender, created a lightmap and called the material water. In nadeo-importer i changed from valley to stadium and before i added this paragraph in the materiallib.txt

Image

Problem:

Image

Please help

Re: How to create a water-block?

PostPosted: 31.07.2015, 10:11
by skyslide
Try StadiumWater

stadiumwater.PNG

Re: How to create a water-block?

PostPosted: 01.08.2015, 06:15
by Florenius
Image
Image

Thanks anyway. I try to reinstall the importer - please can you send me your lib-file? Thank you :(

Re: How to create a water-block?

PostPosted: 01.08.2015, 14:14
by skyslide

Re: How to create a water-block?

PostPosted: 01.08.2015, 15:14
by Florenius
Oh, nice, i don't know why, but now it works ;) thanks

Re: How to create a water-block?

PostPosted: 01.08.2015, 16:25
by skyslide
You need Uv-Maps ...
water , dirt and gras need only the lightmap
add a singleface and use a transparency space from StadiumDirtGrid (StadiumFence)
this materials needs another material for shadowcalculate , without game crashed :P