Lecode

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
662
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:

Neo Soul Gamer

Veteran
Veteran
Joined
Aug 10, 2012
Messages
659
Reaction score
407
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

Veteran
Veteran
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
Veteran
Joined
Aug 28, 2014
Messages
516
Reaction score
449
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
Veteran
Joined
Aug 6, 2012
Messages
2,416
Reaction score
1,323
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

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
662
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

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
662
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

Veteran
Veteran
Joined
May 8, 2014
Messages
90
Reaction score
9
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

Veteran
Veteran
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
Veteran
Joined
Aug 1, 2016
Messages
881
Reaction score
573
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?"
 

tevak

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

Lecode

(─‿‿─)
Veteran
Joined
Dec 18, 2013
Messages
490
Reaction score
662
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

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

Kevin O'Ryan

Kevin O'Ryan
Veteran
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

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,514
Reaction score
8,147
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

Just a reminder to back your projects up. Do it now! :yamero:
If there was an award for best game dev procrastination, I'd say 'meh, I'll pick it up tomorrow' >_>
Honestly though, I've been staring at the same half-made map for a while now haha! Ahhh, I'm so tired of mapping!
Time to add the support for import/export default RMXP maps. Maybe there will be customized tileset support later. In theory, I can reimplement the entire RMXP inside this RMXP-made game to make more RMXP games. :kaojoy:RMXPFORMATSUPPORT.jpg
Gonna make a story driven game someday in RPG Maker about this diseased character in my head. Will keep you posted, although I was warned by the authorities that posting too much would be considered 'spamming' so I WON'T SPAM. It'll be before I go in anyways. It's gonna be messed up but it won't be explicitly pornographic so don't worry, I'll give all the content warnings. :barf::barf::barf:
If you're a RM plugin developer, and you're reading this...

Thank you. You're awesome. Even if I haven't used your plugin, your work is appreciated.

Forum statistics

Threads
111,266
Messages
1,059,747
Members
144,563
Latest member
BrunoSubaru
Top