golden sun style ice pillars

Hi, I'm trying to replicate the ice pillar system that appears in the golden sun games.
For those who are not familiar with the games,
It is basically a puddle which with the ability to freeze turns into a pillar of ice, which allows us to pass an obstacle.
the problem I have is to achieve that every time we are at the same level of the pillar, we can pass through them as a common pillar (that is, when passing behind the character it is not seen)
gsoa_0452.jpg
,
but being on a ground level higher, we can jump over them without the character ending up behind them.
gsoa_0454.jpg

It is worth mentioning that each of the pillars must be activated separately.
The community has helped me many times, and I don't turn to it unless I didn't find a solution on my own.
Thank you all in advance for your comments, suggestions, and answers. :rtear::hswt::hhappy:

I've moved this thread to MV Support. Thank you.

there are a few methodes, if its ice to water, water to ice, jump on them?
or if you want all 3, than you also have some skills to accomplish it?

from water, to ice, you need to see if the player used the skill to turn
into ice, if you want to jump on them as well or push them, then more
checks or pages are required.

but the question on those, do you use any plugins for it?
pure eventing? and what do you have so far to replicate it?
there are a few methodes, if its ice to water, water to ice, jump on them?
or if you want all 3, than you also have some skills to accomplish it?

from water, to ice, you need to see if the player used the skill to turn
into ice, if you want to jump on them as well or push them, then more
checks or pages are required.

but the question on those, do you use any plugins for it?
pure eventing? and what do you have so far to replicate it?
First of all, answering your questions, I want to transform a puddle from water to ice, and since you mention it, it could also be the other way around (from ice to water). I'm not interested in moving it, I just want them as pillars to jump.
I have not found plugins to achieve it, but if you know of any I would appreciate it. Now, if they do not exist and you know a series of commands that allow it, I will gladly receive them.
I have achieved a system, but I don't like it. especially since it works with a switch for each ice pillar
you need selfswitches and you can make a basic setup.
if you have a version, show it, we can see how to improve them.

while there is a variable you can use (self variable), and use more frames,
or do it with 3. depending on animation, melting after x frames or fixed
can be extended or more complex mechanic.

as I have something like this, but from rock (which require a plugin), but
it can be done fully evented as well, so that wont be a problem.

it's better to see how your system currently work and how we can improve them.
Okay, I'll upload a video showing what I've been up to now, but one thing needs to be clarified. my version of rpg maker MV is in Spanish, this is because that is my first language.
so I will try to explain as best as possible what appears in the video
you need selfswitches and you can make a basic setup.
if you have a version, show it, we can see how to improve them.

while there is a variable you can use (self variable), and use more frames,
or do it with 3. depending on animation, melting after x frames or fixed
can be extended or more complex mechanic.

as I have something like this, but from rock (which require a plugin), but
it can be done fully evented as well, so that wont be a problem.

it's better to see how your system currently work and how we can improve them.



The four events I show are the main ones for the mechanic to work.
The first is a barrier that is activated with a switch that we will call "UH" to avoid translation problems, when this switch is on, invisible barriers are raised to prevent the character from moving from the position to which he jumped.

the second is a conditional bypass for the character to jump, we'll call it "JP".
(It is one of the main problems, later I will say why).

the third one shown, is the main event, it is a puddle which when activated changes to a pillar of ice (modified RPGMZ content image) which is equal to the player when the "UH" switch is off and the "DH" switch is off ( other switch) is on. on the left ladder, both above and below are the on and off switches "UH" (at the top) and "DH" (at the bottom)

the fourth is an event, which we will call "SP" that is transported to the bottom of the pillar to prevent the player from going through there.

the operation is like this:
when he goes up the left ladder, "DH" is off and "UH" is on, the pillar will change to be below the player, the invisible barriers will activate and the "SP" event will be activated and prevent the player from leaving that tile. the player will be able to jump between pillars to go to the other side thanks to the "JP" event. when he goes down the left ladder, DH turns on and "UH" turns off, the invisible bars disappear, "SP" will return to its initial position being traversable and the pillar will be equal to the player again.

the problem lies in the "JP" event, which is activated regardless of whether there is a pillar or a puddle. the same goes for Barriers and the "SP" event.
the problem does not seem to be so great if not that the idea is that there are many ice pillars.
I actually just solved this the other day with a friend’s help!

i can share some screenshots and a video when I get home in ~2-3 hours 😀
I actually just solved this the other day with a friend’s help!

i can share some screenshots and a video when I get home in ~2-3 hours 😀
really?, I would really appreciate it 😮
:hwink:
Mine is a setup differently and require scriptcalls and selfswitch check.
as you can jump on the 1st you, you didn't check if you can jump on the
next (which should jump back to the ground).

as you have the top part, I use a RED_setRegionID in order to jump on
the region.

the beaty of that plugin is, that you check if there is a region or not,
if it is not, you cannot jump or jump on the floor.

