Save-Point
KFactions - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: KFactions (/thread-8627.html)



KFactions - kyonides - 01-06-2023

KFactions
XP + VX + ACE

by Kyonides Arkanthes


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 & VX & ACE

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


RE: KFactions RG - kyonides - 01-09-2023

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.



RE: KFactions RG - kyonides - 01-11-2023

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.



RE: KFactions RG & Menu - kyonides - 01-13-2023

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


RE: KFactions RG & Menu - kyonides - 07-05-2023

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]



RE: KFactions RG & Menu - kyonides - 07-06-2023

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]



RE: KFactions - kyonides - 07-07-2023

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


RE: KFactions - kyonides - 03-13-2024

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.

3 Screenshots