Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Larryboy
Posts: 59 Joined: Wed Sep 06, 2006 2:31 pm
Location: UK
Post
by Larryboy » Thu Sep 28, 2006 9:59 pm
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.
Spyrewolf
Posts: 450 Joined: Tue Jul 05, 2005 4:53 am
Location: Wellington::New Zealand
Post
by Spyrewolf » Thu Sep 28, 2006 10:28 pm
I'd check you bitmap entries, make sure you have defined your paths correctly, also the entries are all CAPS sensitive
Larryboy
Posts: 59 Joined: Wed Sep 06, 2006 2:31 pm
Location: UK
Post
by Larryboy » Fri Sep 29, 2006 11:54 am
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
steven8
Posts: 1487 Joined: Wed Aug 24, 2005 9:08 am
Location: Barberton, OH
Post
by steven8 » Fri Sep 29, 2006 1:17 pm
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!
QuestOfDreams
Site Admin
Posts: 1520 Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:
Post
by QuestOfDreams » Fri Sep 29, 2006 1:23 pm
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
Larryboy
Posts: 59 Joined: Wed Sep 06, 2006 2:31 pm
Location: UK
Post
by Larryboy » Fri Sep 29, 2006 1:49 pm
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.
Here are the entity attributes I am using
QuestOfDreams
Site Admin
Posts: 1520 Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:
Post
by QuestOfDreams » Fri Sep 29, 2006 2:02 pm
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
Larryboy
Posts: 59 Joined: Wed Sep 06, 2006 2:31 pm
Location: UK
Post
by Larryboy » Fri Sep 29, 2006 2:42 pm
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.
psYco
Posts: 782 Joined: Wed Mar 15, 2006 10:55 am
Location: England
Post
by psYco » Fri Sep 29, 2006 4:09 pm
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.