Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
CharlieTooHuman

Multiple Light Sources script request

Recommended Posts

So, after dabbling around a bit with multiple lighting effects scripts, I have not been able to find exactly what I'm searching for. I am attempting to find a script that essentially allows me to import multiple light sources on a single map without causing an "overlapping" effect, which seems to be the case with using pictures and events. Parts of my game contain similar mechanics to the survival horror game "Amnesia: The Dark Descent" where the player carries a lantern through a dark corridor and lights his/her way using candles and wall torches. I want the player to be able to switch these light sources on and off if he/she desires to do so. The closest I've gotten to this was a script titled "light circle's 1.2" by an HB member known as Levanan, but his script cannot switch off a singular light source through the action button and it can also lag the game quite a bit depending on how many lights are present on the map.

Levanan's script: http://www.hbgames.org/forums/viewtopic.php?f=11&t=63866

 

 

Video examples of what I want the script to do: 

 

Raziel's Light Systemhttp://www.youtube.com/watch?v=rpfNBQiKX1w - (This is the best example I've found so far, but I cannot for the life of me find a download link anywhere. If someone happens to have this script, has Raziel's contact information or knows where to locate it, I would be extremely grateful.)

 

Amnesia Dark Descent 2D (Castle of Death): http://www.youtube.com/watch?v=VJ_aZnB_7Ac - (Another perfect example of what I am trying to do.)

 

Khas Light Effects VX Acehttp://www.youtube.com/watch?v=aQzyae14FEc - (Yes, I know... This is for VX Ace, but I was wondering if anyone has ever ported the script to RMXP? If so, could I possibly get a download link?)

So, to quickly sum up what I am looking for:

 

-Multiple light sources on a single map (player carries lantern; environmental lights such as candles, torches, and lamps)

-Ability to turn on/off light sources

-Allow other events to carry lanterns/torches

-Possibly a flicker effect?

-Shadows would be nice, but are not required.

 

If nothing is currently available and the scripting is a bit overly advanced, I am willing to pay a professional programmer to create/port/edit a lighting script for my game... for a reasonable price of his or her choosing. I will oblige to any payment method (preferably Paypal) and how you would prefer to conduct the transaction. PM me on here.

If any extra information is needed, please let me know. 

Thanks guys! :)

Edited by CharlieTooHuman

Share this post


Link to post
Share on other sites

According to Levanan's Script :

 

-Multiple light sources on a single map (player carries lantern; environmental lights such as candles, torches, and lamps)

Done

 

-Possibly a flicker effect?

Done

 

-Shadows would be nice, but are not required.

Done

 

-Allow other events to carry lanterns/torches

I think it's possible

 

-Ability to turn on/off light sources

Okay, so here the problem that we have.

 

Anyway, there are two alternative ways to do this.

1. http://www.hbgames.org/forums/viewtopic.php?f=155&t=77536

It's done by changing the event comment via the script call. Written by Levanan himself. Yet, I don't understand how to use it

 

2. My alternative.

Since the script need to put comment on the event page, you can have the second event page without a comment in it, and serve the purpose as a sprite when the light off. It'll be activate by certain trigger condition (switch, variable, etc)

Anyway, when you're on the same map with the light source when turning on the switch that turn off the light source, the light source is not automatically turned off. Here's come a little script call.

$scene = Scene_Map.new

The script call will make your map turn into the dark for a second but they will return to the original state with the light has been turned off. You don't need to use the script call when turning off the switch to turn on the light.

 

I hope this helps you. :)

Share this post


Link to post
Share on other sites

Awesome!

I'll try to work this in as an alternative for the time being so I can play test my game. As much as I like Levanan's script, the light sources can seem a bit pixelated at times, where Raziel's system seems to have a cleaner look to it. I am currently in contact with metalclaw to see if he can set up something a little closer to Raziel's lighting system, but your method is a quick fix for the time being. Thank you!

If anyone happens to find any information on Raziel's lighting script please let me know.

Share this post


Link to post
Share on other sites

When I get home I'll take a look as I'm on the train. I do have light system on my computer and I can give you the link to where I found it then

Share this post


Link to post
Share on other sites

Thanks for the help Bigace!

 

Bit off topic, but your enemy chase system is a great addition to what I'm currently working on.

Edited by CharlieTooHuman

Share this post


Link to post
Share on other sites

Here you go: http://save-point.org/thread-2770.html

click the demo as it has everything in there.

 

Thanks for the help Bigace!

 

Bit off topic, but your enemy chase system is a great addition to what I'm currently working on.

You're welcome  :thumbsup:

Share this post


Link to post
Share on other sites

Although it is not quite exactly what I am looking for, the shadows and reflections scripts are really really nice. Definitely going to put those to some use. Thanks for the link! :)

 

Update: So, I found something that looks visually close to Raziel's lighting script. It allows light sources to overlap and be placed throughout the map. Unfortunately, it is attached to a day and night system and I'm not too sure how you would be able to turn individual lights off. It also doesn't look like there is a way to allow a light to move with the player. Some of the members on HB seem to have attempted to add a lantern feature, but it doesn't look like it turned out too well based on some of the screenshots they took. http://www.hbgames.org/forums/viewtopic.php?f=11&t=74494

Edited by CharlieTooHuman

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...