Calibre's Cosmetic Lighting Tutorial

I thought this was an excellent tutorial! This was my first attempt at it so I am not sure if it is very good, but here it is.

http://i61.photobucket.com/albums/h58/m ... ngtest.png[/img]
That looks infinitely better than my first attempt a while ago (and probably better than my current attempts). Good job.
[QUOTE=ImmuneEntity;249073]That looks infinitely better than my first attempt a while ago (and probably better than my current attempts). Good job.[/QUOTE]

Thanks a lot. There are some things that look off, but I am not sure what. I will keep messing around with it. btw I am from MN too =)
its a good idea, too bad that the hero doesn't have a shadow when everything else does...
You just use Mr. Rataimes shadow script and set the shadow source as the windows! Problem solved.
Excellent tutorial - very easy to follow, and I had NO idea people went to these lengths to improve the atmosphere in their games!

I'm also keen to learn how to do this for maps larger than the default size.

I can probably figure it out myself if you can answer one question for me - if your fog image is smaller than the full map, will RMXP tile it, or stretch it? And does it preserve the aspect ratio? (ok, so that's 2 questions, but who's counting...)
Shaz:
RMXP will stretch the map to the % that you tell it to while selecting the fog to show. By default it's 200%.

For maps larger than default size, you basically shrink it to 50% view-size in the RMXP constructor and take a screenshot, and perhaps tile the screenshots of the map together carefully if you still can't get it into one screen.

Then, you do the fog on the whole (but smaller) map. After you finish, make sure to show the fog at a size of 200% (or whatever % that multiplies your fog's original shrunken size into a normal 100% view).

That's basically it. :)
Aside from the shadowing effect, couldn't you just make up some simple pictures, import and then make them transparent to a degree to gain this effect? and have it located anywhere you wish, as many times as you wish, on any kind of map no matter the size.

I'm sure it won't look near as good as this, but it's a quick and dirty way to do it :P.

I really like that last ss too with the nice shadowing, it looks amazing.
Hi Everybody,

I was just wondering if this looked right. Is it too dark? I'd love to hear your advice.

http://i156.photobucket.com/albums/t1/A ... ticFog.jpg[/IMG]
I know that the map is kind of empty so far, but it's a work in progress, so please bear with me, as I'm not very good at mapping.

Excellent tutorial, by the way.

Thanks ^_^,

Angelman
Thanks Reives, that's pretty easy to follow, and pretty much like I suspected it would work.

I'll have to have a go at this when I get a break from Uni.
Np.

@Angelman:
Doesn't seem too dark to me, feels about right. The colour tone of it gives me an almost-sunrise impression, by the way. If you want to do a middle of the night thing, tinting a bit more blue into the colours might do. :)
Looks great man. Good to see some new ideas coming through :)
I just noticed that the tinting is more purple than blue, which would be the cause of it looking a little pre-dawn ish :P

Thanks Reives
Whoa, amazing :O
I didn't read the other guide, but that's excellent, i'll try to incorporate it in my game!

B4 reading this i always thought that lights were very tricky but this made the things pretty easier. :):)
Can someone write a tutorial for larger maps? I've tried the way Rieves described, but I still can't get it to work right.

Pictures and a tutorial will help out a lot.
Sorry, I said I'd get round to it along time ago. The way Reives says does work, it is just a little hit and miss / trial and error. I use larger maps fogs a lot in Cell Chamber and they are rarely 100% perfectly measured, but near enough that only a hawkeye would spot it.
I really suck at this..... The regular size maps are fine. I can get those no problem. The larger maps are near impossible for me. I can't even get them in the ball park, even trying Rieves way. Maybe I just don't understand Rieves way.

I have shrunk my map to Half size in the Map editor and taken a screen shot. Then I placed it into photoshop and cropped the screen to remove the rest of the editor and just leave the map. I then changed the image size to 640 x 480 and start making the lights.

When I place the Fog in to the game I put it twice zoom [400] and leave everything else the same. It's crazy how off it is. Just in case it was the Image size thing I went back into Photoshop and did the fog again, only this time i left the image size the same [I cropped and the started the lighing]. I placed it in the game and it was closer but still off by a large amount.

Help please... What am I doing wrong? I really like the way the lighting turns out. If only I get this to work then my game will be even better.
Don't shoot me if I'm wrong cos' I haven't tried anything out in ages so can't remember whatsoever, but if you are taking a screen at half size, then shouldn't you be displaying it as 200% rather than 400%. Try that.