but everyone tackles the problem in their own way. but sometimes combined
with other to continue, selfswitches in conditional branch can help you alot
as well on the same page as in if SS A is ON, do stuff else do something else.

but I can make a setup later unless @Zakarijah provide you the solution that
works for you. (maybe with some animation), as for now, it's just pop out of
nothing instead that it grows, you dont even use a skill either.
My set up requires a couple different events that can be copy/pasted and a few things changed to use them on different maps.

Firs, I have this event which flips a switch to let the game know you're 'above' the pillar after you climb up some vines
1645045409957.png
Then I have a similar event right below the first one, which flips a switch to let the game know you're 'below' the pillar again
1645045566599.png
Then I have the pillar itself, which has three pages and looks like this

Edit: Do NOT have Self Switch A as a condition, and delete "Control Self Switch : A = OFF
1645045668029.png

EDIT: Delete 'Control Self Switch : A = ON

1645045689989.png1645045722799.png
Then lastly, I have the 'jump' events for crossing the pillar. This event checks that the pillar switch is 'on' and makes the character jump across it. You would repeat the same event on the 'ending point' (cliff) but change the jump directions
1645045852730.png


Also, here's a link to the event in action 🙂
Both proposals are very good. I will try both. I'll start with @Zakarijah because you don't need a plugin.
although @ShadowDragon's looks more attractive more than anything because it reminds me of when I edited pokemon roms when I was younger.
I will tell you which one works best for me and I will upload a video.
My set up requires a couple different events that can be copy/pasted and a few things changed to use them on different maps.

Firs, I have this event which flips a switch to let the game know you're 'above' the pillar after you climb up some vines
View attachment 216519
Then I have a similar event right below the first one, which flips a switch to let the game know you're 'below' the pillar again
View attachment 216520
Then I have the pillar itself, which has three pages and looks like this

Edit: Do NOT have Self Switch A as a condition, and delete "Control Self Switch : A = OFF
View attachment 216521

EDIT: Delete 'Control Self Switch : A = ON

View attachment 216522View attachment 216523
Then lastly, I have the 'jump' events for crossing the pillar. This event checks that the pillar switch is 'on' and makes the character jump across it. You would repeat the same event on the 'ending point' (cliff) but change the jump directions
View attachment 216524


Also, here's a link to the event in action 🙂




@Zakarijah,
I just tried your proposal and the meeting is excellent, but it has a small problem that you may not have considered, the wall. your proposal works because your pillar measures three blocks or tiles (which is not a problem, I mean, I just have to make it longer), and it merges with the wall. what I want is to achieve more complex puzzles, not only from left to right but also from front to back, and in your case the barriers are natural in a wall.
but do not be discouraged, I had just thought a while ago of a waterfall with projecting rocks, which could freeze and be able to climb through the frozen rocks. I had discarded it because it seemed impossible to me, but now I will implement it thanks to this, so thank you.
@Zakarijah, by the way, what plugin do you use for jumps?
esque I couldn't help but read the "<BlockJump>" command in the event note
@Zakarijah, by the way, what plugin do you use for jumps?
esque I couldn't help but read the "<BlockJump>" command in the event note
I guess I don't quite get what you mean when you say it merges with the wall?

But I built this event using the RM "push and pull puzzle" tutorial on the site I just edited out the ability to push and pull pillars. lol

But I also use EliMZ_JumpSystem
I guess I don't quite get what you mean when you say it merges with the wall?

But I built this event using the RM "push and pull puzzle" tutorial on the site I just edited out the ability to push and pull pillars. lol

But I also use EliMZ_JumpSystem
I mean, what happens is that if you realize, the pillar you created is above the wall, this.
Sin título-2.jpg


the green square is the event, and the blue square is the extension of the event that is on the wall, with which it merges (in your case it is two blue blocks high), the walls of the program, by default, are made for not be crossed so being in the blue box, the game interprets that you jumped to the wall, this.
Sin título-3.jpg


Since the wall is an element that cannot be traversed normally, the game interprets that the character cannot move from that tile. which solves the aforementioned problem of being able to get down from the pillar.
I illustrate you with a video.



As you can see in the central platform is my version of your idea, above is the same but without the ice pillar, and below is how I want to implement it.
As you may have noticed, when the character jumps, he doesn't do it towards the pillar, but towards the wall. and when I use it as I have idea, the system does not work as it should.
Does this mean that the system is bad and is useless? NO.
It is an excellent system, I will not only use it for the waterfall, but also for the first rooms of the ice dungeon (working on it).
I hope that with this explanation (exaggeratedly detailed, for those who are starting and can read this post they understand, because it is not an easy concept to understand at first. I assumed that as the two tile event extended, the event covered those two tiles ) see what I meant by "merges with the wall"

