Jump to content
Sign in to follow this  
orsin

how to add shadows to civilian buildings?

Recommended Posts

I have noticed a picture posted yesterday in the screenshot thread, as below, that civilian buildings now seem to have their shadows like other attackable objects.

 

Can anyone tell me how this was done? or which mod it comes from?

 

gallery_9359_342_69450.jpg

Share this post


Link to post
Share on other sites

I think you set in the game options as I have never seen or heard of a mod that added this.

Share this post


Link to post
Share on other sites

Have shadows turned on in the Options menu. The game will either generate them from SHD files in the terrain cat (old style) or from the object's LOD itself (08/SF2).

 

wrench

kevin stein

Share this post


Link to post
Share on other sites

Only those structures which are terrain objects (those that have their own .lod and .ini files, and are therefore handled as solid objects), can cast shadows.

 

Quite a few structures are alpha objects (similar to trees) and are defined within the various .tod files. In a nutshell, because alpha objects do not have .lods and .ini files associated with them (which would in turn define their shapes and dimensions), there's nothing "there" to tell the game engine when, where, and how to cast shadows.

Share this post


Link to post
Share on other sites

On a slight aside, the TE classes the various buildings (ONLY the ones you add via the texture/texture map list/ add object function) AS solid objects, as opposed to Alpha objects ie: trees and bushes and shurbs. They also lack collision meshes, so thereby allowing you to fly through those little building, whilst terrain object buildings will not.

 

But as Fubs said, there's nothing there to create the shadow from (one will note that trees also don't cast shadows.) I can just imagine the total lack for framerates if the game engine had to calculate and create them!

 

wrench

kevin stein

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

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..