Another way that may work is take individual screens in game of all the areas then piece them together in photoshop like a jigsaw. Make the lighting over that and display it in game set at 100%.
[QUOTE=Calibre;282894]Don't shoot me if I'm wrong cos' I haven't tried anything out in ages so can't remember whatsoever, but if you are taking a screen at half size, then shouldn't you be displaying it as 200% rather than 400%. Try that.

Another way that may work is take individual screens in game of all the areas then piece them together in photoshop like a jigsaw. Make the lighting over that and display it in game set at 100%.[/QUOTE]

OK.... that confused the hell out of me. besides I tried at 100, 200, 300, etc... as well as everything inbetween. It still was anywhere near what it's supposed to look like.

How about I take some screenshots and I'll post them to let you guys see what I'm doing and maybe you can see what I'm doing wrong.
[QUOTE=Calibre;282894]Another way that may work is take individual screens in game of all the areas then piece them together in photoshop like a jigsaw. Make the lighting over that and display it in game set at 100%.[/QUOTE]
I use this method for larger maps. It's the easiest in my opinion.
You should try that Firestalker, just put multiple screenshots together until you have the complete map like Calibre said.
Well the main benefit of that method is that you display the fog at 100% rather than stretching it so what you see in photoshop is exactly how it'll look in game.

The first method does work because I have done it many times, I just can't remember the details.
Ok... i'll try that method.

Thank you very much.
Dude, I just practically pissed my pants...This is great...I am definitely going to see what I can do, since I have Photoshop...I'm afraid that it may be hard for me, but I'm going to try...I really like this man!!:thumb:
Awesome. I'm loving this so far! I'll be sure to try and work this once I finish my game up to a certain point; it'd just be silly putting in the effort for maps I'm not even sure I'll use. XP
O.o Nice tut for lighting effects

Hey is there anyway to add more than a single fog effect? I mean something like a lighting layer and a moving fog layer on sub together o.O
Yes there is... I nearly always use it too.  Look for a script by a guy (screen name: Daniel) called dual fogs or perhaps multiple fogs.  If you really can't find it I shall post it but try looking first!

On a sidenote - have the moving fog as the base and the light effects as the additional fog - it looks screwy the other way around.
O.o I got it :D Weeee~ Thanks for the quick and prompt reply...

Here's what I did - A combination of graphical events and lighting :P

http://img252.imageshack.us/img252/4789/screenieut8.png[/img]

Needs a lil' refining tho :o
That's one pink rug.

You might want to scale down the brightness a little; as things look, it's as if Sol itself is outside that poor man's window. Of course, that's a matter of opinion, and you could keep it that way without hurting your game a bit. It'd be good in a desert residence, for instance. Also, the light should be fanning out from the window more; just take a look at how sunlight goes through your windows at home to get an idea of the angle you need.

Aside from that, just remember to cut off the light effect where it's supposed to be covered by the wall, and keep in mind that those square things are windows and not wall fixtures. The effect looks odd, coming from an interior dividing wall. XD

Nice start, though. The mapping might need some tweaks, but the lighting is pretty solid, once you fix things up a little bit.
I agree with Gearpunk Nemesis, it's great that you used the techniques but there is also the necessity for logic when you use it.

The light shining through at the bottom is coming from inside the house.  Obviously though it looks like sunlight.

You also need more contrast between the darkness of the room and the light coming in.  To me, it seems that room should be darker - like the way I did in the tutorial is, the light is actually made up by removing parts of the black film covering the screen - the black makes up the rooms darkness, the erased parts the light.

Your mapping really needs to be improved too, to benefit from additional atmospherics.
For me it also works on a basic map size...

when i'm using a bigger map, lets say 35X25 and I do:

shrink map in creator to 50%
screen shot and paste in photoshop..
cut out my map.. and resize it to 640 X 480

than make the lighting and save it as a .PNG file.!!   that works !! :straightthumb:
than I make a event that displays the picture at 200 %   blending normal... :thumb:

when I test my game it is there "my picture" ..but if character moves... the picture of the lighting moves with me...
the ball of light by a torch, comes of the torch and follows me... the image is not frozen to the place he belongs... :pissed:

what am i'm doing wrong. :down:... are there some things I must put in the same event.. or do I need to do something with the picture???

please help me who can... 😢

Please don't Necropost. :\ ~Asch

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=15030