NPC Dialogue Shop

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
969
Reaction score
807
First Language
English
Primarily Uses
N/A
@cokes1999 it's probably cause its a file hosting site and sketchy stuff was uploaded there before. I would just bypass it, if you don't know how, use this link (but file will be deleted in 7 days): https://filebin.net/jrzqrufjfzdfehbz
 

cokes1999

Veteran
Veteran
Joined
Jun 17, 2020
Messages
54
Reaction score
4
First Language
English
Primarily Uses
RMMV
Thanks! I figured out the problem. It's either there was an issue when I copied the code into the js file or it was because I didn't name the file exactly what you named it. Mine was named NPC Dialogue Shop.js (spaces) whereas yours was NPCDialogueShop.js (no spaces)
Either way I appreciate the help and thanks for the awesome plugin!
 

cokes1999

Veteran
Veteran
Joined
Jun 17, 2020
Messages
54
Reaction score
4
First Language
English
Primarily Uses
RMMV
@cokes1999 it's probably cause its a file hosting site and sketchy stuff was uploaded there before. I would just bypass it, if you don't know how, use this link (but file will be deleted in 7 days): https://filebin.net/jrzqrufjfzdfehbz
I forgot to hit reply but I responded to the demo you sent me above. It works great but I am running into one issue now.

The shop is not an NPC, but an empty event on an ice cream truck. What I was hoping for is the ability to have a conversation with the shop owner while still in the shop. Is there any way I can do this? Here is a video of the issue.


EDIT: its also worth nothing that I tried using SRMdude's super tools engine but an error comes up saying I am not allowed to edit this window.
 
Last edited:

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
969
Reaction score
807
First Language
English
Primarily Uses
N/A
@cokes1999
Yeah, plugin file names are really important.

That's just how it is, you can't really have dialogue in the shop scene so it exits to the map.

You can use events to show a picture of the NPC while the messages show though!
 

cokes1999

Veteran
Veteran
Joined
Jun 17, 2020
Messages
54
Reaction score
4
First Language
English
Primarily Uses
RMMV
@cokes1999
Yeah, plugin file names are really important.

That's just how it is, you can't really have dialogue in the shop scene so it exits to the map.

You can use events to show a picture of the NPC while the messages show though!
That's a good idea. I was using neldersons replace window with picture for the shop but what I could do it just show a picture in that exact spot while I talk to the guy. Thanks :)
 

Legend20

Villager
Member
Joined
Jan 26, 2020
Messages
12
Reaction score
4
First Language
English
Primarily Uses
RMMV
I'm having trouble trying to make the rumor text work. Every time I set something up and test it out, the shop just closes.

Here's a clip of what I'm talking about.

And here is what my current event looks like:
RPGMV_WYNU4D20Eh.png

Basically, what's happening here is.
1. I have multiple variables set to be different text that AidenFinchPrince says
2. Then the same thing happens with the shopkeeper (ChefMoraki)
3. The Shop Process begins with all the items I put available
4. And then I did the common event thing that was in the help file.

What should be happening is, it pops up with text in the rumor box that I've scripted through the common event.
RPGMV_M6a7uII4yq.png
I've been switching around doing a bunch of different things but I still get the same thing. It always closes the shop without saying anything. Buying, Selling, and Canceling work though.
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
969
Reaction score
807
First Language
English
Primarily Uses
N/A
I'm having trouble trying to make the rumor text work. Every time I set something up and test it out, the shop just closes.

Here's a clip of what I'm talking about.

And here is what my current event looks like:
View attachment 152007

Basically, what's happening here is.
1. I have multiple variables set to be different text that AidenFinchPrince says
2. Then the same thing happens with the shopkeeper (ChefMoraki)
3. The Shop Process begins with all the items I put available
4. And then I did the common event thing that was in the help file.

What should be happening is, it pops up with text in the rumor box that I've scripted through the common event.
View attachment 152008
I've been switching around doing a bunch of different things but I still get the same thing. It always closes the shop without saying anything. Buying, Selling, and Canceling work though.
Have you tried cross referencing against the example setup in the demo project? The file bin is expired but the tinyupload link should still be up.

Edit: I would also check that you set the talk switch id correctly, default is 1 but looks like you're using switch 11 here
 

GalacticGod

Veteran
Veteran
Joined
Jan 28, 2018
Messages
470
Reaction score
570
First Language
English
Primarily Uses
RMMV
@mjshi - I was wondering if you were planning on doing an updated version of this Plugin for RPG Maker MZ once it is released? I really like this plugin in a lot and would love to be able to use it with MZ as well.
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
969
Reaction score
807
First Language
English
Primarily Uses
N/A
@GalacticGod I would love to but I don't plan on getting copy of MZ on launch so I won't be able to develop for it :kaocry:

From what I've seen, it doesn't seem to have that many more features over MV, that MV doesn't already support within its huge plugin library-- so it's hard to justify dropping $70 on something I won't personally use.

I might get it later on when it inevitably goes on sale though and I'll definitely look into porting some of my more popular plugins there! But unfortunately that probably won't happen anytime soon. Until then I'll continue supporting my older plugins best I can!
 

shukiri

