Save-Point

Full Version: KFactions XP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
KFactions XP

by Kyonides


Introduction

Is your game based on a world full of gangs? Confused
Or are there many political parties?
Or are the nobles looking to overthrow their current king?

If you replied positively to any of these questions, then this script was made just for you! Grinning

NOTES

RG stands for all versions of the RGSS based engines. Happy with a sweat
I have included PLENTY of comments in my script so please check them out. Winking

3 Demos are available now for you to play with!

How to Predefine Factions

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

Code:
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

XP

The Main Faction Script
NO GUI


Happy with a sweat The Scene Scripts can be found in my next post on this thread.


Terms & Conditions

Free for use in non commercial games.
Contact me if you want to go commercial. It will be pretty much inexpensive anyway. Laughing
Please mention me in your game credits! Grinning
Serious You can't repost these scripts anywhere! Angry
Please Look Up keep in mind that the main script won't work unless you add one of these Scene scripts I am posting here today.

All RGSS Based Versions No longer need a separate menu script.
It's Been A Long Journey 4 Sure! Laughing

As some of you may have noticed by now, there is a VX ACE port of my script already available here. Now all RGSS based engines can make some good use of my menu script! Grinning

[Image: kfactionsmenuace01.jpg]

Two Thumbs Up! You can now download any of the 3 working demos by simply clicking on the link provided on the main post.
Main Post Bug Fix

It's weird but the URL of my download link was quite incomplete. Probably, I ended up pasting the uploader's link instead of the public one on the main post. Oops! Oopsie...

Anyway, now you all are able to download the 3 demos just as expected. Grinning
The RMXP Port Has Been Updated!

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

You would need the following script call to record it.

Code:
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! Shocked

[Image: attachment.php?aid=1897]
VX's Turn Has Finally Come!

Yes, my often forgotten RMVX friends, now you can also count on the ability to record a faction leader's quotes as well. Winking And I've got a Cellphone screenshot to prove it!

[Image: attachment.php?aid=1898]
The Script Has Reached the 1.0.0 Milestone!

Now All of the RGSS Based KFactions scripts 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.

[Image: attachment.php?aid=1900]

I don't personally agree with the lobbyists' current leader's remarks. Confused
Script Update!

This new release includes a bug fix and a new feature: some visual indicators of how many quotes you have recorded so far and the current index.

1 Screenshot