Kino - SocialSystem [Version: 1.01]

Kino

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









In-game Examples:






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
957
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
556
Reaction score
794
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
444
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
556
Reaction score
794
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
444
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
120
Reaction score
29
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
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,864
Messages
1,017,056
Members
137,573
Latest member
nikisknight
Top