01-06-2023, 02:58 AM (This post was last modified: 07-06-2023, 09:22 PM by kyonides.
Edit Reason: Script Update 7 + Replaced Download Link
)
KFactions
XP + VX + ACE
by Kyonides Arkanthes
Introduction
Is your game based on a world full of gangs?
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!
NOTES
RG stands for all versions of the RGSS based engines.
I have included PLENTY of comments in my script so please check them out.
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
The Scene Scripts can be found in my next post on this thread.
Free for use in non commercial games.
Contact me if you want to go commercial. It will be pretty much inexpensive anyway.
Please mention me in your game credits!
You can't repost these scripts anywhere!
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
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!
You can now download any of the 3 working demos by simply clicking on the link provided on the main post.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
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. Oopsie...
Anyway, now you all are able to download the 3 demos just as expected.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
Yes, my often forgotten RMVX friends, now you can also count on the ability to record a faction leader's quotes as well. And I've got a screenshot to prove it!
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
07-07-2023, 10:29 PM (This post was last modified: 07-07-2023, 10:34 PM by kyonides.)
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.
I don't personally agree with the lobbyists' current leader's remarks.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.