lighting -1 reply

  • 1
  • 2

Please wait...

Knoffhoff

I follow teh Moo!

50 XP

20th February 2004

0 Uploads

708 Posts

0 Threads

#1 15 years ago

Does anybody have experience with lighting out the map? My map is supposed to display a cloudy winter day with almost no sun and really light shadows. Right now it looks like late afternoon on a sunny day when the sun just starts sinking. I tried to edit the objectlightmaps.con without any effect. Vehicles still have a strong shadow and shine in the sun. Also I edited the terrainlightmap.con without any effect. If somebody knows where and what parameters I have to change, I'd be very grateful.




Kingrudolf

Fan FH Mapper

50 XP

9th October 2003

0 Uploads

1,345 Posts

0 Threads

#2 15 years ago

You need to edit the ambient settings, check the sun settings in BC. There are four different colors; not sure what they all represent, but they are Global ambient, Ambient, Diffuse, and Specular. Ambient would probably be the overal atmopshere (darker or lighter, or colored map), Diffuse is probably vehicle reflection from the sun, which is in your case very bright. And specular may have something to do with.. sun beams or something? I don't know, might be mixing it up.. I usually just set a color, test it ingame and adjust again. It would be nice though, if someone could explain the meanings of the options.




Knoffhoff

I follow teh Moo!

50 XP

20th February 2004

0 Uploads

708 Posts

0 Threads

#3 15 years ago

Thanks for the tip.I didn't want to open up my map in BC since it fucks it up most of the times. But I'll give it a try, I'll still have the unpacked map if something goes wrong. Reading through some Forums, I found out that I possibly have to create complete new Lightmaps(hopefully not). BC will only change the .con files. So if somebody knows what to change manually please post it.




Kingrudolf

Fan FH Mapper

50 XP

9th October 2003

0 Uploads

1,345 Posts

0 Threads

#4 15 years ago

Well BC stores the settings in the init.con, at the top. So once you saved the map in BC, you can also just copy the modified lines from the init.con to your unpacked map. BC tends to screw up your ground textures everyime you save, but the sun settings always remain stored.




Knoffhoff

I follow teh Moo!

50 XP

20th February 2004

0 Uploads

708 Posts

0 Threads

#5 15 years ago
KingrudolfBC tends to screw up your grosun settings always remain stored.und textures everytime you save, not to mention .con files. But the

:confused:




Kingrudolf

Fan FH Mapper

50 XP

9th October 2003

0 Uploads

1,345 Posts

0 Threads

#6 15 years ago

Wow, some serious spelling errors there.. must be the insert button. Ok I changed it.




Knoffhoff

I follow teh Moo!

50 XP

20th February 2004

0 Uploads

708 Posts

0 Threads

#7 15 years ago

I opened my map in BC and it got totally messed up(all vehicle and soldier spawns missing). But anyways I checked out the light settings and found out that BC changes these lines in the init.con:

renderer.globalAmbientColor 0.1/0.1/0.1 renderer.ambientColor 0.1/0.1/0.1 renderer.diffuseColor 0.1/0.1/0.1 renderer.specularColor 0.1/0.1/0.1 If you use the settings above there no light reflections at all.But some objects are way to dark(maybe just perfect for a night map). Right now I'm trying to find the perfect settings. If you lower the numbers there will be more light.




Kingrudolf

Fan FH Mapper

50 XP

9th October 2003

0 Uploads

1,345 Posts

0 Threads

#8 15 years ago

Yup, those are the values.. I assume everything works ok now?




Knoffhoff

I follow teh Moo!

50 XP

20th February 2004

0 Uploads

708 Posts

0 Threads

#9 15 years ago

I hate it when I'm spending so much time on problems when they are so simple to solve like this one.:'( I't happens to me all the time. I'm looking here and there, trying this and that but the most obvious file in the whole fucking map I don't even consider to look at. But everything is fine now I'll get me some:beer: and try to motivate me to work some more on my map.




Kingrudolf

Fan FH Mapper

50 XP

9th October 2003

0 Uploads

1,345 Posts

0 Threads

#10 15 years ago

I have the same problems all the time, in the end the solution looks simple.. but it's the effort that counts, if you never looked and tried, you'd never found out. ;) Whenever I encounter problems of which the cause is unknown.. until now I have never gave up on any problem.. so that's why I've got them all solved.




  • 1
  • 2