Page 1 of 1
Foilage question [Solved]
Posted: Sat Aug 21, 2010 6:52 pm
by darthtyren
Where do I put the prp file to make the foilage work?
Re: Foilage question
Posted: Sat Aug 21, 2010 7:02 pm
by TK432
Inside the data_***/Worlds/***/world1 folder
Re: Foilage question
Posted: Sat Aug 21, 2010 8:37 pm
by darthtyren
OK, that's where it was. But it didn't work.
Re: Foilage question
Posted: Sat Aug 21, 2010 8:49 pm
by AQT
Do you have all the files your .prp file calls for in their respective locations? (MSHs and TGAs go in the msh folder whereas ODFs go in the odf folder)
Re: Foilage question
Posted: Sun Aug 22, 2010 2:14 pm
by darthtyren
It doesn't call for a TGA, but I must have missed that. I'll see if that's the answer I need.
EDIT
It still doesn't work.
Re: Foilage question
Posted: Sun Aug 22, 2010 2:25 pm
by AQT
It's not working because simply you don't have everything. Open up the ODFs your .prp file calls for and look for the MSHs/TGAs it needs. Open up the MSHs that your .prp file references and search for the TGAs they use. Unless you haven't applied foliage to your map yet, that could be the problem. Or maybe you're applying the wrong unused layer(s)?
Re: Foilage question
Posted: Sun Aug 22, 2010 2:29 pm
by darthtyren
I have the editor_grasspatch, which doesn't have a TGA.
Re: Foilage question
Posted: Sun Aug 22, 2010 2:33 pm
by AQT
The texture it uses is determined by an ODF file(s) referenced by your .prp file. Do you have these ODFs in your odf folder?
Re: Foilage question
Posted: Sun Aug 22, 2010 2:36 pm
by darthtyren
The PRP says that I just need the one ODF: nab_prop_grass.odf
The ODF says that I just need the one MSH: editor_grasspatch.msh
The MSH doesn't have a specified TGA. I'll post the PRP code below.
Code: Select all
Layer(0)
{
SpreadFactor(0.1);
Mesh()
{
GrassPatch("nab_prop_grass.odf", 50);
File("editor_grasspatch.msh", 50);
Frequency(100);
Scale(1);
Stiffness(0.0);
}
}
Re: Foilage question
Posted: Sun Aug 22, 2010 2:42 pm
by AQT
nab_prop_grass.odf
TGA it calls for is
nab_grass. So were you getting black rectangles on your map before or plain nothing?
Re: Foilage question
Posted: Sun Aug 22, 2010 2:44 pm
by darthtyren
Black rectangles.
Can't find nab_grass.
Re: Foilage question
Posted: Sun Aug 22, 2010 2:52 pm
by AQT
Ah, so it works partially. There's a nab1_grass.tga in the SWBF1 Naboo world assets in the msh folder. You can rename it to nab_grass.tga if you want.
Re: Foilage question
Posted: Sun Aug 22, 2010 2:58 pm
by darthtyren
I don't have the Tools for BF1.
Re: Foilage question
Posted: Sun Aug 22, 2010 3:05 pm
by AQT
Oh, I just assumed you have the assets for SWBF1 because that .prp file doesn't appear to be anywhere in the SWBF2 assets. You'll just have to use a grass texture from Yavin or something then.
Re: Foilage question
Posted: Sun Aug 22, 2010 3:07 pm
by darthtyren
I tried. It didn't work.
Re: Foilage question
Posted: Sun Aug 22, 2010 3:11 pm
by AQT
Why isn't it working? What did you do? Did you find an appropiate Yavin grass texure, rename it to nab_grass.tga, and drop it in you world's msh folder or what?
Re: Foilage question
Posted: Sun Aug 22, 2010 3:23 pm
by darthtyren
Well... actually no. I'll try that. I hope it works.
EDIT
Success! Thank you, AQT.