Talk To Follower

Discussion in 'JS Plugin Releases (RMMV)' started by mjshi, May 22, 2016.

    Tags:
  1. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    915
    Likes Received:
    724
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Talk To Follower v1.01
    by mjshi- OK for use in all projects with credit
    Get it here! (direct link)

    <Requires Turn In Place>

    Why is it that the player can talk to everyone except for their closest friends?
    Well, no longer! Now, the player can talk to, specifically, the one follower right behind them.

    Features
    - Detects when the player is attempting to talk to their follower
    - Calls corresponding common event
    - Built-in functions for making the follower more responsive (check help)
    - Supports touch input!

    update 1.01 Plugin no longer crashes when there are no followers.

    Video demo/tips for setup



    Installation
    Drag into plugin folder, configure in plugin manager. Place this plugin below Turn In Place.

    Credit

    mjshi
     
    Last edited: Feb 5, 2017
    #1
    Baggie, Ebanyle, mishakoc and 17 others like this.
  2. Logan C.

    Logan C. Veteran Veteran

    Messages:
    73
    Likes Received:
    20
    First Language:
    English
    I was actually looking for something like that! Too bad that it's just for one party member tho'.
     
    Last edited by a moderator: May 23, 2016
    #2
  3. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    915
    Likes Received:
    724
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    @Logan C. Well, the thing is, with two followers, you can't talk to the second one with the way followers work in the default engine. With three followers, sure, you could talk to the third, but not the second, which would be a bit weird xD
     
    #3
  4. DreamX

    DreamX Veteran Veteran

    Messages:
    816
    Likes Received:
    817
    First Language:
    English
    Maybe you can detect when a mouse press is placed on a follower, freeze the followers, move the player there and have them face each other and begin the event.


    Doing it normally with the action button could also work if the follower follow system was changed up a bit so that followers don't follow so closely behind.
     
    Last edited by a moderator: May 23, 2016
    #4
  5. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    915
    Likes Received:
    724
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Yeah, but I'd prefer that both mouse and keyboard versions behaved the same way. I personally don't really like using the mouse to control anything (really, a shortcuts user myself xD), it's just there for touchscreen support. I don't want to ever require a specific control type in order to access the plugin's full functionality. Plus, if the followers are frozen every time and the player loses control of the player character who then proceeds to walk to the follower, this plugin ceases to become a "quick chat" type thing and more of a "cutscene" type thing. 


    The functionality shouldn't be hard at all to add (especially since the "detect when a mouse press is placed on a follower" is already built into the plugin as TouchInput.clickedOnFollower()), but I don't think that would be useful nor appropriate for this plugin's intended usage. Perhaps another plugin...
     
    #5
    DreamX likes this.
  6. JohnnyR

    JohnnyR Dungeon Master Restaff

    Messages:
    275
    Likes Received:
    135
    Location:
    My very own private hell!
    First Language:
    English
    Primarily Uses:
    RMMV
    Great script, just tested it and it's really easy to set everything up. Also, there's quite a lot of things I can do with it.


    Thanks a lot! Keep it up! :D
     
    #6
  7. Frogboy

    Frogboy I'm not weak to fire Veteran

    Messages:
    1,676
    Likes Received:
    2,104
    Location:
    North Carolina, U.S.
    First Language:
    English
    Primarily Uses:
    RMMV
    Very cool.
     
    #7
  8. Kich

    Kich Hi-bit pixel artist Veteran

    Messages:
    46
    Likes Received:
    145
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Almost a decade ago I wanted this for RMXP when I was making a newbie Pokémon (Indigo League) fangame and wanted Ash to talk to Pikachu, hahah. This is nice.  :)  
     
    #8
  9. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    915
    Likes Received:
    724
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
     



    @JohnnyR You're very welcome ^_^ I'm glad it was useful.


    @Lucas Kich Actually, this plugin was somewhat inspired by Pokemon Soulsilver/Heartgold's system. Two or three years ago, I wanted to make a VX ace pokemon-type game, and asked around the forums about having an event that followed the player around, through maps and everything. I was met with a "no, you can't transfer events around." Years later, I finally found a way, which was this plugin.
     
    #9
    DreamX and Kich like this.
  10. ifgrasscouldtalk

    ifgrasscouldtalk Villager Member

    Messages:
    7
    Likes Received:
    0
    First Language:
    English
    You might want to check your file and reupload because my computer keeps saying there's malware attached to it :/ I don't have this problem with the turn in place js or other plugins so far so I'm guessing something got attached to it on accident :/
     
    Last edited by a moderator: May 29, 2016
    #10
  11. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    915
    Likes Received:
    724
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    @ifgrasscouldtalk That's highly doubtful xD I think your antivirus may be overreacting a bit. 


    If you're really worried, here's a non-direct link. Copy that into a text file, then save it as "TalkToFollower.js".


    edit: Screenshot for visual reference


    [​IMG]
     
    Last edited by a moderator: May 29, 2016
    #11
    ifgrasscouldtalk likes this.
  12. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    915
    Likes Received:
    724
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Update 1.01 Fixed a crash that occurs during mouse click when the player has no followers
     
    #12
  13. Oriceles

    Oriceles 0 + a.atk * 4 - b.def * 2 Veteran

    Messages:
    384
    Likes Received:
    72
    Location:
    Venezuela
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    gotta say that this is one of the best scripts I've seen during my entire time on RPGMaker, it brings room to a lot of possibilities like triggering quests if you talk to a specific member on the right map, aside of all the narrative resources that this can bring.
     
    #13
  14. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    915
    Likes Received:
    724
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    @Oriceles That's very high praise xD I didn't have any grand ambitions when I made this (simply that, well, I "wanted Ash to talk to Pikachu", as Lucas put it) but I'm happy that you found this useful, and you've even given me a couple new ideas of how I could use my own script! I've never even thought of the possibility of quests, and treated this as more of a flavor-text thing for adding depth to party members.
     
    #14
    Oriceles likes this.
  15. Oriceles

    Oriceles 0 + a.atk * 4 - b.def * 2 Veteran

    Messages:
    384
    Likes Received:
    72
    Location:
    Venezuela
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    Hey mjshi hope you are fine. I want to request an update where you can define the common event to be used based on actor notetag, right now I think I'm about to face a nested branch hell because I want to do more of what this script  was initially supposed to do :p, then again, thank you for this amazing plugin ♥


    Edit: forget it, d'oh, minutes later I noticed I can use the main event to just do the actor checks, and then follow with calling another common event based on which actor is follower hahahaha.
     
    Last edited by a moderator: Nov 8, 2016
    #15
  16. mara_vertin

    mara_vertin Veteran Veteran

    Messages:
    150
    Likes Received:
    196
    First Language:
    german
    Primarily Uses:
    RMMV
    Just found your plugin and wanted to tell you how much I like it. Thanks for making and sharing. :D
     
    #16
  17. nifreds

    nifreds Warper Member

    Messages:
    1
    Likes Received:
    0
    Hi Mjshi, could you please, please, please make a VX Ace Friendly version??? I'd give you my game for free when it's done!
     
    #17
  18. bgillisp

    bgillisp Global Moderators Global Mod

    Messages:
    12,396
    Likes Received:
    12,631
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMVXA
    @nifreds : Just understand that the OP might not know how to make an ACE version, as ACE uses Ruby and MV uses JavaScript.
     
    #18
  19. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    915
    Likes Received:
    724
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    @nifreds I know Ruby, and this script is small enough to port over easily-- I'll get to it eventually, just not right now. I'm a bit busy at the moment with other things, but a VX Ace version is definitely on my to-do list.
    I don't need a free copy of your game-- I write these scripts and plugins because I like writing them, or because I find them interesting, or because I wanted something like them in my own projects. So I'll say that yes, eventually, there will be a VX Ace version, it's just not an extremely high priority right now.
     
    #19
  20. kaiijuu

    kaiijuu Veteran Veteran

    Messages:
    106
    Likes Received:
    88
    First Language:
    English
    Primarily Uses:
    RMMV
    I just want to say, I love this script! It'd be nice to implement it, since it could be useful for players to take to their followers if perhaps they're stuck on a quest/where to go next and the follower can offer advice.
     
    #20
    mjshi likes this.

Share This Page