Villager
Member
Joined
Nov 6, 2018
Messages
19
Reaction score
5
First Language
english
Primarily Uses
RMMV
For anyone wondering how to get rid of the "talk" tab -- Comment out these 2 lines in the code (put "//" before them):
Code:
//this._commandWindow.setHandler('event',   this.commandCommonEvent.bind(this));

//this.addCommand(commonEventName,   'event');
And change this number to return 3:
Code:
Window_ShopCommand.prototype.maxItems = function() {
    return 4;
};
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
969
Reaction score
807
First Language
English
Primarily Uses
N/A
For anyone wondering how to get rid of the "talk" tab -- Comment out these 2 lines in the code (put "//" before them):
Code:
//this._commandWindow.setHandler('event',   this.commandCommonEvent.bind(this));

//this.addCommand(commonEventName,   'event');
And change this number to return 3:
Code:
Window_ShopCommand.prototype.maxItems = function() {
    return 4;
};
Thanks for sharing ^^
 

knocz06

Curious Rabbit
Member
Joined
Jun 28, 2020
Messages
6
Reaction score
1
First Language
Indonesian
Primarily Uses
RMMV
Just wondering, can I add a back button to this plug-in?
I'm using it for android and I don't want to use the two-finger tap gesture..
I think when I used ALOE_VirtualButtons, the back button that I set for Shop Scene is not there anymore. (It's visible before I used this plug-in).
Thanks in advance!
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,888
Reaction score
1,024
First Language
Dutch
Primarily Uses
RMMV
@knocz06 there is a plugin that add's a back button on every scene.
I need to see if I can find it when I got time.
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
969
Reaction score
807
First Language
English
Primarily Uses
N/A
Just wondering, can I add a back button to this plug-in?
I'm using it for android and I don't want to use the two-finger tap gesture..
I think when I used ALOE_VirtualButtons, the back button that I set for Shop Scene is not there anymore. (It's visible before I used this plug-in).
Thanks in advance!
All my stuff is free to use however you want including modification as long as you credit me :)
 

knocz06

Curious Rabbit
Member
Joined
Jun 28, 2020
Messages
6
Reaction score
1
First Language
Indonesian
Primarily Uses
RMMV
@ShadowDragon Okay, I think I fixed the virtual button one, seems like I did the plugin order wrong, so sorry to waste your time ^^"

@mjshi I mean is there any back function by default in the plugin hahaha, but nice to hear that the plug-in can be modified (if I can that is :,D)
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,888
Reaction score
1,024
First Language
Dutch
Primarily Uses
RMMV
@knocz06 here is the plugin that I was talking about,
in the param you can set it in which scenes to show as true/false.

while it's made for MV 1.6.2, it does work in 1.6.1, I cannot tell if it works below it.
also not sure if other exist though.
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
969
Reaction score
807
First Language
English
Primarily Uses
N/A
I mean is there any back function by default in the plugin hahaha, but nice to hear that the plug-in can be modified (if I can that is :,D)
Oh, sorry! I thought you meant that haha. Have you tried changing the plugin order? There's a "Cancel" button in the shop, but do you mean that there's no back button on the sub-menus?

And ShadowDragon, thanks for helping out :)
 

knocz06

Curious Rabbit
Member
Joined
Jun 28, 2020
Messages
6
Reaction score
1
First Language
Indonesian
Primarily Uses
RMMV
@ShadowDragon Thanks for searching the plugin, really appreciate it!

@mjshi yes, silly me. When I changed the plugin order the virtual button that I use is now visible!

Thanks for the help guys, my problem's now solved!
Thank you for your fast responds, really XD
Awesome plugin, I may say :D
 

Guardinthena

Artist
Veteran
Joined
Nov 30, 2013
Messages
426
Reaction score
1,030
First Language
English
Primarily Uses
RMVXA
I am so sorry to bother you, @mjshi but I seem to have run into an issue with the NPC Dialogue Shop. I'm scratching my head at it, since I don't think anyone else has reported it I don't know why I would have a problem. Maybe because I have plugins for full screen? I don't know. Well, so, it seems that the plugin is adjusting the gold window in the main menu rather than just on the shop call. Is this small bug fixable?
 

dragoonwys

Freelance Illustrator
Veteran
Joined
Jul 26, 2016
Messages
358
Reaction score
925
First Language
english
Primarily Uses
RMMV
@Guardinthena Have you tried switching off all the other plugins and turn on each plugin one by one to check if its actually the problem with those specific plugins? And if only happens when those plugins are ON, have you tried rearranging the plugins to see if it fixes the problem.
 

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

Latest Threads

Latest Profile Posts

grief... lol... I keep seeing request for MZ versions of MV plugins. this is why I haven't moved over and just MZ for my MV project.
Egg-sitting minigame is coming along nicely. Are you a bad enough dino to keep all these raptor eggs warm?

I forgot to post the animated version of the previous map I was working on. I'm still arguing with myself on if I like the stark blue ground better than the undergrowth ground used on the waterfall map. Hmm...
now that fmod is free for indie(<200k revenue), it would be interesting to see someone add fmod support for rpg maker
Can't say I can't promise progress on a project just yet. But I can say I had fun databasing tonight. :)

Forum statistics

Threads
105,802
Messages
1,016,568
Members
137,495
Latest member
Captain_ZZ
Top