Demo of basic guild system:
https://youtu.be/tZmcP5lc6dM
Guilds have a name, description and I plan to make it use images too, the script is a stand alone script OR can be used along with questing, rpg or the dialog system to give a more complete game play, the demo video uses just its own code.
Script allows AI to add player to a guild and a start reputation, default is 0, or to remove a player from a guild, AI can check membership of a guild and get a players rep for a guild
The system supports dislike and likes for guilds, in my demo Warlocks hate vampires, to save on multi lines of code for each AI to check for all "dislikes" and if you added a new dislike you would have to update each AI script, SO to fix this the system has a dislike check system, you can check directly for a dislike, so warlocks and vampires OR there is a function that scans for dislikes and returns any matches,
so if Warlocks hated vampires, Knights ect the script would return IF the player was a member of any of the disliked groups, again this should save time and problems compared to having to run the checks yourself via multi lines of code for each AI, this method requires one command if you want to use it and can update the central script with likes and dislikes
Functions also include the ability to improve or remove guild rep with any value, as you can see from the demo when I join the vampires and talk to the Warlock guild they don't llike me and my guild rep for Warlock drops to a negative number,
Because of the simple call functions you could make is to a negative rep causes the person to attack the player or alike.
A Massive thank you to Nathan38 for the idea, Hopefully this is on the right tracks for their view of it!
Paul.
PHP / HTML / JS / Jquery Programmer, Datbase Wizard, Game Maker and LUA scripter