Ok, I've tried to use events to do this but when it comes to pictures, the player has to be perfectly centered for it to work. The map I have is 25x20 which means the picture does not stay on the player when he moves. Plus, I don't want to use up all my switches since i'll be using them A LOT. :p
Here are the details...
Script Title:
Custom Circle of Light
RMXP or RMVX:
This script will be for RMXP.
Detailed Description:
Here we go,
1.) I'd like this script to use a picture as the light source. (I have the picture)
2.) I'd like this script to be activated by a Call Script in events.
3.) Once the script is called, I'd like to change the player graphic and a BGS plays (fire). (I have the picture and the BGS)
4.) After the players graphic changes, an invisible timer starts that counts down and the light appears, the light will flicker to add effect. This can be done by changing the picture every 8 frames. When the counter reaches 0, the light will go out and a SE will play and the character graphic will change.
5.) I'd like for the light source NOT to be able to go past walls and into the darkness but take the shape of them IF POSSIBLE. (Cant breach walls and show light outside in the darkness)
Basically, I want it where the character finds a torch, item, "Torch", is obtained, player goes into the menu, selects "Torch" from items, goes back to map, character graphic changes, light appears and takes form of walls (Cant breach walls and show light outside in the darkness) and flickers, invisible timer starts to count down to last second, once last second is reached, character graphic changes, light goes out, player looses 1 torch.
I have ALL graphics, sounds, etc required for this script. All I need is the script itself. You can use things such as "SE goes here" or "Picture goes here" in the script for the purple parts.
Screen shots:
Not needed, gave plenty of details. If you need a screenshot, tell me.
Other Scripts I am using (in order):
Ok, here are the scripts I am currently using...
*Weather Script - Ccoa
*SDK 2.3 - bunch of people
*F12 Pause - Zeriab
*Lockpicking - Eilei
*UMS - Ccoa
*Anti Lag Script -Near Fantastica
*Bestiary - Momomo
*Quest Window - coolmariners98
*Quest Data - coolmariners98
*I will also be using the Star Ocean CMS when it's edited.*
If you need my scripting data file for further review, please PM me or post in the topic. Thanks!
i have 1.. but it will not work with SDK 2.3 (ore any other version of it)
Ok thanks, do you know how I can get it to work with the SDK?
um no afence but this would be much better evented in fact it would be far easier evented i would be happy to make a demo showing how to do it if you gave me the picture and sounds you want to use, but ya much better evented just so you know the circle of light would have to include a large black area so the player could go th=o the edge of the screen and the picture would still cover the map
now i'm assuming that you want the system to work like this, you walk on to a map and the map has a large black picture covering the map then the player uses an item (ie. a torch) and then a 'flickering' light appears on a timer. then goes away and replaces the black picture
and I think Th flickering light needs to follow the player around..
Quotehow I can get it to work with the SDK?
no.. its not posible/i would not even try
as soon as SDK is involved. i will not get into it
I'd appreciate it VERY much if you could make a demo for me! The reason I requested it as a script would be for convenience of calling the script when you pick up the torch and ect...
Plus, I already set a Change Screen Color Tone to make the map darker. I guess I could make a black-ish 640x480 picture, make it transparent-ish, and have the light effect in the center.
I'll have the picture later today and I'll post it here. As for the sound effects, just use various sounds right now, I'll replace them when I re-make the effect. Thanks man a bunch!
@ Jackolas: Yeah, the light needs to follow the player around on a 25x20 map. Which means the picture MUST stick to the player when he moves to the edges.
you should not use a colour tone for this 1... pictures will get the same tone and u will get a very darked light.
just a fog or blacked picture
@Lt. FOX:
There is no need for a script to make this.
The picture must stay centered yes, so all you have to do is expand the map's limits to 6panels beyond the borders of your maps that you will be using the darkness for. The minimum expansion is 5panels, but using 6will ensure that no problems occur.
And wouldn´t it be easy enough to use a (common) event that shows the light around the player, play the SE etc.
as for the not going over the walls, make the light small enough to fit in a 2*2 square area. or meybe 3*3.
Or you could try using near fantasticas light effects. There should be a link in the thead by me where i was asking a question about it..........