In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.
Moderator: Moderators
SkinnyODST
Lieutenant Colonel
Posts: 545 Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:
Post
by SkinnyODST » Sun Jul 30, 2017 2:19 am
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
Marth8880
Resistance Leader
Posts: 5042 Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:
Post
by Marth8880 » Sun Jul 30, 2017 3:48 pm
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.
Teancum
Jedi Admin
Posts: 11079 Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana
Post
by Teancum » Sun Jul 30, 2017 9:27 pm
I believe the mod tools documentation cover this as well.
Marth8880
Resistance Leader
Posts: 5042 Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:
Post
by Marth8880 » Sun Jul 30, 2017 10:05 pm
Teancum wrote: I believe the mod tools documentation cover this as well.
Indeed - quite exhaustively, in fact.
SkinnyODST
Lieutenant Colonel
Posts: 545 Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:
Post
by SkinnyODST » Mon Jul 31, 2017 3:09 am
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
Marth8880
Resistance Leader
Posts: 5042 Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:
Post
by Marth8880 » Mon Jul 31, 2017 2:33 pm
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).
SkinnyODST
Lieutenant Colonel
Posts: 545 Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:
Post
by SkinnyODST » Tue Aug 01, 2017 3:41 am
Omg yes it works! Thanks for your help!! This will come in VERY handy.