- Joined
- Dec 29, 2018
- Messages
- 39
- Reaction score
- 5
- First Language
- English
- Primarily Uses
- RMMV
Okay, so without getting into too much detail, I am trying to work on a game mechanic where you have to ignite torches to be able to walk around. To do this I'm using Terrax Lighting to create an orb of light around a Torch. The Idea is, the tiles not within this orb that are dark can kill you. I am having trouble figuring that last part out, as I would need the dark tiles to not only instantly kill the player, but then, once a torch is lit and those tiles are no longer dark, cease being kill tiles and become safe to walk on. Another caveat is that I would need a way to do this that wouldn't slow down the game if I did it abunch of times, as there are a lot of torches on my map.
I've looked into using regions as events, and maybe setting the event to change to an event page where it no longer kills the player if a certain number of variables is met. This would mean each torch I light would add one constant to the variable that the dark tiles are connected to. In this case I would need to set up the torches and their corresponding tiles in a sequential linear way so that when you light torch 1, dark spots 1,2 and 3 that are within the light cease to be deadly because of the torch.
This seems complicated, and also doesnt seem much different from making a whole lot of events that would freeze the game. From my understanding, I need to attach a single event to a region number, and that region number will act only like that event. So lets say, I have an event. And that event is set to change to the second event page when the variable count reaches two, thus rendering the tile it is connected to harmless. Now if I use a region to replicate this event, that would mean that every single time I use this region, the tile it is on will become harmless. Which would mean if I use this region later on in the level, they will have already become harmless, even though they haven't been lit yet and are suppose to kill you. To make this work I'd have to make a new event for every set of dark spots around every individual torch which still seems complicated.
Any Ideas? I'm sorry if I've made it more complicated than it needs to be, please let me know if you have any questions, and here is a link to the plugin I'm using.
https://forums.rpgmakerweb.com/index.php?threads/terrax-lighting-system.49339/
I also apologize if this thread is in the wrong spot, I'm still new.
I've looked into using regions as events, and maybe setting the event to change to an event page where it no longer kills the player if a certain number of variables is met. This would mean each torch I light would add one constant to the variable that the dark tiles are connected to. In this case I would need to set up the torches and their corresponding tiles in a sequential linear way so that when you light torch 1, dark spots 1,2 and 3 that are within the light cease to be deadly because of the torch.
This seems complicated, and also doesnt seem much different from making a whole lot of events that would freeze the game. From my understanding, I need to attach a single event to a region number, and that region number will act only like that event. So lets say, I have an event. And that event is set to change to the second event page when the variable count reaches two, thus rendering the tile it is connected to harmless. Now if I use a region to replicate this event, that would mean that every single time I use this region, the tile it is on will become harmless. Which would mean if I use this region later on in the level, they will have already become harmless, even though they haven't been lit yet and are suppose to kill you. To make this work I'd have to make a new event for every set of dark spots around every individual torch which still seems complicated.
Any Ideas? I'm sorry if I've made it more complicated than it needs to be, please let me know if you have any questions, and here is a link to the plugin I'm using.
https://forums.rpgmakerweb.com/index.php?threads/terrax-lighting-system.49339/
I also apologize if this thread is in the wrong spot, I'm still new.


. Any ideas on how I could learn a way to do it simply, or perhaps maybe a tutorial on basic scripting for rpg maker mv that would accomplish my goal?