Foilage question [Solved]
Moderator: Moderators
- darthtyren
- Chief Warrant Officer

- Posts: 345
- Joined: Mon Dec 29, 2008 3:41 pm
- Projects :: RotS [Media section for details]
- Location: C:\BF2_ModTools\data_DEN
- Contact:
Foilage question [Solved]
Where do I put the prp file to make the foilage work?
- TK432
- 2nd Lieutenant

- Posts: 408
- Joined: Tue May 26, 2009 4:18 pm
- Location: Somewhere far away
Re: Foilage question
Inside the data_***/Worlds/***/world1 folder
- darthtyren
- Chief Warrant Officer

- Posts: 345
- Joined: Mon Dec 29, 2008 3:41 pm
- Projects :: RotS [Media section for details]
- Location: C:\BF2_ModTools\data_DEN
- Contact:
Re: Foilage question
OK, that's where it was. But it didn't work.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Foilage question
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)
- darthtyren
- Chief Warrant Officer

- Posts: 345
- Joined: Mon Dec 29, 2008 3:41 pm
- Projects :: RotS [Media section for details]
- Location: C:\BF2_ModTools\data_DEN
- Contact:
Re: Foilage question
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.
EDIT
It still doesn't work.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Foilage question
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)?
- darthtyren
- Chief Warrant Officer

- Posts: 345
- Joined: Mon Dec 29, 2008 3:41 pm
- Projects :: RotS [Media section for details]
- Location: C:\BF2_ModTools\data_DEN
- Contact:
Re: Foilage question
I have the editor_grasspatch, which doesn't have a TGA.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Foilage question
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?
- darthtyren
- Chief Warrant Officer

- Posts: 345
- Joined: Mon Dec 29, 2008 3:41 pm
- Projects :: RotS [Media section for details]
- Location: C:\BF2_ModTools\data_DEN
- Contact:
Re: Foilage question
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.
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);
}
}-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Foilage question
nab_prop_grass.odf
TGA it calls for is nab_grass. So were you getting black rectangles on your map before or plain nothing?
Hidden/Spoiler:
- darthtyren
- Chief Warrant Officer

- Posts: 345
- Joined: Mon Dec 29, 2008 3:41 pm
- Projects :: RotS [Media section for details]
- Location: C:\BF2_ModTools\data_DEN
- Contact:
Re: Foilage question
Black rectangles.
Can't find nab_grass.
Can't find nab_grass.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Foilage question
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.
- darthtyren
- Chief Warrant Officer

- Posts: 345
- Joined: Mon Dec 29, 2008 3:41 pm
- Projects :: RotS [Media section for details]
- Location: C:\BF2_ModTools\data_DEN
- Contact:
Re: Foilage question
I don't have the Tools for BF1.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Foilage question
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.
- darthtyren
- Chief Warrant Officer

- Posts: 345
- Joined: Mon Dec 29, 2008 3:41 pm
- Projects :: RotS [Media section for details]
- Location: C:\BF2_ModTools\data_DEN
- Contact:
Re: Foilage question
I tried. It didn't work.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Foilage question
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?
- darthtyren
- Chief Warrant Officer

- Posts: 345
- Joined: Mon Dec 29, 2008 3:41 pm
- Projects :: RotS [Media section for details]
- Location: C:\BF2_ModTools\data_DEN
- Contact:
Re: Foilage question
Well... actually no. I'll try that. I hope it works.
EDIT
Success! Thank you, AQT.
EDIT
Success! Thank you, AQT.
