じ☆ve冰风 发表于 2026-7-25 13:58:43

KFactions XP

KFactions XP
Version 1.1.0

by Kyonides Arkanthes​


Introduction

You know what a faction is. What if your game had some of them?
What if they were looking to keep track of what the hero's faction has under control?
What if the hero needs to find out what his enemy groups have achieved as of late?
What if you use a menu to check it out at any given moment?


How to Predefine Factions​

Here you can take a look at the examples I left in the official demo.

                Ruby:       
module KFactions
FACTIONS["Centralists"] = faction = {}
faction[:leader] = "Elder Alsemus"
faction[:value] = "Law & Order"
faction[:fame] = 200
faction[:allies] = ["Nobility"]
faction[:enemies] = ["North Star"]
faction[:maps] =
FACTIONS["North Star"] = faction = {}
faction[:leader] = "Cyrus"
faction[:value] = "Lawlessness"
faction[:fame] = 1000
faction[:allies] = ["Merchants"]
faction[:enemies] = ["Centralists"]
faction[:maps] =
DESCRIPTIONS["Centralists"] =
"This faction has always been totally loyal to the king\n" +
"but their current leader has grown quite old.\n" +
"Other groups treat them like mere garbage."
DESCRIPTIONS["North Star"] =
"This faction claim to be the most powerful group of the\n" +
"entire kingdom but it has not been confirmed.\n" +
"Its leader is brave, stubborn and ruthless."
end


There is also the possibility to create new factions on the fly via the call script event command.

Screenshots

Spoiler: 2 Shots
https://i.postimg.cc/9QgBM9cD/kfactionsmenuxp06.jpg




DOWNLOAD XP DEMO​

Terms & Conditions

Free for use in non commercial games.
Contact me in you are going commercial.
Don't forget to include me in your game credits!

Don't repost this script anywhere else!


本贴来自国际rpgmaker官方论坛作者:kyonides处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/kfactions-xp.153986/
页: [1]
查看完整版本: KFactions XP