SWBF CUSTOM

The best way to custom your games.
 
HomeFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 [FAQ]How to add foilage

View previous topic View next topic Go down 
AuthorMessage
Acryptozoo
Clone Trooper Lieutenant
Clone Trooper Lieutenant
avatar

Messages : 145
Registration Date : 2010-05-11
Age : 23
Location : fighting the empire

PostSubject: [FAQ]How to add foilage   7/10/2011, 1:21 pm

I recently noticed that swbfcustom was void of a tutorial for foliage
so i though i should write one to help future and currenty people with adding foliage
adding foliage is easy lets say you want to add the rock's from geonosis as
your foliage
-search for and open geo.prp with notepad of some sort (in geo's world1 folder)
- once you got it copy this:
------------------------------------------------------
Code:
Layer(0)
{
   SpreadFactor(0.2);
    Mesh()
   {
      File("geo_prop_flatrocks.msh", 40);
      Frequency(30);
      Scale(1);
      Stiffness(0.0);
      UseCollision();
   }
    Mesh()
   {
      File("geo_prop_flatrocks_2.msh", 30);
      Frequency(70);
      Scale(1.0);
      Stiffness(0.0);
   }
Layer(1)
   {
      SpreadFactor(0.3);
      Mesh()
      {
         GrassPatch("geo_prop_pebble.odf", 30);
         File("editor_prop_bush.msh", 30);
         Frequency(100);
         Scale(1);
         Stiffness(0.0);
      }
   }
}
---------------------------------------------------
from it into another notepad now you can add another layer of rocks if you want,
by the below adding you can add 3 more layers five layers total
------------------------------------------------
Layer(2,3 or 4 )
Code:
   {
      SpreadFactor(0.3); <-----  controls  how spread out they are
       Mesh()
      {
         GrassPatch("geo_prop_pebble.odf", 30); <----- odf file for the foilage
         File("editor_prop_bush.msh", 30);<----- the msh for the foilage
         Frequency(100);<----- how frequent they appear( if you have more than one msh in you layer) if not leave it at 100
         Scale(1);<----- how big they are
         Stiffness(0.0);<----- amount of collison they have
      }
---------------------------------------------------
now click SAVE AS and type in ABC.prp <----- change abc to your three letter world name
now drop ABC.prp into the world1 folder

and now open up ZE and click on the Foliage tab
and paint accordingly and change the layers to change it up
there you go Siflotter
Back to top Go down
View user profile
Lephenix
Scout Trooper Sergeant
Scout Trooper Sergeant
avatar

Messages : 833
Registration Date : 2010-05-05
Age : 22

PostSubject: Re: [FAQ]How to add foilage   7/10/2011, 2:00 pm

Excellent, FAQed Dance
Back to top Go down
View user profile http://lephenixbeginnings.blogspot.fr/
RevanSithLord
Scout Trooper Commander
Scout Trooper Commander
avatar

Messages : 964
Registration Date : 2010-08-21
Age : 27
Location : The good 'ol United States of America, Iowa Great Lakes region

PostSubject: Re: [FAQ]How to add foilage   7/11/2011, 4:37 pm

Thanks for that. Because I think I've screwed up on making one for Sky's junk props. Been wanting to add them as foliage. Made the .prp file from what I've read and when I place the brush and try to test it out in-game, I'd crash for some reason. And of course, been wanting variety on his junk props as well, so....I dunno. I've been kinda stuck on that for a bit.
Back to top Go down
View user profile http://www.loadedandplay.com
Acryptozoo
Clone Trooper Lieutenant
Clone Trooper Lieutenant
avatar

Messages : 145
Registration Date : 2010-05-11
Age : 23
Location : fighting the empire

PostSubject: Re: [FAQ]How to add foilage   7/11/2011, 5:58 pm

Revan Sith Lord wrote:
Thanks for that. Because I think I've screwed up on making one for Sky's junk props. Been wanting to add them as foliage. Made the .prp file from what I've read and when I place the brush and try to test it out in-game, I'd crash for some reason. And of course, been wanting variety on his junk props as well, so....I dunno. I've been kinda stuck on that for a bit.

post your .prp ill see what i can do Dance
Back to top Go down
View user profile
RevanSithLord
Scout Trooper Commander
Scout Trooper Commander
avatar

Messages : 964
Registration Date : 2010-08-21
Age : 27
Location : The good 'ol United States of America, Iowa Great Lakes region

PostSubject: Re: [FAQ]How to add foilage   7/12/2011, 5:29 am

Acryptozoo wrote:
Revan Sith Lord wrote:
Thanks for that. Because I think I've screwed up on making one for Sky's junk props. Been wanting to add them as foliage. Made the .prp file from what I've read and when I place the brush and try to test it out in-game, I'd crash for some reason. And of course, been wanting variety on his junk props as well, so....I dunno. I've been kinda stuck on that for a bit.

post your .prp ill see what i can do Dance

I probably did it wrong. xD Like I did it like 5 different ways. I probably like....I dunno, I'll PM you my current one sometime soon.
Back to top Go down
View user profile http://www.loadedandplay.com
Sponsored content




PostSubject: Re: [FAQ]How to add foilage   

Back to top Go down
 

[FAQ]How to add foilage

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
SWBF CUSTOM :: Star Wars Battlefront Games :: Modding-