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["Westerners"] = faction = {}
faction[:leader] = "Elder Oldus"
faction[:value] = "Law & Order"
faction[:fame] = 100
faction[:allies] = ["Nobility"]
faction[:enemies] = ["Polar Star"]
faction[:maps] = [1]
FACTIONS["Polar Star"] = faction = {}
faction[:leader] = "Oscar"
faction[:value] = "Lawlessness"
faction[:fame] = 900
faction[:allies] = ["Merchants"]
faction[:enemies] = ["Westerners"]
faction[:maps] = [1]
DESCRIPTIONS["Westerners"] =
"This faction is totally loyal to the king but their\n" +
"current leader has grown quite old.\n" +
"Other groups treat them like mere garbage."
DESCRIPTIONS["Polar Star"] =
"This faction claim to be the most powerful\n" +
"group of the entire kingdom and beyond.\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.