NPC Dialogue Shop

● ARCHIVED · READ-ONLY
Started by mjshi 241 posts Page 1 of 13 View original ↗

  1. NPC Dialogue Shop v1.0
    by mjshi- OK for use in all projects with credit

    Get it here!


    A dialogue-focused custom shop scene for a more interactive experience.
    Requires MV 1.5+, commissioned by the wonderful dragoonwys of these very forums.
    Features
    - Show an image for the shopkeeper!
    - Have custom dialogue for each individual shopkeep
    - Run common events to have your shopkeep handle quests, or just to chat
    - Quick view of how much buying the item would change your stats
    - Default layout for 1280x720 but since window sizes can be customized, they can be resized to anything

    Addons
    NPC-specific item descriptions (edit by me, requested by tale)
    Display item pictures by Silva [direct link] (requires Yanfly Item Core)

    Alternate layouts available via the in-plugin switcher! Feel free to share your own , and I'll add them to the plugin database!

    Screenshots
    when the help box is blank, that means an item description would normally show there (the test items didn't have descriptions). shopkeep image courtesy of dragoonwys
    [embedded media]

    Version History
    1.0 plugin released
    1.01 added layout switcher

    Credit
    mjshi
  2. This looks cool! I like your plugin, I don't know if it can be compatible with plugins such as restricted inventory, I will test it back.
  3. @bohutang Thanks! This is essentially a shop reskin, so theoretically it should work with most other plugins that aren't directly modifying the vanilla shop (which restricted inventory doesn't sound like it is ^^)
  4. @mjshi Nice to meet you, if I find the bug on your plug-in I will sent you the message. Have a nice day.
  5. For setting up a default MV resolution layout, here are the pixel positions:

    Command Window
    {"x":"0","y":"0","width":"562"}

    Gold Window
    {"x":"561","y":"0","width":"255"}

    Item List
    {"x":"0","y":"71","width":"562","height":"374"}

    Sell Item List
    {"x":"0","y":"143","width":"562","height":"301"}

    Possessed Items
    {"x":"561","y":"158","width":"255"}

    Actor Stat Window
    {"x":"561","y":"229","width":"255","height":"216"}

    Preview:
    defmv.png

    Also this plugin is compatible with Menu Screen Layout Resize.
  6. Great work as always!
  7. This is awesome. plain and simple
  8. @Lonewulf123 @Finnuval Thanks, glad you guys like it ^^ lemme know if there's anything it could use, too-- I was thinking of maybe having the talk option be switch-on/off-able once I have time to code that in.

    @tale Thanks for this! I've linked your layout up above on the main post.
  9. Would this be compatible with Yanfly's Shop Plugin?
  10. 8ae3b638a5.png

    I'm having a problem with the plugin, i tried it in a new project to see if it was another plugin causing trouble, but it keeps happening
  11. @ShadeMattson It's an issue how the windows overlapped with each other due to another plugin that's window related- to correct it, try MPP_WindowInsideClear and tweak the numbers inside the parameters then test-play to see if the gap clears up. If not, change the param numbers till the windows look fixed.
  12. If you've done what @tale said and it still doesn't work, feel free to send over a test project for me to see what the root of the problem might be.
  13. tale said:
    @ShadeMattson It's an issue how the windows overlapped with each other due to another plugin that's window related- to correct it, try MPP_WindowInsideClear and tweak the numbers inside the parameters then test-play to see if the gap clears up. If not, change the param numbers till the windows look fixed.

    It fixed the problem, thank you very much
  14. It's taken awhile, but here's the vanilla MV layout!

    Screenshot

    upload_2019-1-4_20-52-6.png


    Values:
    Command window
    {"x":"10","y":"10","width":"500"}

    Gold window
    {"x":"510","y":"10","width":"240"}

    Item list
    {"x":"10","y":"82","width":"500","height":"350"}

    Sell item list
    {"x":"10","y":"154","width":"500","height":"278"}

    Possessed item list
    {"x":"510","y":"82","width":"240"}

    Actor stat window
    {"x":"510","y":"154","width":"295","height":"218"}
  15. I have an Item shop, Armor shop, Weapon shop.... and in a few cities im making illl have like a florist, jeweler, ect. I LOVE this plug in... but how touse different images to come up instead of the one? I think i maybe missed it if it was possible.
  16. @gothicvoid
    It's written in the help file.
    First, change the variable chosen in Shopkeeper Variable to the index of your NPC, in the Shopkeepers list. 1st NPC = 0, 2nd = 1, 3rd = 2, etc.
    Then, call the shop as per normal!

    Here's the example of how the event looks in an event.
    gtHZqUy.png
  17. dragoonwys said:
    @gothicvoid
    It's written in the help file.
    First, change the variable chosen in Shopkeeper Variable to the index of your NPC, in the Shopkeepers list. 1st NPC = 0, 2nd = 1, 3rd = 2, etc.
    Then, call the shop as per normal!

    Here's the example of how the event looks in an event.
    gtHZqUy.png
    how do i do the part after the shop... i kinda am just learning or should i have PMed this?
  18. After the shop part? Sorry, I don't think I understand. ^^'
    Basically, to change the shopkeeper image, you have to do it before you start your Shop Processing

    First, open the plugin parameters and place the number of the Variable you want to use in Shopkeeper variable param.
    Second, make as many shopkeepers you want in the Shopkeeper Param.
    Finally, make an event, use Control Variables to change the stored number of the Variable that you have listed in step 1 and then add Shop processing. The 1st shopkeeper = 0, 2nd shopkeeper = 1 etc

    When you open the shop, it will have different shop keepers depending on the number.
  19. so... im sorry... i dont get it. I tried.. it doesnt look anything like the image you posted It comes out like

    Control Variables : #0001 = Shop NPC = 1

    .. can you dumb it down for me? seriouslly. i just need step by steps the first time then i know how to do it. it this old brain of mine. not as sharp as it used to be.
  20. @gothicvoid

    There's some setup necessary to get everything running here. If you double click on shopkeepers, then on an empty row, it should pop up something like this:

    screenshot
    upload_2019-3-10_23-21-11.png

    That's how you add shopkeepers. Just follow the instructions and read the description boxes/names to figure out what each thing is.

    Once you configure all of that you set the shopkeep variable (control variable #1, in this case) equal to whatever shopkeep you want to use.

    After that, make sure your event looks something like what dragoon posted:

    dragoonwys said:
    Here's the example of how the event looks in an event.
    gtHZqUy.png

    run, and you should be good to go! Let me know if you need a video tutorial, but that will take some time to make. I'm a bit busy at the moment, and it may be at least 3 or 4 weeks before I can find the time to sit down and do all of that.