Theft scene?

Status
Not open for further replies.

Damon

Villager
Member
Joined
Jul 27, 2014
Messages
9
Reaction score
0
First Language
English
Primarily Uses
I'm trying to make a scene where the main character is bumped into, and finds afterwards that he's missing a key item. I already know the gist of the action, have the guy run up, bump into the main character (Adding a slight screen shake and a sound effect.) And then have him leave. I just can't get him to leave correctly, and getting him to move towards the main character is proving tricky, too...
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
please post screenshots of your event pages, we can't help you without knowing what you did.
 

Damon

Villager
Member
Joined
Jul 27, 2014
Messages
9
Reaction score
0
First Language
English
Primarily Uses
please post screenshots of your event pages, we can't help you without knowing what you did.
Alright, sorry.

Screen1.png

and here's the custom path.

screen2.png
 

supercow

Artist
Veteran
Joined
Jul 16, 2013
Messages
383
Reaction score
146
First Language
indonesia
Primarily Uses
depends on how the area was made you may required some kind of path finding script for npc to go to hero and leave the area.
 

Damon

Villager
Member
Joined
Jul 27, 2014
Messages
9
Reaction score
0
First Language
English
Primarily Uses
I just need him to get to the main character, casually bump into him (with an apology), and leave in the same direction he was facing....
 

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,078
Reaction score
2,654
First Language
Greek
Primarily Uses
RMMZ
You can make a trick as an easy solution, involving an Autorun event that in the end will change event page to an empty parallel proccess.

Create a narrow path to the map, (Two tiles wide ) that there will be two NPCs standing. on one column.

It will be like two irrelelvant NPCs are on tiles 4 and 6 working as obstacles. (Real obstacles do the job too but NPCs make it a little more natural to happen.)

[1] [2]

[3] [4]

[5] [6]

[7] [8]

[9] [0]

So the user must pass through 3 and 5... then the NPC you wanna accidentaly bump with your character, comes from above and hits the targen when the character steps on tile 5....(tile 5 has the autorun event )

...sending your hero to tile 9, then leaves using 7,8,0 route, then the player takes back control.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
I have another suggestion:


Have the content activate a control self switch ON upon event touch, and move the set move route commands and the message to the second page.


On that second page, have no autonomous movement, and set the self-switch off after the commands are executed.


In my experience, you should never mix autonomous movement and set move route at the same time, especially not if both go over several frames (time). You can easily reach an undefined position and status that way, because no one can tell in which order which move command would execute.
 

Damon

Villager
Member
Joined
Jul 27, 2014
Messages
9
Reaction score
0
First Language
English
Primarily Uses
I have another suggestion:

Have the content activate a control self switch ON upon event touch, and move the set move route commands and the message to the second page.

On that second page, have no autonomous movement, and set the self-switch off after the commands are executed.

In my experience, you should never mix autonomous movement and set move route at the same time, especially not if both go over several frames (time). You can easily reach an undefined position and status that way, because no one can tell in which order which move command would execute.
Huh?
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,624
Reaction score
5,104
First Language
English
Primarily Uses
RMVXA
This can definitely be solved.

Could you give me a bit more detail on exactly what is going wrong when you try to have him move towards the main character, as well as what is going wrong when you try to make him leave?

If he's running into objects and stopping, you're probably best off giving him the "Through" property unless you want to script the whole scene (so that you can know where both the player and thief will be at any given time).  If he doesn't seem to be appearing at all, or the game freezes after he tries to leave, he may be too far offscreen at some point.  If he simply doesn't seem to be moving precisely where you want him to, there are ways to fix this too but they're a bit more complicated.
 

Damon

Villager
Member
Joined
Jul 27, 2014
Messages
9
Reaction score
0
First Language
English
Primarily Uses
It's complicated. If he's near a bush, he ends up running into that bush, then the game freezes. I'm gonna try something...
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,624
Reaction score
5,104
First Language
English
Primarily Uses
RMVXA
Yeah, either control his movement entirely so he'll never hit the bush, or just give him the Through property so he can walk "over" the bush.
 

Damon

Villager
Member
Joined
Jul 27, 2014
Messages
9
Reaction score
0
First Language
English
Primarily Uses
I did it. I put some crates (that the town handyman had to unload into adjacent buildings) in the way of other passages, ensuring that player walks straight down the center and steps on the event which calls the thief. He walks up, bumps into you and says "excuse me," then walks offscreen and disappears, only to reappear behind a tree for the player to find him after the main character notices the important item had been stolen (Which, by the way, happens in the sole store in town, when he picks up another item and, while putting it away, notices his important item is gone.)

This thread can be locked now.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,981
Members
137,563
Latest member
cexojow
Top