Jump to content
Sign in to follow this  
Monty CZ

LODs of the buildings?

Recommended Posts

Hello can anybody tell me if it is possible to have multiple LODs for the buildings.

I am dreaming that I can put everything in one folder name it MYHOUSE

and voila :-)

Did somebody tried that? I cant imagine that I would have 5 files per object in my terrain folder

(ini file, LOD001, LOD002 file, destroyed LOD file, texture(s) and entry in types.ini)

 

Thanx for ideas

Monty CZ

Share this post


Link to post
Share on other sites

I have never tried it, but i guess, that your idea could work, but only if you put all needed files in the relating terrain folder. To put them in the groundobjects folder would not work.

If i remember correctly there was something similar in the stone age old factorycomplex from the very beginning days of SFP1. There were also ini files for the objects with a definition of a shadow file and 1 or 2 lod files. The entry was like these:

 

[LOD001]
Filename=airtower02.lod
Distance=10000.0

[shadow]
CastShadow=TRUE
ShadowLOD=airtower02.shd
ShadowType=0
ShadowCastDist=500
MaxVisibleDistance=1000

Share this post


Link to post
Share on other sites

are you talking about distance lods, or multiple lods for ONE building? (sort of like a Lego? Assemble it yourself??)

Share this post


Link to post
Share on other sites

Distance LODs is the thing I want to solve.

 

Ok I will try something today evening, we will see

Thanx Gepard

 

Monty CZ

Share this post


Link to post
Share on other sites

ok distance lods are possible

I made folder with the same name as ini, put everything in and it worked

still dreaming that we dont need to add anything into terain_types.ini but still no luck

[TargetType]
ObjectFullName=gun pit
ObjectDataFile=gunpit_data.ini

[LOD001]
Filename=gunpit.lod
Distance=500

[LOD002]
Filename=gunpit002.lod
Distance=5000

[Shadow]
CastShadow=TRUE
ShadowCastDist=500
MaxVisibleDistance=2000

Share this post


Link to post
Share on other sites

if it has to be placed on the terrain, it needs an entry in the _types ini.

Share this post


Link to post
Share on other sites

yeah distance lods in folder with main lod does work...did it for my V1 and launch ramp with dam_lods....but as kev says,it still needs entries in the types.ini

I think folder must be named exact as lod name..ie   mudheap.lod   folder name mudheap...guess you worked that much out lol

Edited by russouk2004

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..