A group dedicated to indie and standalone game development.
This member has provided no bio about themself...
No images, videos or audio files have been added to this gallery. Join now to share media with the community.
A type of AI programming that i will be developing for my game, Sreff.
all AI characters will have "things" that they will follow.
it will be a number from 0 to 100 for their loyalty of whatever they are following.
An example list of things characters could be followers of.
They will leave a trail of influence for whatever they follow and events they have knowledge of wherever they go. This is how other AI's will learn of things
When a character knows of something there is a chance they will influence other people around them. This is how other AI's will learn of events that have happened, while not witnessing it directly.
How this could be practically used
If a war is waged on another village it could be used to influence the moods of the towns involved in the war.
If a character tries to harm another character. and their is an AI that is friends with both of them, they may lose some loyalty points with this AI character. As knowledge of the incident spreads, it may influence how other characters view the two who got into the fight.
If a hunter kills an animal or shoots off shots it would create an instant influence radius(The size of how far the sound would reach) an any animals inside this area would instantly take flight. their flight of panic would influence other animals they pass by into a panic as well. Not as strong as the animal that witnessed it, but possibly enough to put them into a "cautioned" state.
Say a small groups gathers together to protest. A police man attacks a protester and soon other rioters learn of this event, affecting their anger, among other mood stats. once this anger grows enough it may turn into a full scale riot.
The noise from this event would have an influence area that would spread through the town attracting attention or inspiring fear. possibly causing some characters to join in or hide in their houses out of fear.
This event could also lower people's loyalty rating to the town, the police force and any characters they are friendly with that participated in the riot.
Something could be seen on tv by a character and soon the entire town is talking about it and questioning. Affecting their mood and possible loyalty points
weighted events. so that how long the event weighs on a persons mind and how often it affects their mood
The character will know of certain events that he has witnessed or otherwise "overheard" from other characters. all things the character knows of will have a percentage based on how strongly it weighs on the characters mind. The higher the percent, the more time the character spends "talking" about it and the more it influences their mood.
Roads that are traveled more often are the first choice to test for a connection from one location to the next.
Possible "Road Influence"
Knowledge of a road would make it the first option to come up when a character wants to travel somewhere. These roads would be tested first and if no route is found then it would look for a new one.