I'm not a big fan of using pictures to illustrate enlightened areas. Mostly becouse I can never get them to work properly XD
So I was wondering if there is a script that could do the job, to create a lighter area around events with certain names. In this case: Torches so it would appear that they radiate light. I'm sure it is possible to make something like that since scripting can create mini maps without pictures. =3
you can use an image, I'll post it here later.. but there's another script, but I explain more once hangover dies
Quote from: mumerus on July 19, 2008, 08:26:38 am
you can use an image, I'll post it here later.. but there's another script, but I explain more once hangover dies
Alrighty =3
to 'create light' I use cosmetic fogs, here, lemme post the pic tutorial I did for someone a while back :D
first, you take a screenshot of the map.
I'd suggest doing it in the map editing window, as you can zoom out to see the whole map, and not have to do puzzle editing to get the big fog together in your photo program (I use gimp)
(http://img.photobucket.com/albums/v259/psycho-mantis/mapbeforefog.png)
Next, you create a gradient in a new layer over the map. It has to be a circular gradient, from black to Alpha- 0% black, to create the proper fade.
(http://img.photobucket.com/albums/v259/psycho-mantis/Step2-4.png)
then, delete the lower layer (the map) and save your completed fog
I'd suggest naming it the same as the map, and putting in the map number, just so you remember.
(http://img.photobucket.com/albums/v259/psycho-mantis/FinishedFog.png)
in a parallel process on the map in game, put a change map event, and make the fog activate
if you were at 1/1 in the map editor when you screenie'd the map - fog is at 100%
if you were at 2/1 - fog is at 200%
if you were at 4/1 - fog is at 400%
(this is the fog's magnification, btw)
coordinates: top left orientation - 0,0
it should end up looking something like this (only with your map, not mine xD)
(http://img.photobucket.com/albums/v259/psycho-mantis/mapwithfog.png)
hope that helped
Ah, many thanks for the tutorial, even I could understand it. ^_^
sorry for the bump, but is there any way to make the light follow you like a lamp or light that you are carrying?
You can store the player's screen coordinates into variables and display the picture according to those coordinates. This would give the impression that the player is carrying the light. I actually posted a demo on this here (http://forum.chaos-project.com/index.php?topic=694.msg13821#msg13821).
Hey Blizzard I clicked on the link to the other topic and when I went to download the demo it's not there can you send it to me or repost it.
Thanx
I fixed the link there.
Hello All:
I hope I can avoid being scourged for "necro-posting" or whatever the lingo may actually be, but...
...I figgured Id mention my Animated Lighting Effects (http://forum.chaos-project.com/index.php/topic,5935.0.html) event system here.
Because between Blizzards method, and mine, anyone should be able to do just about anything with lighting anyway they want.
MeVII
Lol ...necro...