![]() world system / node movement / relationshipsUpdated: 4/9/2006// create lots of nodes aiNode{ // loop found nodes (up to 20) } nodeTypes inanimateObjects knowledgeNodeTypes (types of events/knowledge) magicLearned Attacking your own kind is much faster way of losing allegiance then any other thing you can do. A mistake is allowed. But consequtive attacks or murders results in negative allegiance and they become your enemy. for the game world to be saved quickly, i'll need to queue sql statements. and only process as many will fit into the frame time... nodes that are far away will need to be generalized. They might fight 10 times, have multiple conversation, complete a quest all within a minute. each group of people have a leader - the leader's influence is the sum of just that group. example: the 50 people i'm closest with. put them all next to me. the sum of cohesion to every node is influence. cohesion is not as strong with nodes of different allegiances. your influence is based on how many people are in an allegiance you belong to and how well you rank in the allegiance. Everything you do for an allegiance adds to it total influence. When you do things against the allegiance, it subtracts from the total influence. Once you reach zero or negative for the allegiance, you can no longer effect the influence of that allegiance. when a node enters or leave region, the allegiance values of parent nodes are updated for the previous region and the new region. Working for the enemy of the allegiance doesn't subtract for the allegiance until you're caught. (you can become a spy) To have influence over an individual node it is the same. Everyone gives allegiance to individuals. When you give allegiance to an individual, you become the friend or lover. Some personalities will be picky about your friends or insist on being your only lover. Its difficult to love more then one individual or allegiance, but it is possible. All you have to do is devote a high percentage of your influence to these nodes. You can buy them things, talk with them or do quests for them. Eventually they will realize your commitment and might become your lover. Lovers can produce children which allows you to evolve your character. Your children also add to your influence if you take care of them. Your lover will not be able to travel with you while they are pregnant. If you are the female yourself, you'll lose control of that character while they are taking care of the baby. So you have to provide income and shelter for the family during this time. The father can be an AI character. so selecting the right father is important. You can also influence him to do a better job. Each node keeps a record of their allegiance to all other individual nodes they share time with. So AI randomly finds or intentionally looks for other compatible nodes to share time with. The details of conversation aren't important offscreen. Onscreen, conversations are shown based on the nature of the relationship. In general, all conversations are either neutral or changing your allegience to groups and individuals. Always based on emotions and personalities. each race has their own conversation personalities - The player types keywords which build a sentance - there is word auto-complete that helps you with spelling. This lets you have a realistic conversation with the computer you should be able to bring up previous questions for other characters as well. It seems like everyone should be considered an ally of themselves and the people that follow them increase their own allegiances.
hold down R2 and select one of the 8 directions to choose the menu item - this can have multiple levels too.. then list view? or use the spiral code...
// get personality // get relevant stats to current objective // calculate and set the priority foundNode(){ | Have comments? Email Me |