The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: memyselforwho on April 26, 2008, 09:17:33 PM

Title: How to make light for lamps and how to make fire? [RESOLVED]
Post by: memyselforwho on April 26, 2008, 09:17:33 PM
How to make light for lamps and how to make fire?



I know i keep asking these noob questions, but if it means anything i search before i post.
Title: Re: How to make light for lamps and how to make fire?
Post by: Demonic Blade on April 27, 2008, 04:08:38 PM
I like your questions (and they're not noobish, you'll lose self-confidence by thinking that).

There is a script (or an event system) somewhere with the light, but for making a campfire, do THIS:

Make an event (the fire). Uncheck "Move Animation". Check "Stop Animation" and "Direction Fix". Choose the fire graphic ( I'd recommend the third line of "Light01").

DONE! ;)
Title: Re: How to make light for lamps and how to make fire?
Post by: memyselforwho on April 27, 2008, 05:11:44 PM
Thanks a lot =D

I'll see if I can find that script, and I'm glad you don't think so haha, most forums I join I can at least contribute something, but here I sort of feel useless lol.


EDIT: I searched the forum and couldn't find anything. Do you know who made it? Maybe I could search by name.
Title: Re: How to make light for lamps and how to make fire?
Post by: Demonic Blade on April 27, 2008, 06:05:13 PM
Not sure who made it. I'm not even sure it was on this site when I think about it. Most likely it was on hbgames.org or rpgrevolution.com. I'll get a link in a sec...
Title: Re: How to make light for lamps and how to make fire?
Post by: memyselforwho on April 27, 2008, 07:46:59 PM
Quote from: Demonic Blade on April 27, 2008, 06:05:13 PM
Not sure who made it. I'm not even sure it was on this site when I think about it. Most likely it was on hbgames.org or rpgrevolution.com. I'll get a link in a sec...

Thanks a lot, for some reason I can't even go to hbgames.org... and rpgrevolution loads only the main page...
Title: Re: How to make light for lamps and how to make fire?
Post by: Demonic Blade on April 28, 2008, 01:50:48 PM
Yeah, there's some trouble on rpgrevolution right now, but it's real sweet when it works. hbgames.org, I don't know. Oh, and it's an event system, I believe.
Title: Re: How to make light for lamps and how to make fire?
Post by: memyselforwho on April 28, 2008, 03:19:11 PM
awesome, thanks. I'll just wait until rpgrevolution works and search.
Title: Re: How to make light for lamps and how to make fire?
Post by: tSwitch on April 28, 2008, 03:21:19 PM
what exactly are you looking for?
could you be specific?
Title: Re: How to make light for lamps and how to make fire?
Post by: memyselforwho on April 29, 2008, 03:02:11 AM
Quote from: NAMKCOR on April 28, 2008, 03:21:19 PM
what exactly are you looking for?
could you be specific?


I was playing someone's demo here, and when it became dark outside their were lights lit on the lamps in town, and on/around the houses. I know how to do the whole day/night thing, but how do i create the light?

(thanks)
Title: Re: How to make light for lamps and how to make fire?
Post by: tSwitch on April 29, 2008, 03:25:43 AM
you can create a cosmetic fog.

here's what you do
zoom out to 1/4 in the editor, and Screenshot your map
then open up photoshop (or gimp or something else that allows transparencies)

then, create a new layer and paintbucket fill black
make that layer semi-transparent, then create circular gradients from black at 0% transparent to black at 100% trans parent, over the lights

delete the screenshotted map, and export as a png

..........wow those instructions were convoluted...
if you don't understand them...let me know, and I'll try posting an example or something
Title: Re: How to make light for lamps and how to make fire?
Post by: memyselforwho on April 29, 2008, 06:53:43 AM
Quote from: NAMKCOR on April 29, 2008, 03:25:43 AM
you can create a cosmetic fog.

here's what you do
zoom out to 1/4 in the editor, and Screenshot your map
then open up photoshop (or gimp or something else that allows transparencies)

then, create a new layer and paintbucket fill black
make that layer semi-transparent, then create circular gradients from black at 0% transparent to black at 100% trans parent, over the lights

delete the screenshotted map, and export as a png

..........wow those instructions were convoluted...
if you don't understand them...let me know, and I'll try posting an example or something

I sort of understand what you mean, but if you could post an example that would be awesome =D

Thanks a lot ; )
Title: Re: How to make light for lamps and how to make fire?
Post by: tSwitch on April 30, 2008, 06:56:55 PM
alright, I'll post a finished product, along with a screenie of the map I make it for.
it'll be really simple like, I'll edit this post with it.
Title: Re: How to make light for lamps and how to make fire?
Post by: memyselforwho on April 30, 2008, 07:05:38 PM
Quote from: NAMKCOR on April 30, 2008, 06:56:55 PM
alright, I'll post a finished product, along with a screenie of the map I make it for.
it'll be really simple like, I'll edit this post with it.

Thanks a lot = D
Title: Re: How to make light for lamps and how to make fire?
Post by: tSwitch on April 30, 2008, 07:20:49 PM
screenie of tha map:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv259%2Fpsycho-mantis%2Fmapbeforefog.png&hash=b1d5c5f8c5126db83fd52a5a9622fc6231ed43d9)

create the fog over it(new layer), so that the light has the gradient circle:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv259%2Fpsycho-mantis%2FStep2-4.png&hash=9d6154345564ff140f4247c0eb4ab5c35cfcdde9)

remove the bottom layer (map screenshot):
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv259%2Fpsycho-mantis%2FFinishedFog.png&hash=b238ddf6098a9c61f90d9d2178bd297655bce8d5)

set the fog on the map with a parallel process, fog at 160 alpha, matching the size of the map(if screenie was at 1/1 - 100%, 1/2 - 200% 1/4 - 400% (Size):
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv259%2Fpsycho-mantis%2Fmapwithfog.png&hash=211bf938cfa16a569276e25e5af01dddf929ef4c)
Title: Re: How to make light for lamps and how to make fire?
Post by: memyselforwho on May 01, 2008, 02:06:23 AM
Thanks a ton it works like a charm.  ;D
Title: Re: How to make light for lamps and how to make fire?
Post by: tSwitch on May 01, 2008, 02:55:11 AM
glad it works for you ;)
please add [resolved] to the topic title if this is all set