Page 1 of 1

Foliage isn`t showing up ingame [Solved]

Posted: Sun Jul 30, 2017 2:19 am
by SkinnyODST
I read the foliage section of this thang https://sites.google.com/site/swbf2modt ... -EDIT-MODE and placed some foliage down but nothing shows up.
Here`s the odf of kas2_prop_bush, I`m attempting to make 2 kinds of bush show up, kas2 bush of course, and also yav_prop_bush. What am I doing wrong? Everything?
Thought so... I`m sorry but for a Yavin map, foliage is a vital thing I need to know how to do, and I just can`t seem to fully understand how to make it work
kas2_prop_bush odf
Hidden/Spoiler:
[code][GameObjectClass]

ClassLabel = "grasspatch"
GeometryName = "editor_prop_bush.msh"


[Properties]

MinSize = "1.6"
MaxSize = "1.9"
Alpha = "1.0"
NumParticles = "40"
MaxDistance = "30"
Texture = "kas_grass"
RadiusFadeMin = "3.0"
RadiusFadeMax = "5.0"
Height = "0.5"

DarknessMin = "1.0"
DarknessMax = "0.8"

MaxScatterBirds = "3"

Layer(0)

{

SpreadFactor(0.4);

Mesh()

{

File("kas2_prop_bush.msh", 30);

Frequency(20);

Scale(1);

Stiffness(0.0);

CollisionSound("foliage_collision");

ColorVariation(0.2);

}

Mesh()

{

File("yav_prop_bush.msh", 50);

Frequency(80);

Scale(1);

Stiffness(0.0);

CollisionSound("foliage_collision");

ColorVariation(0.2);

}

}
[/code]

Re: Foliage isn`t showing up ingame

Posted: Sun Jul 30, 2017 3:48 pm
by Marth8880

Code: Select all

Layer(0)
{
SpreadFactor(0.4);
      Mesh()
      {
      File("kas2_prop_bush.msh", 30);
      Frequency(20);
      Scale(1);
      Stiffness(0.0);
      CollisionSound("foliage_collision");
      ColorVariation(0.2);
      }
      Mesh()
      {
      File("yav_prop_bush.msh", 50);
      Frequency(80);
      Scale(1);
      Stiffness(0.0);
      CollisionSound("foliage_collision");
      ColorVariation(0.2);
      }
}
This goes in your world's PRP file, not the foliage's ODF file.

Re: Foliage isn`t showing up ingame

Posted: Sun Jul 30, 2017 9:27 pm
by Teancum
I believe the mod tools documentation cover this as well.

Re: Foliage isn`t showing up ingame

Posted: Sun Jul 30, 2017 10:05 pm
by Marth8880
Teancum wrote:I believe the mod tools documentation cover this as well.
Indeed - quite exhaustively, in fact.

Re: Foliage isn`t showing up ingame

Posted: Mon Jul 31, 2017 3:09 am
by SkinnyODST
Where exactly is this illusive PRP file? Is it in the world1 folder? Because I can`t find it there. Yes I know I`m an idiot, I don`t know why foliage is so hard for me to understand but it is

Re: Foliage isn`t showing up ingame

Posted: Mon Jul 31, 2017 2:33 pm
by Marth8880
The PRP file goes in your world1 folder, yes. If it does not exist, create it or copy one from one of the stock worlds (such as Endor).

Re: Foliage isn`t showing up ingame

Posted: Tue Aug 01, 2017 3:41 am
by SkinnyODST
Omg yes it works! Thanks for your help!! This will come in VERY handy.