Sky.lua fog settings?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Delinquent

Sky.lua fog settings?

Post by Delinquent »

Ok, I have one question about them.

Is there a way to turn the fog settings in the sky.lua off in a certain region of the map, or to assign other fog propertys to a certain region?

To give you a better imagination of what I am trying to achieve.

I am creating a quite dark map.
These are my fog settings in the DQ5.sky

FogColor(18, 18, 24);
FogRange(-10.0, 200.0);

However I´d like to have an area on my map which is light and has a better visibility.

Now, is it possible to achieve this somehow?
Any ideas?
dreadlordnyax

RE: Sky.lua fog settings?

Post by dreadlordnyax »

well, i made a dark map with light parts, what i did was set the ambient light in zeroed really low, the put in omni lights where i wanted it lighter. there's probably a much better/easier way to do it, but it worked...
Delinquent

Post by Delinquent »

Yeah you can do cool stuff with the lights.

I also have another directional light bound to that region which I want to be lighter than the rest of the map.

But I was thinking perhaps there is some sort of fog shadow region where you can turn the fog out.
Because even if you place a light in front of an object it will not have an effect on the limited visibility caused by the fog; so it will not make the object more visible through the fog.
Post Reply