Kino - SocialSystem [Version: 1.01]

Discussion in 'JS Plugin Releases (RMMV)' started by Kino, Mar 25, 2016.

  1. Kino

    Kino EIS Game Dev Veteran

    Messages:
    515
    Likes Received:
    672
    Location:
    United States
    First Language:
    English
    Primarily Uses:
    RMMV
    Intro:


    This plugin allows you to create a social system in your game; essentially, a list of contacts that you have on any map in your game.


    Version: 1.01


    Change Log:


    Fixed the Scene, so you can back out accordingly back to the map.


    Features:

    • Scrollable Contact Window
    • Window to look at every map's contacts
    • Set the social rate (like meter)
    • Store social rate (like meter) in a game variable
    • Update contact description
    • Different Contacts for each map

    Instructions:

    1. Install the script with the same name: KRSocialSystem.js
    2. Have fun!



    /* Version: 1.00
    * This plugin allows you to create a social system in-game.
    * It stores the information on contacts on a map, and generates
    * a list of contacts / people.
    *
    * Notetags:
    * <contact: description >
    * Designates an event as a contact, and a description for that contact.
    * We use the event's name as a contact in game.
    *
    *
    * Script Functions
    * Note: contactId is the same as the eventId on that map.
    *
    * KR.Helpers.setContactDescription(contactId, description)
    * - Update/change the contact description you entered.
    * KR.Helpers.getContactDescription(contactId)
    * - Returns the contact description (can store in a game variable).
    *
    * KR.Helpers.setContactSocialRate(contactId, rate)
    * - Adjusts the socialMeter 0 - 100
    *
    * KR.Helpers.updateContactSocialRate(contactId, value)
    * - Add/Subtract the social rate by some value (converted to decimal).
    * - You can enter negative or positive numbers.
    *
    * KR.Helpers.getContactSocialRate(contactId)
    * - Returns the contact social rate (can store this in a game variable).
    * Note: It will be between 0 - 100; it won't be in decimal format.
    *
    * KR.Helpers.startSocialSystemScene()
    * - Starts the social scene.
    */


    Setup Example Windows:

    [​IMG]


    [​IMG]





    In-game Examples:


    [​IMG]


    [​IMG]

    Please see the below attachment to use this plugin.



    Credits:


    Free for both commercial and non-commercial use.Credit with the name Kino.


    Thanks:Thank you to anyone who decides to use this script; I appreciate it!


    If there are any bugs/issue, please contact me via message on the forums. I want to try and make the script as extensible/flexible as possible, so if you have an ideas also


    please message me!


    View attachment KRSocialSystem.js
     
    Last edited by a moderator: Jun 14, 2016
    #1
  2. Radis3D

    Radis3D Just a Devilz Veteran

    Messages:
    172
    Likes Received:
    33
    Location:
    Surabaya, East Java, Indonesia
    First Language:
    Indonesian
    Primarily Uses:
    RMVXA
    Wow.. 


    Maybe, it can be implemented in my project.. :)


    Thank you for making this plugin.. ? ? 
     
    #2
    Kino likes this.
  3. Ghost of Christmas Kloe

    Ghost of Christmas Kloe Ghost of a Princess Seagull Veteran

    Messages:
    1,504
    Likes Received:
    913
    Location:
    Somewhere...
    First Language:
    English
    Primarily Uses:
    N/A
    This is really well done and really dynamic, you could use it as a phone, a diary or even a journal. I think we don't re-visit NPC's enough in RPGs, I wish more had this function so we remember the awesome conversations and quests we help them with!  :D


    EDIT: I have a question though... How do we actually get to the Scene? I can't find anything in the plugin description about it... I might be overlooking something but you show screenshots of the Contact Window, and I really wanna use a contact window.


    Edit: It's been cleared up in the OP
     
    Last edited by a moderator: Mar 26, 2016
    #3
    Kino likes this.
  4. Kino

    Kino EIS Game Dev Veteran

    Messages:
    515
    Likes Received:
    672
    Location:
    United States
    First Language:
    English
    Primarily Uses:
    RMMV
    Sorry about that, yes there is a method for going to the scene!



    KR.Helpers.startSocialSystemScene()


    This will start the scene; I'll update the original post to reflect this.
     
    #4
  5. Ghost of Christmas Kloe

    Ghost of Christmas Kloe Ghost of a Princess Seagull Veteran

    Messages:
    1,504
    Likes Received:
    913
    Location:
    Somewhere...
    First Language:
    English
    Primarily Uses:
    N/A
    Nah, no problem, thank you for the quick reply!  :D
     
    #5
  6. Kino

    Kino EIS Game Dev Veteran

    Messages:
    515
    Likes Received:
    672
    Location:
    United States
    First Language:
    English
    Primarily Uses:
    RMMV
    Just trying to help.
    Also, I just updated the file, so now it should work perfectly!
     
    #6
  7. Diretooth

    Diretooth Lv. 23 Werewolf Veteran

    Messages:
    1,195
    Likes Received:
    435
    Location:
    Earth
    First Language:
    English
    Primarily Uses:
    RMMV
    Neat plugin, but I'm having trouble getting it to actually work. 'KR.Helpers.setContactDescription(contactId, description)', for instance, doesn't give any indication on what to input in 'contactId' or 'description'. The description of what the script call does, 'Update/change the contact description you entered.' does not explain or elaborate on how it makes the change, or how to write it in such a way that an error doesn't happen.
    For instance, I want the contact 'Ralph, Local Hero' to initially read as '???, Unknown' Since having ??? for every event would make everything confusing, my solution thus far was to change every Contact to '???, Unknown' by doing: 'KR.Helpers.setContactDescription(???, Unknown)' on the event in question. (This is just through experimentation with the plugin, maybe I'm missing something obvious, maybe since I lack most knowledge regarding JavaScript, I'm incapable of actually using the plugin, which if in that case, severely limits the usability of the plugin to those with some degree of JS knowledge.)
    Maybe some in-depth description and examples of how to use the script calls in the plugin's help section would be a good addition, maybe a demo showing multiple uses for each script call would work, because given my rate of 'how do I make this thing work, oops, I broke it', I'm only going to be coming back multiple times asking what do. And I don't want to take up more of your time than is absolutely necessary.
     
    #7
  8. Kino

    Kino EIS Game Dev Veteran

    Messages:
    515
    Likes Received:
    672
    Location:
    United States
    First Language:
    English
    Primarily Uses:
    RMMV
    Sorry, but I'm not working on most scripts anymore; moving on to newer projects.
     
    #8
  9. Rishi Raj Jain

    Rishi Raj Jain Pokemon MV Maker Veteran

    Messages:
    204
    Likes Received:
    46
    Location:
    India
    First Language:
    English
    Primarily Uses:
    RMMV
    @Kino Can it be used as a Pokenav (Pokemon series), they are chiefly useful for Trainers to contact and re-battle other Trainers.
     
    #9
  10. Diretooth

    Diretooth Lv. 23 Werewolf Veteran

    Messages:
    1,195
    Likes Received:
    435
    Location:
    Earth
    First Language:
    English
    Primarily Uses:
    RMMV
    Then could you perhaps make it known in the original post that this plugin will not have further support?
     
    #10

Share This Page