Foliage enity crashes RF

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
User avatar
Larryboy
Posts: 59
Joined: Wed Sep 06, 2006 2:31 pm
Location: UK

Foliage enity crashes RF

Post by Larryboy »

Tried the 'foliage' entity today (RF 0.75b) and it just crashes RF when you compile it. Sorry to be Mr Buggy but thought I'd let you know.
User avatar
Spyrewolf
Posts: 450
Joined: Tue Jul 05, 2005 4:53 am
Location: Wellington::New Zealand

Post by Spyrewolf »

I'd check you bitmap entries, make sure you have defined your paths correctly, also the entries are all CAPS sensitive
User avatar
Larryboy
Posts: 59
Joined: Wed Sep 06, 2006 2:31 pm
Location: UK

Post by Larryboy »

All seems OK paths and caps wise. The entity should look in the 'bitmaps' folder by default, right? I also tried bitmaps\citytree.bmp and media\bitmaps\citytree.bmp with its associated alpha. found in 0.75A

crashes RF (0.75B) when you load the level :(
User avatar
steven8
Posts: 1487
Joined: Wed Aug 24, 2005 9:08 am
Location: Barberton, OH

Post by steven8 »

Do the bitmaps for the foilage entity need to be powers of 2? IE: 16X16, 32X32, etc? I've not used it yet, but make sure they are sized that way and try again.
Steve Dilworth - Resisting change since 1965!
User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Post by QuestOfDreams »

There is a working foliage entity in one of the levels that come with the full installer. So the problem must be on your end
User avatar
Larryboy
Posts: 59
Joined: Wed Sep 06, 2006 2:31 pm
Location: UK

Post by Larryboy »

The bitmaps I am using came with the 0.75A install. They are citytree.bmp and a_citytree.bmp and are 256x256 - is that too big?

Just tried it with another texture + alpha which I have successfully used with DecalDefine (32x32). it crashes as well. :cry:

Here are the entity attributes I am using
Image
User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Post by QuestOfDreams »

Why don't you just look at the reference setup in the level I've mentioned :?:
AlphamapName - a_spot.bmp
BitmapName - spot.bmp
should be:
AlphamapName - a_spot
BitmapName - spot
User avatar
Larryboy
Posts: 59
Joined: Wed Sep 06, 2006 2:31 pm
Location: UK

Post by Larryboy »

yes you are right - its the .bmp extension that blows it up.

Its a bit confusing because in DecalDefine I have specified the files with the extension and it works, so I thought that was the standard. :?

Any chance of the manual being more explicit?

Many thanks for your help with this one.
User avatar
psYco
Posts: 782
Joined: Wed Mar 15, 2006 10:55 am
Location: England

Post by psYco »

Ja its a bit tricky! But ounce you take out the extension it worx very well... I used foliage extensively in my game school of the dead! and I think its quite effective...

But be carefull in excess it can s-l-o-w the engien ALOT! Also if too many different pics need to be loaded it can crash when you look in the direction of the foliage.
Post Reply