Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
562
Reaction score
805
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:

vzhhRfO.png



baztQWl.png





In-game Examples:


K5dMPlw.png



xS6KuPF.png

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:

Radis3D

Just a Devilz
Veteran
Joined
Nov 1, 2015
Messages
172
Reaction score
33
First Language
Indonesian
Primarily Uses
RMVXA
Wow.. 


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


Thank you for making this plugin.. ? ? 
 

Ghost of Christmas Kloe

The Icecream Princess
Veteran
Joined
Nov 15, 2015
Messages
1,548
Reaction score
961
First Language
English
Primarily Uses
RMMZ
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:

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
562
Reaction score
805
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.
 

Diretooth

Lv. 25 Werewolf
Veteran
Joined
Mar 10, 2013
Messages
1,231
Reaction score
446
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.
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
562
Reaction score
805
First Language
English
Primarily Uses
RMMV
Sorry, but I'm not working on most scripts anymore; moving on to newer projects.
 

Rishi Raj Jain

Pokemon MV Maker
Veteran
Joined
Jul 2, 2017
Messages
204
Reaction score
50
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.
 

Diretooth

Lv. 25 Werewolf
Veteran
Joined
Mar 10, 2013
Messages
1,231
Reaction score
446
First Language
English
Primarily Uses
RMMV
Sorry, but I'm not working on most scripts anymore; moving on to newer projects.
Then could you perhaps make it known in the original post that this plugin will not have further support?
 

xabileug

Veteran
Veteran
Joined
Jul 1, 2014
Messages
178
Reaction score
38
does anybody else use this script? i think there's a bug where a window flashes when you call the scene. the map name is not displayed also in the first two windows.
 

YizuzG

Villager
Member
Joined
Jul 17, 2020
Messages
7
Reaction score
0
First Language
Spanish
Primarily Uses
RMMV
What is the command to add contacts? because it adds it automatically and I would like you to add it if (for example) I interact with someone
 

Latest Threads

Latest Posts

Latest Profile Posts

For a long time I always consider XP soundtracks as the best one.
Just listened to some of MZ tracks from the free version.
It's... Quite mindblowing. xD
Only listened to the battles, towns, and fields.
But I'm sure the rest are equally good. :D
What do you guys want to see for the new Jump into Javascript? A continuation of the rpg_objects, or would you prefer a "lesson 0" where I go back to the absolute basics of Javascript and cover the fundamentals of the language and its construction?
Hey RPG members!!

How do you finish projects? Some new game developers start off strong but end up losing momentum. What keeps you motivated while working on new projects?
Feeling wee sleepy.. ZzzZ
So many threads to move to the right place. My post count is awesome, but 95% of it is due to moving things.

Forum statistics

Threads
112,453
Messages
1,068,390
Members
146,110
Latest member
xxsampahxx
Top