PDA

View Full Version : Painting New Layers[Terrain] Help?



Dekrayzis
11-22-2007, 10:17 AM
For the last 3 hours i've been trying to get a new terrain material to show up ontop of the base layer, but not having much luck.

Has anyone found out how to do it?

CiS
11-22-2007, 02:05 PM
humpity bump bump.

Funkenstein
11-22-2007, 06:22 PM
Hmm. Ive been trying this as well. Seems like I can spawn the speedtree static meshes using a deco layer in the terrain editor but now im stuck at the same place as you.
Im not sure how well you knew the old editor but maybe something from there could help you.
http://udn.epicgames.com/Two/TerrainTutorial.html
I havent went through that all the way to see if anything might help me figure it out but maybe there is something in there that my help

Dekrayzis
11-22-2007, 06:37 PM
The old editor is totally different to the new one, so the tutorial is useless for adding additional terrain texture layers.

Funkenstein
11-22-2007, 10:42 PM
Try this link.
http://www.veoh.com/videos/v1457807GDKsCrWG
Its using the GoW terrain editor

Dekrayzis
11-22-2007, 10:53 PM
I've already done what is shown in that tutorial.
I need a new material layer to work above the 1st material.
but for some reason its just not painting on top of it.

DGUnreal
11-23-2007, 09:01 PM
Painting on terrain requires a separate individual TLS and not a Procedural TLS.
Create a new TerrainLayerSetup, set the TerrainMaterial you want for it, add it to the Layers array in the Terrain actor properties. Make sure that it is a higher array index, ie. Layer [1] is rendered on top of Layer [0].
Select the Layer in the TerrainEdit dialog and paint away.
If you cannot paint properly after adding the second TLS (nothing happens), save your map, exit and restart UnrealEd and see if you can paint then.

Funkenstein
11-23-2007, 10:12 PM
DG would you know hot to use speedtree? Is it in the terrain editor?

I made a new TLS and created a deco layer and assigned a speedtree SM to it but im unable to paint it on. DO you know what im missing?

DGUnreal
11-23-2007, 10:50 PM
In the Terrain actor properties for the DecoLayers array did you set the "Decoration Factory" to "SpeedTreeComponentFactory"? Then assign the "SpeedTree" property of the factory to a SpeedTree object in the Generic Browser?
Be sure to set the rest of the DecoLayer properties appropriately for Scale and Density etc.
If so, you should be able to go to the TerrainEdit dialog, choose that Layer and start painting them in.

Funkenstein
11-23-2007, 11:37 PM
Sweet I got it working. Thanks for the info!

Dekrayzis
11-24-2007, 12:07 AM
thanks for the info DGUnreal. I shall check it out in the morning. :)