please ignore the detail that does not program the jumps well😔
hello again, I'm done testing @ShadowDragon's suggested plugin, and be curious. Both ideas, both @ShadowDragon's and @Zakarijah's, served me well and complement each other perfectly.
I share with you a video of the final result.
Hi again, everybody. I have successfully finished creating the ice pillars as I wanted.
both @ShadowDragon 's and @Zakarijah 's ideas served me well. Mix the two and you'll get it.

I proceed to explain how I did it:
1.jpg


the first thing I did was create the ice pillar that @Zakarijah mentions
My set up requires a couple different events that can be copy/pasted and a few things changed to use them on different maps.

Firs, I have this event which flips a switch to let the game know you're 'above' the pillar after you climb up some vines
View attachment 216519
Then I have a similar event right below the first one, which flips a switch to let the game know you're 'below' the pillar again
View attachment 216520
Then I have the pillar itself, which has three pages and looks like this

Edit: Do NOT have Self Switch A as a condition, and delete "Control Self Switch : A = OFF
View attachment 216521

EDIT: Delete 'Control Self Switch : A = ON

View attachment 216522View attachment 216523
Then lastly, I have the 'jump' events for crossing the pillar. This event checks that the pillar switch is 'on' and makes the character jump across it. You would repeat the same event on the 'ending point' (cliff) but change the jump directions
View attachment 216524
then download the plugin @ShadowDragon suggested, called RED_SetRegionID
Mine is a setup differently and require scriptcalls and selfswitch check.
as you can jump on the 1st you, you didn't check if you can jump on the
next (which should jump back to the ground).

as you have the top part, I use a RED_setRegionID in order to jump on
the region.

the beaty of that plugin is, that you check if there is a region or not,
if it is not, you cannot jump or jump on the floor.

but everyone tackles the problem in their own way. but sometimes combined
with other to continue, selfswitches in conditional branch can help you alot
as well on the same page as in if SS A is ON, do stuff else do something else.

but I can make a setup later unless @Zakarijah provide you the solution that
works for you. (maybe with some animation), as for now, it's just pop out of
nothing instead that it grows, you dont even use a skill either.

once the plugin is installed, I started to paint the whole map with different regions,
the areas that are supposed to not be able to cross the border with region 1 (R1)
the stairs with region 2 (R2)
the base soil with region 3 (R3)
the soil with a higher level of R3 with region 4 (R4)
the soil with a higher level of R4 with region 5 (R5)
the soil with a higher level of R5 with region 6 (R6).
so stable if which region is above another or below
2.jpg

3.jpg


I installed a couple of Yanfly's plugins a long time ago that I imagined that one day I would use, and that day came.
are the plugins called
YEP_ReginoRestrictions and YEP_RegionEvents (both come and one more in their free plugin pack)
ideal for use with the RED_SetRegionID
4.jpg



then enter the map properties and in the notes I wrote the following command
<Player Restrict Region: 1>
this means that within this map, region 1 cannot be traversed
6.jpg

this so that when using the RED_SetRegionID plugin, the game would know that this region was a barrier

then create switches for each ground level, and name them after the corresponding region (R3, R4, R5 and R6)

5.jpg



also create common events so that these activate or deactivate the mentioned switches. in each one of them, the switches that will not correspond to the region = OFF and the one that belonged to the region = ON
7.jpg



the next thing was to go to the region events plugin and match the events with the same region
8.jpg

in this way, every time the character touched the region x the event x would be activated
Ex: character in R5, call common event "3-->4(R5)", switch R5=ON and switches R3,R4,R6,R7=OFF

Once that was established, it was time to order the events to appear.
9.jpg

10.jpg

In this way, every time the character was at the same level as the event, the event would be shared the same as the player, and if the character was one level or more above the event, the event would behave below the player.

now comes the part that almost drove me crazy to program

create events on the points to be able to jump to the ice pillars. and in which I wrote the following command (script) of RED_SetRegionID
$gameMap.setTileId(7, 12, 1)
$gameMap.setTileId(8, 11, 1)
$gameMap.setTileId(6, 11, 1)
$gameMap.setTileId(7, 10, 1)
which you dictate after the character jumps will swap the four regions around the player for region 1 (which serves as a barrier). If that was the case, the player would not be able to get out of the pillar and would give the impression of having gone up a level above the ground (which is what we were looking for at first)
11.jpg


the complicated thing comes now when you have to use many conditional derivations.
first in what direction will it jump (if you press the button ...)
then check if there is an ice pillar activated in that direction (if there is a platform in that direction this does not happen)
after jumping to pillar 2 the barriers that were in pillar 1 are deactivated and others around pillar 2 are activated

and so with each platform.
12.jpg
13.jpg


but in the end they worked well and what was sought was achieved. I share a video so you can see how it ends
a million thanks to @ShadowDragon and @Zakarijah. Without his ideas and help I would not have succeeded, THANK YOU!!!!!!!!! :rtear: 😢

Original thread: https://forums.rpgmakerweb.com/threads/golden-sun-style-ice-pillars.144963/