Lecode

(─‿‿─)
Regular
Joined
Dec 18, 2013
Messages
490
Reaction score
676
First Language
French
Primarily Uses
N/A
Auto Push NPC 1.1
Lecode
Introduction
This plugin replicates a feature of Seiken Densetsu 3 that allow the player to push NPCs when they obstruct his way.

For those who don't know SD3, by simply walking in the way of an NPC, you can push it allong your path.

I always liked this feature since in RPG it is common to be stuck by NPCs.

mHGfJzz.png

Currently doesn't work with Hudell's pixel movement plugin.

Features
- Push NPCs

- Change player's graphic when pushing (ON/OFF)

How to Use

* Plugin Commands: *   -> AutoPushNPC ON           ( Enable auto push) *   -> AutoPushNPC OFF          ( Disable auto push) *   -> AutoPushNPC_Img ON       ( Enable pushing image) *   -> AutoPushNPC_Img OFF      ( Disable pushing image) * * To make an event impossible to <<auto-push>>, add a comment to his list, * with this text the following text: Immune_AutoPush * * Pushing image is in that format: ActorName_Push. * Ex: Harold_Push- Make sure to save the plugin as LeAutoPushNPC.js

- Make sure to activate the "Change Image ?" parametter if you want to use a custom graphi when the player

 is pushing an NPC.

Plugin

Download it from my Google Drive.

Credit and Thanks
- Lecode
 
Last edited by a moderator:

NeoSoulGamer

Regular
Regular
Joined
Aug 10, 2012
Messages
678
Reaction score
445
First Language
English
Primarily Uses
N/A
Looks great. Can't test it at the moment, so I figured I'd ask. How would this work with touchscreen/mouse controls?
 

Joronjo

Regular
Regular
Joined
Sep 17, 2015
Messages
155
Reaction score
30
First Language
English Spanish
Primarily Uses
Would you be able to use common events to also replicate the pushing sprite Like in SD3
 

Prescott

argggghhh
Regular
Joined
Aug 28, 2014
Messages
566
Reaction score
583
First Language
English
Primarily Uses
RMMV
If you have NPC's without any text that appears; if they are just there and roam freely, you can set them up with a move route to move one space away from the player.

This is for NPC's with dialogue or other things that they do when you click on them, if I'm correct. I'm not sure there's a way to event that properly.
 

Tuomo L

Oldbie
Regular
Joined
Aug 6, 2012
Messages
2,505
Reaction score
1,418
First Language
Finnish
Primarily Uses
RMMV
Is there a way to add a pushing animation like there? I could see this being used for much, much more things including puzzle solving.
 

Lecode

(─‿‿─)
Regular
Joined
Dec 18, 2013
Messages
490
Reaction score
676
First Language
French
Primarily Uses
N/A
Looks great. Can't test it at the moment, so I figured I'd ask. How would this work with touchscreen/mouse controls?
The plugin doesn't work for mouse/touchscreen controls.

This is for NPC's with dialogue or other things that they do when you click on them, if I'm correct. I'm not sure there's a way to event that properly.
Yes, that's the point. It is probably impossible to do that with events when their command list aren't empty.

Is there a way to add a pushing animation like there? I could see this being used for much, much more things including puzzle solving.
Yeah..I was thinking to add that feature too. I'll do that.
 

Lecode

(─‿‿─)
Regular
Joined
Dec 18, 2013
Messages
490
Reaction score
676
First Language
French
Primarily Uses
N/A
Version 1.1:

- Change player's graphic when pushing (ON/OFF)

 * Pushing image is in this format: ActorName_Push.
 * Ex: Harold_Push
 

Marillmau5

Regular
Regular
Joined
May 8, 2014
Messages
94
Reaction score
12
First Language
English
Thanks super cool script! Will come in handy for puzzles.
 

GamingRex4274

Warper
Member
Joined
Feb 22, 2016
Messages
2
Reaction score
0
First Language
English
Primarily Uses
Is there a way to make an object non-pushable? for example I wanna push a boulder and I can, but I can also push sword decorations! I don't want that!
 

Tyrael79

Regular
Regular
Joined
Jan 10, 2016
Messages
90
Reaction score
15
First Language
english
Primarily Uses
This is a awesome plugin and is amazing for testing, being able to push npc's out the way where I have incorrectly done there movement and they end up blocking the path!!


