12-12-2024, 10:45 PM
KFactions VX + ACE
by Kyonides
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
VX & ACE
![[Image: kfactionsmenuvx03.jpg]](https://i.postimg.cc/7YD9QDBZ/kfactionsmenuvx03.jpg)
![[Image: kfactionsmenuvx04.jpg]](https://i.postimg.cc/jdXXp99Q/kfactionsmenuvx04.jpg)
![[Image: kfactionsmenuace01.jpg]](https://i.postimg.cc/PJJHGxks/kfactionsmenuace01.jpg)
![[Image: kfactionsmenuace02.jpg]](https://i.postimg.cc/Bbz0J0q8/kfactionsmenuace02.jpg)
The Main Faction Script
NO GUI

Terms & Conditions
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!


