I recently noticed that swbfcustom was void of a tutorial for foliage
so i though i should write one to help future and currenty people with adding foliage
adding foliage is easy lets say you want to add the rock's from geonosis as
your foliage
-search for and open geo.prp with notepad of some sort (in geo's world1 folder)
- once you got it copy this:
------------------------------------------------------
- Code:
-
Layer(0)
{
SpreadFactor(0.2);
Mesh()
{
File("geo_prop_flatrocks.msh", 40);
Frequency(30);
Scale(1);
Stiffness(0.0);
UseCollision();
}
Mesh()
{
File("geo_prop_flatrocks_2.msh", 30);
Frequency(70);
Scale(1.0);
Stiffness(0.0);
}
Layer(1)
{
SpreadFactor(0.3);
Mesh()
{
GrassPatch("geo_prop_pebble.odf", 30);
File("editor_prop_bush.msh", 30);
Frequency(100);
Scale(1);
Stiffness(0.0);
}
}
}
---------------------------------------------------
from it into another notepad now you can add another layer of rocks if you want,
by the below adding you can add 3 more layers five layers total
------------------------------------------------
Layer(2,3 or 4 )
- Code:
-
{
SpreadFactor(0.3); <----- controls how spread out they are
Mesh()
{
GrassPatch("geo_prop_pebble.odf", 30); <----- odf file for the foilage
File("editor_prop_bush.msh", 30);<----- the msh for the foilage
Frequency(100);<----- how frequent they appear( if you have more than one msh in you layer) if not leave it at 100
Scale(1);<----- how big they are
Stiffness(0.0);<----- amount of collison they have
}
---------------------------------------------------
now click SAVE AS and type in ABC.prp <----- change abc to your three letter world name
now drop ABC.prp into the world1 folder
and now open up ZE and click on the Foliage tab
and paint accordingly and change the layers to change it up
there you go