Foliage problem [Solved]

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

Post Reply
LEO
First Lance Corporal
First Lance Corporal
Posts: 130
Joined: Tue Nov 20, 2012 5:06 pm
Projects :: Map_for_swbf2
Games I'm Playing :: Swbf2
xbox live or psn: No gamertag set

Foliage problem [Solved]

Post by LEO »

Hey Guys i've got an foliage problem

Mr. MungeLog:

Code: Select all

ERROR[levelpack EAR.req]:Unexpected end of file while searching for closing bracket.
File : munged\pc\ear.prop.req(10)...
ERROR[levelpack EAR.req]:Unexpected end of file while searching for closing bracket.
File : munged\pc\ear.prop.req(10)...
 [continuing]
   2 Errors    0 Warnings

ERROR[levelpack EAR.req]:Unexpected end of file while searching for closing bracket.
File : munged\pc\ear.prop.req(10)...
ERROR[levelpack EAR.req]:Unexpected end of file while searching for closing bracket.
File : munged\pc\ear.prop.req(10)...
 [continuing]
   2 Errors    0 Warnings
Can anyone help??

Edit:
The Grass is untextured visible in the Editor. But I placed the Texture in the msh folder.
CressAlbane
Master Bounty Hunter
Master Bounty Hunter
Posts: 1519
Joined: Fri Dec 18, 2009 8:02 am
Projects :: CTF Arenas
Games I'm Playing :: Steam- cressalbane2
Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı

Re: Foliage

Post by CressAlbane »

Looks like you may have a missing bracket in your .prp file. Would you mind posting it? And grass is supposed to be untextured in the editor, as it uses a special .msh for the editor called editor_grasspatch.
LEO
First Lance Corporal
First Lance Corporal
Posts: 130
Joined: Tue Nov 20, 2012 5:06 pm
Projects :: Map_for_swbf2
Games I'm Playing :: Swbf2
xbox live or psn: No gamertag set

Re: Foliage

Post by LEO »

Code: Select all

Layer(0)
   {
      SpreadFactor(0.3);
      Mesh()
      {
         GrassPatch("yav_prop_grass.odf", 30);
         File("editor_grasspatch.msh", 30);
         Frequency(100);
         Scale(1);
         Stiffness(0.0);
      }
   }
} Thats the F***** Error
I know the error

Closed
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:

Re: Foliage

Post by Marth8880 »

Heh, yeeeaaah... It helps to edit these files using Notepad++ since it shows you when you have out-of-place brackets and parentheses.
Post Reply