Page 1 of 1
Foliage problem
Posted: Wed Apr 28, 2010 1:15 pm
by Darth_Spiderpig
Again I seek to be iluminated, I wanted to change the msh of the naboo foliage to Sky's desert grass model, so i opened my ***.prp and changed the File
Ingame it now just have the single grass parts lying around.
I have the stock naboo grass/grass_close odf for it, anyone know what could be wrong?
EDIT:
That is what I mean.
Re: Foliage problem
Posted: Wed Apr 28, 2010 2:28 pm
by Maveritchell
Post a screenshot of both the stock texture and your new texture. Post the .odf of the grass you are using.
Re: Foliage problem
Posted: Wed Apr 28, 2010 2:34 pm
by Darth_Spiderpig
No need, got it all working.
All I did in the .prp was changing this
Code: Select all
Layer(0)
{
SpreadFactor(0.3);
Mesh()
{
GrassPatch("GRASS.odf", 60);
File("NEWMODEL.msh", 50);
Frequency(100);
Scale(1);
Stiffness(0.0);
CollisionSound("foliage_collision");
}
to this
Code: Select all
Layer(0)
{
SpreadFactor(0.4);
Mesh()
{
File("NEWMODEL.msh", 30);
Frequency(20);
Scale(2);
Stiffness(0.0);
CollisionSound("foliage_collision");
ColorVariation(0.2);
AIVisibilityFactor(0.7,1.0);
}
}
Thanks for trying to help anyway, Mav.
I really appreciate it.

Re: Foliage problem
Posted: Thu Apr 29, 2010 6:21 am
by lucasfart
Try changing stifness to 1.0, and is that mesh named right? Because unless its a custom msh/renamed msh, there's no need to change the name...
Re: Foliage problem
Posted: Thu Apr 29, 2010 9:56 am
by Darth_Spiderpig
Darth_Spiderpig wrote:No need, got it all working.
;D
It was no stock msh btw,
Darth_Spiderpig wrote:I wanted to change the msh of the naboo foliage to Sky's desert grass model

Re: Foliage problem
Posted: Fri Apr 30, 2010 3:44 am
by lucasfart
Oops

Sorry about that lol, didn't read your last post