I've gotten it to works perfectly with the keyboard, but I can't seem to get it to work with a mouse or touch screen, unless I set the delay value to 0.


Is there a way to make it work with touch screens/mouse pointers that I just haven't discovered as I'm a noob?


or if there isn't and  you're still maintaining this plugin, is it possible to have a setting, where it counts the number of times you "bump into" an npc in a 30 second period and if its greater than X number of times the npc is pushed?


Well done on a really useful plugin btw!
 

ardav

Warper
Member
Joined
Aug 23, 2016
Messages
3
Reaction score
1
First Language
Eng
Primarily Uses
Where do you put this? > Immune_AutoPush
 

Doktor_Q

I'm not a real doktor, but I am a real Q
Regular
Joined
Aug 1, 2016
Messages
881
Reaction score
588
First Language
English
Primarily Uses
RMMV
@ardavYou put that in a comment in the event's list.


Would it be possible to have the opposite tag setup as well, for the future? While I like the auto push, I think events that can't be pushed will outnumber events than can by a the or four times, so it would be nice to only tag what can be moved. Something like another option for "default to off?"
 

song-of-the-stars

Kara Zor-El of Earth-23
Regular
Joined
Jun 26, 2012
Messages
31
Reaction score
14
First Language
English
Primarily Uses
N/A
Is there a way to use this to have events push the player?
 

Lecode

(─‿‿─)
Regular
Joined
Dec 18, 2013
Messages
490
Reaction score
676
First Language
French
Primarily Uses
N/A
Is there a way to use this to have events push the player?

By tweaking it. I don't plan to update it though, not now at least.
 

kindaw

Warper
Member
Joined
Dec 21, 2016
Messages
3
Reaction score
0
Primarily Uses
Hello there! sorry but i just wanted to make sure: what are the terms of use for this plugin? can I use it commercially? is that what you meant by "Credit and Thanks: Lecode"?
 

Lecode

(─‿‿─)
Regular
Joined
Dec 18, 2013
Messages
490
Reaction score
676
First Language
French
Primarily Uses
N/A
Free for both commercial and non-commercial.
 

Kevin O'Ryan

Kevin O'Ryan
Regular
Joined
Dec 15, 2013
Messages
159
Reaction score
37
First Language
English
Primarily Uses
RMVXA
Umm..... I don't know if I'm doing something wrong, but when I use a push sprite.... he never stops doing it... My characters sprite doesn't go back to normal and it's kinda annoying.. :(
 

Leviaph

Warper
Member
Joined
Jan 12, 2017
Messages
2
Reaction score
0
First Language
English
Primarily Uses
How does one actually use this? do I great an event? I'm new to this :(
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,954
Reaction score
11,895
First Language
German
Primarily Uses
RMMV
@Leviaph then I suggest you first follow the link to the starting point in my signature and go through those tutorials to get the basics before trying to use plugins.


There are also tutorials on how to install and use plugins on this forum, but most of them expect you to have at least minimum familiarity with the editor and the engines.
 

Latest Threads

Latest Posts

Latest Profile Posts

Tiny setback. Turns out my Title Screen image and one of my primary background & avatar images are AI Generated. Glad I went back and checked all my resource links. So I am in hot pursuit of replacement images. Which is fine since I was still missing some images that I need anyway.
Watching Vibrato Chain Battle System is too awesome! watch I wish had this gfx and animation skill to make such game!
Got drawn back by a notification about QPlugins. For those who want the MZ versions I was using, they're on my Github. https://github.com/ImaginaryVillain/QPlugins I literally don't care what you do with them, have fun! :LZSlol:

Meanwhile.. I'm glorying over these 550 new Victorian house models Epic gave me this month. See next post for examples....
Got my new monitor. Good news is, my display issues with linux are okay now. Bad news is, the readability of letters is a bit worse compared to the previous one.
Also, why the heck did I buy a 21.5" one when it's no longer sufficient for my needs?


It's a Christmas miracle. I finally got a recording to actually capture sound.

Forum statistics

Threads
136,892
Messages
1,271,109
Members
180,667
Latest member
ramadoor
Top