Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
enigmaopoeia

[RMXP] Problem with two events not working (Solved!)

Question

Thank you, deathmoverz24, for fixing this!!

 

I am in the process of translating a Japanese RPG Maker XP fan game and I'm trying to fix the coding that was overlooked by the creator. I am still a novice to RPG Maker XP, but working on these fan games have taught me a lot of how things work. Two particular events are troubling me and I cannot figure out how to make them both work properly.

 

Basically, this is how the events are supposed to work:

  • The Hero enters a room with tons of poisonous tiles that will deplete their HP upon stepping on them.
  • If the Hero has less than 10 HP, it is supposed to summon a spirit [Event A].
  • The spirit [Event A] appears on this one particular poisonous tile [Event B].
  • Upon appearing, the spirit [Event A] rushes toward the Hero.
  • When the Hero talks to this spirit [Event A], it will heal them.
  • After healing the Hero, the spirit [Event A] disappears.

What the creator initially done is delete the poisonous tile, so it doesn't act like the other poisonous tiles, but the spirit works properly. I want to fix this so that the spirit and the poisonous tile both are working together. Whenever I try to fix this, I either make it where: 1.) The spirit stand in place instead of rushing toward the hero. Or 2.) The spirit never shows up, but the poisonous tile works properly.

 

Here are screenshots of the coding so you can see. If anyone wants, I can also send them the game with just that particular map.

 

I appreciate anyone who can help me out so that I can get a spirit and a poisonous tile to both work together in harmony.

Edited by enigmaopoeia

Share this post


Link to post
Share on other sites

17 answers to this question

Recommended Posts

  • 0
What the creator initially done is delete the poisonous tile, so it doesn't act like the other poisonous tiles, but the spirit works properly.

I don't understand that part.

 

Also, based on what I understood of the rest, I can't see how your spirit would heal the player automatically since its event page is set to "Action button".

 

Anyways I would have done things differently, maybe this can help.

 

Program for event #1 (check if spirit appears):

Conditions: none

Trigger: parallel process

 

> If actor's HP < 10

> > set Switch #AAA to ON

> If end

 

Program for event #2 (make spirit appear)

Conditions: Switch #AAA is ON

Trigger: Autorun

 

> Teleport spirit

> Change spirit graphic (so that it shows)

> Have spirit move toward the player

> Wait for movement's end

> Heal the player

