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] = [1]
  FACTIONS["North Star"] = faction = {}
  faction[:leader] = "Cyrus"
  faction[:value] = "Lawlessness"
  faction[:fame] = 1000
  faction[:allies] = ["Merchants"]
  faction[:enemies] = ["Centralists"]
  faction[:maps] = [2]
  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
kfactionsmenuxp06.jpg

kfactionsmenuxp07.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!
Just in case, I had to update the download link above because it was incomplete.
The RMXP Port Has Been Updated!​

😀 The latest iteration of KFaction XP offers you the possibility to record a faction leader's quotes and read them while on the KFactions Menu scene!

You would need the following script call to record it.

Ruby:
setup_quotes("Faction's Name", Number of Consecutive Message Boxes)

In the XP demo, both leaders have their very own quote.
And they're waiting to be recorded by your faction! 😮

kfactionsxp012.jpg
The Script Has Reached the 1.0.0 Milestone!​

Now KFactions not only allows you to record a leader's quotes but will also keep track who uttered those words in the first place! 😮

This means that no matter how many times the faction chooses a new leader, the former leader's quotes will remain intact.

By the way, you only need to press Left or Right to change the quote currently displayed on screen.
it has an error on line 690, when testing, and talk to the old guy right after,
it throws an error.
Untitled-2.png
Script Update!​

After fixing the bug our shadowy forumer recently reported above, I decided it was necessary to add a visual indicator of the number of quotes available for a given leader and the current position as well.

kfactions_xp013.jpg

Original thread: https://forums.rpgmakerweb.com/threads/kfactions-xp.153986/