The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Create & Discover > Game Development > Pokémon Essentials
Reload this Page Implementation of a working lighting script?
Sign Up Rules/FAQ Daily Battle Blogs Mark Forums Read

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Thread Tools
Old May 31st, 2012 (6:24 AM).
Alucard2050 Alucard2050 is offline
Join Date: May 2012
Gender: Male
Posts: 4
Hello guys!

I'm not very skilled with scripting and just started working with the Essentials Pack recently. In the demo maps, I noticed the shadow script and wanted to ask, if there is any compatible lighting script (lantern emitting light when the world is in 'night mode') working with it?

I tried several scripts, but after I implemented them, they seem to have gotten in the way of other scripts, the game gave me some script errors and crashed.

So, is there any way to implement such a script? It would be really helpful!

Greetings, Alucard2050
Reply With Quote

Relevant Advertising!

Old May 31st, 2012 (7:19 AM).
Riansky's Avatar
Riansky Riansky is offline
Join Date: Jan 2012
Location: Slovenia
Gender: Male
Posts: 199
The best way to do that woudl be puting a fog over your map. You create your fog layer in photoshop or any other program which have layers and make the light parts on lets say windows and lanterns. Then you create an event which will put fog on the map on the nigh t time
Reply With Quote
Old May 31st, 2012 (7:35 AM). Edited June 1st, 2012 by Alucard2050.
Alucard2050 Alucard2050 is offline
Join Date: May 2012
Gender: Male
Posts: 4
That's a nice idea. But then the light will be on fix points, or am I wrong?

I mean, the player moves and then the camera scrolls the map. Wouldn't the fog move with the player and then gets shifted, so that the light spots are on the wrong position then?

Greetings, Alucard2050

€dit: Okay, now I got what you meant :D I created the lightmap, used it as fog and it looks great. Thanks for your post!
Reply With Quote
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 1:21 PM.

Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2016 The PokéCommunity™,
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / Poké
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2016.