じ☆ve冰风 发表于 2026-7-15 09:33:35

Konora's Factions & Reputation Reloaded - plugin for RPG Maker

Name: Factions & Reputation Reloaded ( aka KISS Faction System)

Original Post: KISS for RPG Maker MV

Author: Konora @AcerK


SIXEIGHTW0LF:
Diving into RPG Maker MZ, I came across this plugin for RPG Maker MV and knew I had to have it. So with the permission of the original dev, I've ported it over to RPG Maker MZ. The original was super easy to port over, thanks to @AcerK (aka Konora) and his talents in writing super clean and optimized code!

Konora:
I was inspired by the factions in the Elder Scrolls, EverQuest, etc., so I decided to take the idea of having different reputations with different factions (which could easily have been tracked with variables and events) and made it way more complicated than it should be. It looks nice, though.

Quick Setup:

rename the .JS file to FS_Reputation.js

simply place the plugin inside the plugins folder (e.g. MyRPGProject/js/plugins),then add a new JSON file inside "data" called Reputation.json

Then add this test data in that JSON file to start:
                JSON:       
[
null,
{
"ID": 1,
"Name": "Faction",
"Description": "This is a faction.",
"IconID": 64
},
{
"ID": 2,
"Name": "Other Faction",
"Description": "This is a faction with a \nslightly longer description.",
"IconID": 5
}
]


Now, create your events and add a few lines of code to instantiate the plugin:

                JavaScript:       
$gameSystem.discoverFaction(1); // 1 is the id of the faction/actor, given in the Reputation.json file

$gameSystem.addFactionPoints(1,20); // ads rep points (in this case, 20 of them) to the faction with 1 as its id

SceneManager.push(Scene_Factions); // this will trigger opening the faction/reputation menu



Features:


[*]Create an unlimited number of factions and track the player's reputation with each of them
[*]Each faction can have its own icon
[*]Show the player's reputation with a descriptive (changeable!) term (i.e. Good, Bad, Great, etc.)
[*]Customize the vocab used in the scene
[*]Show the player's reputation with a gauge
Some Important Things To Consider:

[*]The cap for both positive and negative reputations is 50 (or -50). This will certainly change in the future, but just know that any value above or below 50/-50 will currently result in the reputation being displayed as "Neutral".
[*]If no factions are discovered and you try to open the faction scene, the game will crash. (FIX INCOMING SOON)
Known Bugs:

[*]Text color changing (FIX COMING SOON)
[*]Reputation Gauge (COMING SOON)

Screenshots:

http://forums.rpgmakerweb.com/index.php?attachments/faction-window-new-3-png.54742/



本贴来自国际rpgmaker官方论坛作者:sixeightw0lf处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/konoras-factions-reputation-reloaded-plugin-for-rpg-maker-mz-ported-by-sixeightw0lf.143527/
页: [1]
查看完整版本: Konora's Factions & Reputation Reloaded - plugin for RPG Maker