Adding Fire and other questions

Crash.PNG


The picture above is meant to be a ship crash site where the character starts the map. I wanted to have the dead trees be on fire, hopefully animated but i really have no idea how to go about doing that. I used the parallax method to create the map. (Doing most of the work in Photoshop.) Then ported it back into rpg maker MV to tinker with it some more. However, i don't see any fire tiles, other then lava and stuff like that.


I suppose if it comes down to it i could use still fire in Photoshop and just shrink it down. Might look decent.


Anyway any ideas on how this might be done?


For reference i used PandaMaru's trees, and it's hard to see, but there is a plane/ship in there by Fitsbach.
Fire, particularly animated fire, is typically done with eventing. Just create events wherever you want there to be fire, double click on the Image section, scroll down to !flames (or find other sprites if the RTP ones aren't your style), select the one you want to use, and right underneath the image, make sure "Stepping" is turned on. That's what gives it the animation.


Alternatively, if you want a little more control over it's positioning rather than using the grid based system, I believe Yanfly's Grid-Free Doodad plugin has some fire animations as well. Could work out if you dont plan on returning to the map, but I haven't experimented with the plugin enough to know if its possible to remove the Doodad's midway through the game, so the fire may end up being stuck there forever if you choose to use it 😛
RPGMaker has fire animation tiles located in the img/characters file. It's !Flame.png and !Other2.png. You could place flame events on the picture when you port it to the program. Create a new event where you want the flame to appear, use the fire graphic and, uncheck the "walking option" and check the "stepping" option to get the animation to work.


The flames are only one to two tiles high in size, so you would need to do several flame animation events, depending on how big you want the fire.
Ah cool, i thought it was in the tiles stuff so that makes more sense. I will check out the plug in too. For the most part i wont be having the character going back there so that should work well.


Thanks for the info.
Didn't want to make a second post just figure i will use this one. I'm having an issue with the overlay. I think it has something to do with Photoshop but i don't know why it's doing it. I would assume a setting somewhere. When i make the overlay by selecting what i want, the selection has a very fine line of white around my trees. At first i thought it was something weird with the plugin, as i noticed it first during a play test. (See below.)


Outline.PNG


But then i outlined a tree and just tossed black into the transparent layer and you can see it there as well. So I'm assuming its something to do with Photoshop but again no idea what exactly. Generally i work with gimp, just recently decided it was time to upgrade to photo. Been a while since i tried anything like this in there but if all else fails i might try gimp for these maps.


Photooutline.PNG
you are making the image in a white background and erasing the white after the image is ready.
the problem is that semi-transparent pixels keep a bit of white still.


Sorry to say, but try redoing it in a transparent background right from the start. Or do it in another layer and erase/turn invisible the background so it is transparent when you save as a png.
It's all done in a transparent background though. I'm following Fallen Lorelei's tutorial videos https://www.youtube.com/watch?v=6u5N8GMqIHs


and doing it (as far as i can tell) in the same way she does hers. But she doesn't have that outline where i do, not sure why. So i can only assume its a setting somewhere. But i will keep googling and see if i cant figure it out.
If the problem is not in the parallax and you are sure you are using a transparent background then the only think I can think of is you are saving as a file that doesn't support semi-transparency. Try using save for web to save the file and putting it as png-24.
Awesome, that was the issue. I was saving as it as png 8


Thanks for the help Waterguy.
New Question: I'm using The TerraxLighting plugin, and i was wondering if anyone knows of a way to have the players light radius be smaller on some maps and larger on others? I have it set to 250, which is great above ground since it's pretty spread out, but below ground in the dungeon maps it's just way too big and kinda ruins the other lighting effects i have set up.


Thanks
from the plugin's help file, you have to activate per map. So, just change its settings when you do so.

To activate the script in an area, do the following:


1. Put an event switch into the map.


2. In the 'Note' field (Next to the name) put the following text :


Light 250 #FFFFFF


- Light activates the script


- 250 is the lightradius of the object


- #FFFFFF is the lightcolor (white in this case)


3. You're done, its that simple.

Mind you, I have no idea what it means by an event switch, but if 250 is too big for your map, just use a smaller number.


Or do a plugin command to change it, that also works.
That's how I'm doing it now but the event controls the light radius around the event, where the player radius is inside the plugin settings. So for example i place an event and set the note tag for light 0 #FFFFFF so it darkens the map without an odd light spot. But then in the plugin general settings is where i can adjust the player radius. I assume i can get it to do what i want, but i think it involves using plugin commands, but i have no idea how to get those to work. Or what the command would be.
ok, I'll check the plugin again...

From the help file in the github folder:

Spoiler
You can set the starting radius of the player in the settings of the plugin.


You can alter the lightradius of the player with


Plugin command: Light radius 200 #FFFFFF (with 200 radius, color #FFFFFF)


If you want to change the player radius slowly over time (like a dying torch)


use the command 'Light radiusgrow 200 #FFFFFF'


You can alter the brightness of the players lightsource by adding:


Light radius 200 #FFFFFF B70' (Brightness values between 0 and 99, 0 is default)


Replacing the 'Light' keyworld with 'Fire' will give the lights a subtle flicker


You can configure the fire effect with the plugin command 'SetFire 7 10'


Where 7 is the radius change and 10 is the shift in color from red to yellow.


To use a flashlight effect use 'Flashlight on 8 12 #FFFFFF 3' and 'Flashlight off'


The arguments are optional (8=beamlength, 12=beamwidth, #FFFFFF=color, 3=beam density)


Examples :


Plugin command: Light radius 200 #FF0000 -> Player radius 200, color red.


Plugin command: Light radius 1 #000000 -> Player has no light at all.


Plugin command: Light radius 100 #FFFFFF B70 -> Player has a small, very bright light.


Plugin command: Fire radius 200 #FFAAAA -> Player has a torch with a red/yellow color


Plugin command: Fire radiusgrow 1 #FFAAAA -> The players torch slowly dies until its completly gone


Plugin command: Flashlight on 8 12 #FFFFFF 3 -> Turn on a flashlight instead of a globe around the player.


Plugin command: Flashlight off -> Turn off the flashlight and resume with a lightglobe.


Player Fire Settings:


Plugin command: SetFire 20 15 -> If the player is using a torch this will increase the flickerrate and colorshift a lot


Plugin command: SetFire 3 5 -> Reduced flicker-rate and colorshift.


Plugin command: SetFire 7 10 -> Will set flickerrate and colorshift of the torch to default.

So, from what I got, you just need to make a plugin command (the bottom right command in the third page of event commands, just type the command in the box).
Hm, i will give it a try. I always thought the plugin commands was more involved then that but hopefully that works.


Thanks again Waterguy.
I downloaded the terrax lighting demo after the newest update and i wanted to take a look through it. But does anyone know how to use it? I thought it would just be a game file that i could open but it doesn't seem to have anything.


Scratch that, terrax explained it to me. Have to copy and past the demo files into a new project.

Original thread: https://forums.rpgmakerweb.com/threads/adding-fire-and-other-questions.70661/