> Change spirit graphic (so that it doesn't show)

> Teleport spirit back

 

And no program for the spirit event, everything is managed by the first two. Replace #AAA by any free switch slot number

Share this post


Link to post
Share on other sites
  • 0

change event # 2 to parallel.

i think you only have one conditional branch for this map so why not merge all the actions necessary in just a single conditional branch.

Share this post


Link to post
Share on other sites
  • 0

try setting the blue spirit to "trough"

 

I tried that and the spirit still just stands there instead of rushing toward the Hero.

 

> What the creator initially done is delete the poisonous tile, so it doesn't act like the other poisonous tiles, but the spirit works properly.

I don't understand that part.

 

The creator didn't even bother with a poisonous tile and just changed it to the spirit. So, even when the spirit is gone, the poisonous tile acts like a normal floor that doesn't damage the player. I'm sorry, I don't know how to best explain this...

 

Also, based on what I understood of the rest, I can't see how your spirit would heal the player automatically since its event page is set to "Action button".

 

I apologize, the Hero is supposed to talk to the spirit in order for it to heal them. It's not supposed to be an automatic event. I corrected this in my initial post.

 

Program for event #1 (check if spirit appears): & Program for event #2 (make spirit appear)

 

I don't know if I have done this correctly, so here are the screenshots:

 

[REMOVED!]

 

Somehow the spirit never shows up, even after all of the conditions are met.

 

change event # 2 to parallel.

 

I tried changing Event #2 to Parallel Process, and when the Hero enters the room, the spirit heals her from afar. When it's supposed to run over to her and then heal her.

 

Also do note that EV017 has another script on there for a Game Over if you touch the poisonous tiles, but it is unrelated to the spirit. Therefore I removed it from the image to not confuse the readers. So that is why it looks like I have "two conditional branches" for the same event.

Edited by enigmaopoeia

Share this post


Link to post
Share on other sites
  • 0

Cut the part of the Event ID 005 where "Set Event Location" and "Set event move route" should be place on the Event ID:0017 inside the condition(blue spirit=on) before the control switches entry.

 

rmxpevent6.png

 

rmxpevent5.png

 

it would be better if the names of the switches are short

Share this post


Link to post
Share on other sites
  • 0

Cut the part of the Event ID 005 where "Set Event Location" and "Set event move route" should be place on the Event ID:0017 inside the condition(blue spirit=on) before the control switches entry.

 

I have done exactly as how it is shown on the screenshots. And instead, the spirit does this.

 

[REMOVED!]

 

And when I walk toward him...

 

[REMOVED!]

Edited by enigmaopoeia

Share this post


Link to post
Share on other sites
  • 0

would you mind if you send me that map? its easier for me to edit it rather than analysing it in this way. just post a download link here.

Share this post


Link to post
Share on other sites
  • 0

I have uploaded the game with just the maps in question @ http://www.mediafire...clvtyn7a75cslr1

 

The map itself is called "Before Incinerator (Demolished)" and it is found under the "Demolishing" folder. Also the game has its own font which is included [Perfect DOS VGA 437.ttf], but I don't think it should be that much a problem since the problem is making sure the spirit rushes toward the Hero.

 

There are two versions for you to see:

  • Go to the northeast exit [Map: Before Incinerator (Demolished)] to see what I have done with the game so far.
  • Go to the southeast exit [Map: 焼却炉横(崩壊)] to see how the trigger is supposed to look like. This is the Japanese version where he didn't bother with the poisonous tile.

Edited by enigmaopoeia

Share this post


Link to post
Share on other sites
  • 0

i can now load the file but its strange the poisonous tile are not working. okay when i load the save file im supposed to go to the right? theres a ghost(?) approaches me i talked to it then when i touched the tiles. they're are not working. this concerns me coz i dont want to send a messed up map if ever i i figured it out.

 

uhmm maybe you can remove the poisonous tile part for the game if you like. I want to know what happens if Kaori made it to walked past all those poisonous tiles so that this problem will be justified.

 

Now im suspecting this one.

rmxp_event8.png

 

I think the reason why it has a "gap" its because its repeating the move route set to him(change graphic, move left, set loc)

thats why you cant walk one step forward.

im messing up some events but i failed today. someone who has better knowledge should really help you with this.

Edited by deathmoverz24

Share this post


Link to post
Share on other sites
  • 0

Im pretty good with events! but i cant download it from mediafire....can you possibly make it a drop box?

Share this post


Link to post
Share on other sites
  • 0

Cool! Ill get back with you shortly.

 

 

Dude, im really sorry....i just realized your useing XP....so i dont think ill be able to help. My engines VXace.

 

But i did, try it out....and, well....mybe its just on my end, but there is "NO" text anywhere. Not in the menu, and i didint find that flame you showed in the pic up there. Is that normal. Anyway, hope you get it sorted out.

Edited by forcebreaker

Share this post


Link to post
Share on other sites
  • 0
But i did, try it out....and, well....mybe its just on my end, but there is "NO" text anywhere. Not in the menu,

 

Because I am using a custom font which is included in the file [Perfect DOS VGA 437.ttf], after you install this font, the text should appear.

 

and i didint find that flame you showed in the pic up there. Is that normal. Anyway, hope you get it sorted out.

 

The spirit is supposed to show up, so I don't know why he isn't. That is quite odd. o.O;; Sorry, I dunno how to help you on that.

Share this post


Link to post
Share on other sites
  • 0

Because I am using a custom font which is included in the file [Perfect DOS VGA 437.ttf], after you install this font, the text should appear.

 

 

 

The spirit is supposed to show up, so I don't know why he isn't. That is quite odd. o.O;; Sorry, I dunno how to help you on that.

 

Also, when i tried to go off the map, to the left of the map where you start, it says there is no map data?

Share this post


Link to post
Share on other sites
  • 0

okay so far this is what ive done

prob1o.png

 

As you can see, I just started directly on the poisonous map and Ive also added an event that adds shihos ribbon in the inventory.

What is important is the scenario.

 

The spirit can now teleport properly to that spot and walk towards Kaori. after you talked to the spirit he will heal you and dissapear. Theres no gap anymore and it goes with the looping condition. Now if you have low hp, it will again teleport to the same spot and will approaches you then so on...

 

Try this one. I hope thats what youre looking for.

 

http://www.mediafire.com/?azrhdavyc7qn2cu

Share this post


Link to post
Share on other sites
  • 0

deathmoverz24, thank you so much! You actually fixed it! I inserted it into the game and it works like a charm. I will make sure to let my playtesters try it out to ensure it is working properly. But, as far as I know, it is fixed! Thank you again!!

 

Also, I want to credit you in the game for fixing something that has me stumped for the longest time. Mind if I credit you as "deathmoverz24"?

Edited by enigmaopoeia

Share this post


Link to post
Share on other sites
  • 0

no credit required bro. its just a little help. you already paid with me the resources in that game.smile.png if thats okay for you for me to use it.

 

also keep in mind that the poisonous tile only damages Kaori not the entire party.

if you need more help just ask here.

Edited by deathmoverz24

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...