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:
- Install the script with the same name: KRSocialSystem.js
- 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:
Spoiler
In-game Examples:
Spoiler
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
本贴来自国际rpgmaker官方论坛作者:Kino处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/kino-socialsystem-version-1-01.59292/