Tile Problem

Hey another question.

So I'm creating another item that will let the players freeze tiles of water if they interact with it if they have it in their inventory, I was wondering what is the best way to go about this, thanks!
I'm thinking you would have to use regions, you mean all the water in your world could conceivably be frozen if your player has this item?
It's a hard feature to implement, but it's possible.

You can use Yanfly's region event and item core, then program the item to run a common event that generates an event (galv's event generator), which is walkable ice.

It will require some coding and I can't really tell if the method I suggested has a good memory/processing efficiency though.
you wouldn't want to put events on every water tile (in the case where the player tried to freeze all of the water, or even reasonable-sized sections). A plugin that would change the tile ID from a water tile to an ice tile would be better.

Although - if you're saying the player has to interact with the water tile, and then it'll be frozen if the item is in inventory - how are you imagining they would "interact" with the water tile? You definitely wouldn't want to use events, and region plugins usually just require you to be facing, or on a region tile to trigger - no interaction required.
you wouldn't want to put events on every water tile (in the case where the player tried to freeze all of the water, or even reasonable-sized sections). A plugin that would change the tile ID from a water tile to an ice tile would be better.

Although - if you're saying the player has to interact with the water tile, and then it'll be frozen if the item is in inventory - how are you imagining they would "interact" with the water tile? You definitely wouldn't want to use events, and region plugins usually just require you to be facing, or on a region tile to trigger - no interaction required.
That sounds like a better idea, How would that even work may I ask?
I'm thinking you would have to use regions, you mean all the water in your world could conceivably be frozen if your player has this item?
Yeah, except for deep water and oceans but pretty much all water, and I'm trying to make it so the ice goes away either when the player moves or when they leave the area
I can think of way for you to do it if you were satisfied with the item freezing the whole body of water instead of just a path. Would that be acceptable to you? (you could still set it up so it will thaw, say when the player leaves the map, or reaches a certain point away from the water)
I can think of way for you to do it if you were satisfied with the item freezing the whole body of water instead of just a path. Would that be acceptable to you? (you could still set it up so it will thaw, say when the player leaves the map, or reaches a certain point away from the water)


I just asked a few of my play testers and they said it makes the game feel like they have less control

But if its not possible in anyway, I'll happily learn! Even if it doesn't work, new skill would always be appreciated to pick up 🙂
Thanks a lot!
Ok, I'll work something out and post it here, it will be either later today or tomorrow since I won't be home. Maybe I'll figure out a way to make a path while I'm at it, who knows, haha. Stay tuned. : )
Ok, I'll work something out and post it here, it will be either later today or tomorrow since I won't be home. Maybe I'll figure out a way to make a path while I'm at it, who knows, haha. Stay tuned. : )

thank you so much! I been trying to get past this wall for so long can't wait to see what you come up with!
I second the suggestion to use Galv's Event Spawner plus Galv's Tools and Yanfly's Region Events.

When the player is in the region such that he is facing a body of water, enable Galv's Tools, next the player should have an item that when used (via Galv's Tools) spawns an event the player can walk over. Hope it works. I myself am using these plugins but for a different purpose.
What exactly is your goal here? "Freeze tiles of water" is a very broad description. It might be better to explain what you're trying to achieve so we can give you more specific help.

An example:

In my game, I have an island that's surrounded by a large body of water. When the party recruits a certain character who has control over water, the water surface immediately surrounding the player freezes, so the party is then able to form a path to reach the island (or any other location that was previously inaccessible). This works by changing water tiles that are 1 or 2 tiles away into ice, and changing ice tiles that are 3 tiles away back into water (so it changes to ice as the player approaches, and back to water as the player moves away). It only happens when that certain character is in the party, but it would be simple to change it so that it only happens when a certain item is in inventory. What DOESN'T happen, that's in your description, is that there is no interaction required in order for it to trigger - it's automatic.

I have done this using a script call snippet in a parallel process event on that map. Currently it's in Ace (Ruby) but I will have to convert it to MV (JS) at some point.
What exactly is your goal here? "Freeze tiles of water" is a very broad description. It might be better to explain what you're trying to achieve so we can give you more specific help.

An example:

In my game, I have an island that's surrounded by a large body of water. When the party recruits a certain character who has control over water, the water surface immediately surrounding the player freezes, so the party is then able to form a path to reach the island (or any other location that was previously inaccessible). This works by changing water tiles that are 1 or 2 tiles away into ice, and changing ice tiles that are 3 tiles away back into water (so it changes to ice as the player approaches, and back to water as the player moves away). It only happens when that certain character is in the party, but it would be simple to change it so that it only happens when a certain item is in inventory. What DOESN'T happen, that's in your description, is that there is no interaction required in order for it to trigger - it's automatic.

I have done this using a script call snippet in a parallel process event on that map. Currently it's in Ace (Ruby) but I will have to convert it to MV (JS) at some point.

They honestly don't need to interact i just want an ice path as they walk, what you described above is actually perfect.

I only said interact because i thought that was the only way possible
Is this only on one map, or on all of them? Can you use a region tag to paint all the tiles that you want to be affected by this item?
Is this only on one map, or on all of them? Can you use a region tag to paint all the tiles that you want to be affected by this item?
all maps

And i have a region tag set off to the side just for this idea.
And how does the player get this item, and can they get rid of it (and how)?

Meaning - is there a specific event that gives them the item, or can they buy it via shop processing (do you know the exact point/s when the player obtains or loses the item, and could turn a switch on/off at that time)?
And how does the player get this item, and can they get rid of it (and how)?

Meaning - is there a specific event that gives them the item, or can they buy it via shop processing (do you know the exact point/s when the player obtains or loses the item, and could turn a switch on/off at that time)?

They get the item from a boss in game to progress,

So they can only get it after that boss, so i know when they exactly get it, and the only way they get rid of it is at the end of the game if they do new game +
Would that turn off the switch?

I'll see if I can convert my system to MV. Will have to sooner or later, but was planning to do it later. Give me a few days, and bump if I haven't got back to you and you don't have another solution by the end of the week.
I worked something out. It's not ideal since we don't have a tile swap plugin. I had to make a doodad to create the ice, you would have to make an ice doodad for each body of water but it works.



Here's a demo to show how I did it. You would obviously want to tweak the animations/sound effects to your tastes. (also, you can enlarge the border around the water to make sure your whole party is off the water before it reverts or you could add gather party)

It will only freeze if the party is standing on the shore, has the item and presses enter.

https://www.dropbox.com/s/ivk3cw9yurez4lc/tutorials and troubleshooting - Copy.zip?dl=0

@Shaz, will you allow free use of the plugin you mentioned when you write it? It sounds like a really good one! : )

Aw, man! I did it again! Sorry mods, I'm a bad person... I seem to be addicted to double posting lately...
Aw, man! I did it again! Sorry mods, I'm a bad person... I seem to be addicted to double posting lately...

Don't know what you're talking about... 😉

Original thread: https://forums.rpgmakerweb.com/threads/tile-problem.80253/