Author Topic: Map lighting  (Read 1347 times)

Is it possible to change the lighting of a map? I mean like make it darker or bight.
If so then how?

pretty sure it's possible, not sure how


(but you might want to lock and repost in mapping help)

Its not mapping help, i want to know hot to change it through script.

Its not mapping help, i want to know hot to change it through script.
Do you know how to map? You mean change the sun right?

EDIT: This is possible, but you can't change the already-made ml... At least I don't think so. :o
« Last Edit: August 04, 2010, 06:35:55 AM by General »

Do you know how to map? You mean change the sun right?

EDIT: This is possible, but you can't change the already-made ml... At least I don't think so. :o

Unless you know the name then you can do Sun.delete()?

You can change the sunlight, but that doesn't change things such as textures on terrain and interiors, so it would look really weird

Unless you know the name then you can do Sun.delete()?
No, you name the sun object and delete it using its name.

You can change the sunlight, but that doesn't change things such as textures on terrain and interiors, so it would look really weird

lightScene(); ?

lightScene(); ?
Hmm, I always crash for some reason when I do that so I never knew entirely what it did >:
I guess its a good thing I'm not a mapper :cookieMonster:
« Last Edit: August 04, 2010, 05:39:56 PM by Headcrab Zombie »

Open the script of the map and edit the sun's color properties. It'll relight fine.

Open the script of the map and edit the sun's color properties. It'll relight fine.

I think she means real time changes, not edit>save>reload map

Oh! a fix to this problem. I don't really 100% know it. BUT.... Will smith a BL player gave me a daymod. It changes the brightness of the map etc. But what i dont like it is that it displays the minutes of the day every second at the bottom. But yea. Message Will smith on IRC.


PS. Hes a very very very good scripter. He may be better the Iban.

Oh! a fix to this problem. I don't really 100% know it. BUT.... Will smith a BL player gave me a daymod. It changes the brightness of the map etc. But what i dont like it is that it displays the minutes of the day every second at the bottom. But yea. Message Will smith on IRC.


PS. Hes a very very very good scripter. He may be better the Iban.

Would you mind giving me this script? I could spice it up.

sorry but no. I have no permission to give it out. If you cant find will smith you may want to talk to Munk/Munkurious/Munkey.

Would you mind giving me this script? I could spice it up.
It's not like it's a very hard thing to do

The day and night events I made were (as far as I can remember) before some new method that actually updates the sun was made that I'm not going to bother to dig up. Just dump a sun and you'll find it.

To relight the map, you'll have to have the clients use lightScene("", "forceAlways"); - this is, however, client-sided. A simple client-side mod would do the trick but may not be practical for what you want to do.