[?] Prevent smaller objects from fading out

Making or wanting help making your own asset? Check in here
Post Reply
cat
Posts: 260
Joined: 2005-10-31 20:38

[?] Prevent smaller objects from fading out

Post by cat »

How to prevent smaller objects from fading out? I found wooden fences that look nice but they start dsiappearing after 50m. Can this be prevented manually?
Nickbond592
Retired PR Developer
Posts: 2713
Joined: 2007-01-30 18:16

Re: [question]Prevent smaller objects from fading out

Post by Nickbond592 »

in the editor down at the bottom by default you have 3 rectangle box's you can type into, i think its called the console or something

in the first one type, renderer
in the second type, minculldistance
and in the last, 2000

then type in the first, staticmeshrenderer
the second, nolods
and the last, 1


this only works in the editor mind you and theres no way to get them to show up like that ingame unless rhino finds a way to fiddle with the init.con or we re-import all of the objects will larger cull distances

hope this helps,
Nick
Image


Smeg: Fuzz commands a lot and promotes good teamwork, db flips vehicles, Bosco is an all-round nub, Outlawz is an SP whore, Nickbond is a friggin ninja and Rhino gets kicked for being a n00b.
cat
Posts: 260
Joined: 2005-10-31 20:38

Re: [question]Prevent smaller objects from fading out

Post by cat »

I have to use another fence then. Another question. how many PR static object are lightmapped? some which are used alot on basra appear to have no lightmaps, which is not even noticalbe in the map becazse of the well matching lighting. However in a more dark map it stands out. Or did I screw up the lightmap installing?
Nickbond592
Retired PR Developer
Posts: 2713
Joined: 2007-01-30 18:16

Re: [question]Prevent smaller objects from fading out

Post by Nickbond592 »

if you've downloaded the PR lightmap samples and followed the instructions in the parent thread then most if not all of the statics will have lightmaps, try again if they appear not to.

nearly all but the biggest of statics will dissaprear at range ( this varies on each and every static ) to save lagging the game, its just one of those things i'm afraid :(
Image


Smeg: Fuzz commands a lot and promotes good teamwork, db flips vehicles, Bosco is an all-round nub, Outlawz is an SP whore, Nickbond is a friggin ninja and Rhino gets kicked for being a n00b.
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: [question] Prevent smaller objects from fading out

Post by Rhino »

you can in fact just add the renderer.minculldistance value to the init.con I'm pretty sure but this should not be done for perfomance reasons. Most objects in PR and old vBF2 objects have already had there cull radius's tweaked so they draw for a longer distance but forcing all objects to draw for 1000m or w/e for every user ingame would have a huge impact on perfomance, mainly for low gfx users, hence why we dont do that.
Image
Post Reply

Return to “PR:BF2 Community Modding”