Advertisement

Creature Behavior

Started by January 11, 2012 12:21 AM
11 comments, last by AoS 13 years ago

Here's a few things I'm wondering about.

[quote name='AltarofScience' timestamp='1326241311' post='4901465']
Creatures select locations for their lair. Each creature has a desired terrain type and a random chance to pick any square with that terrain as home.

Are you speaking of where creatures will spawn, or where they will move? The latter sounds hardware expensive, but the AI we see in new MMO's (Rift, SWTOR) ain't exactly pushing it. Having fewer creatures would make it more viable.

[color=#ff0000]Creatures wander the world pushing outward from the rift where they were spawned. Prior to selecting a home location they will check any areas they move through as to their settlement validity.


Social creatures are more likely to pick squares where there are creatures of the same type.
Lairs have a sort of level system. Beyond certain population blocks creatures have a random chance to level the settlement every time a new creatures joins or is born.
Individual or very small groups, 2-10, of creatures who are within a certain number of squares of a much larger settlement have a small chance every certain time period to move to that settlement.

How will you prevent extreme concentrations? They gradually flock to a few tiles, just like mass is concentrated in giant spheres. It's something that needs to be considered. There can be many solutions to this problem, like attractiveness goes up to a top, and then degrades if the "settlement" gets to big.

[color=#ff0000]Um, it will take a while before creatures form huge enough groups to make a difference. I think we could cap it at 50% to join and after that extra size doesn't matter. This is somewhat of an overview, I planned to do some organizational factors. Generally anything with 11 or more creatures will stay in that spot. There will be some relatively extreme concentrations, probably 2 or 3 larger cities for each rift spawned and some medium ones and some smaller ones.


Lairs have a certain area of operation centered around the lair. The size of the lair determines the area of operation. It also determines possible creature actions. Larger lairs have a larger area of operations and more actions.
Small lairs may only have sentries while large lairs will have patrols and scouts. The function of the scout is to search for human settlements. Larger settlements have more scouts with longer search ranges. Scouts sentries and patrols increase as the lair population increases. New actions are gained with larger sizes.
Raids begin to happen around 100 or more creatures. They in size and frequency as the lair grows. Raids can only happen if the lair has a creature who located a human settlement. As time goes by and raids don't happen a larger percentage of creatures will be sent out on scout missions.
Lairs at 500 population will start the seeding cycle. They will send out colony groups of 100 which will travel as a group and follow the standard lair algorithm. Sometimes creatures will come into the game as a large group on a colony mission, but generally they come alone.
Lairs with creatures of similar types are capable of forming social links. Generally any group of creatures of the same type with overlapping areas of operation have a chance every cycle to form social bonds. Groups which have a creature who has met a creature of the same type from another lair have a much smaller chance of bonding.
Socially bonded groups have an increased breeding rate depending on the level of the link. Higher links also allow for other actions. Each level of bonding has a smaller random chance of happening. Some actions of higher bonds are information sharing. Any human settlement location discovered by a group with social bonds will be spread across those bonds. Further, the groups who get the info through bonds will spread it through their own bonds with other groups. Groups with more than one secondary bond with another group have a small chance to bond with that group.
Groups with a bond over a certain strength will have a mutual defense pact whereby based on the strength of the bond they will send reinforcements to the territory of any invaded group. At very high levels groups will form kingdoms with the lair with the highest connection to all the member groups as the hub. Kingdoms will move beyond information sharing and mutual defense to become a single integrated unit. They will have higher birthrates even than groups with social linkages. Although lairs will still have their own sentries and patrols on borders that don't touch borders of other lairs in the kingdom, they will have a unified sentry and patrol system as well as garrisons. Areas of operation work in circles and groups who have no or minimal exposed borders will send their troops to the borders of the kingdom. Raids will be launched by the kingdom as larger groups. Kingdoms will send troops to any border penetration event as well to aid lairs in danger. The amount of assistance will be much larger than with mutual defense pacts.
Kingdoms and individual lairs and even groups of lairs can be connected to much larger networks by social linkage. Any creature group can be a part of this type of alliance with other groups of any size.

So, you meant to have very small groups involved in social bonding (2-10)? It may be better to keep this for the slightly larger groups, to reduce complexity of bonding.
Are you preventing settlements to be placed near one another? If not, how are you gonna make sure their area of operation doesn't overlap.
What are border events, and where is it possible that they take place? Sounds like you want a kingdom with a geographical area (no other lairs within). How wiill you implement this? Will you allow lone colonies far away? This needs to be taken into consideration when defining the border.

[color=#ff0000]Um, all levels of groups can bond socially. Kingdoms are made up of several lairs, just like human kingdoms. As it says in the post, lairs with powerful social bonds to say, 4 or 5 lairs will form a more formal kingdom as opposed to a tribal alliance which is formed by weaker bonds.


Also, creatures would have a list of locations of human lairs and these would be exchanged in the circumstances described above by simply adding new entries to a creatures list when their group gained that knowledge. However the knowledge would only be exchanged if the creature was in contact range with another of its group and would be passed to the group only when they entered the border of the society.
This would allow players to attempt to kill creatures prior to their getting intel back to their group and prevent the enemy from location them for raids.

Will every creature have a list of every human settlement it knows about, or just the settlements it's seen itself. In the first case, that's quite demanding. There's lots of creatures, and each will remember every human location. If individuals only remember thing's they've seen themself, which might be erased after sharing this with their group, then you reduce the problem, but it might still be to complex if you allow this with the very small groups.

[color=#ff0000]Creatures will hold human locations in an individual list until they reconnect with their parent group at which point that location will be removed and added to the group list instead.

I am somewhat skeptical about this. I believe it can easily be unstable, difficult to balance. It will require quite a bit of extra power, yet the players may see little of it. I think you could accomplish something similar with a more manageable system. If you want to have a deep complex dynamic system, I'd want to actually make it visual to the players in some way.
[/quote]

[color=#ff0000]Kingdoms will be shown visually with some sort of color. Maybe colored clothes or face paint or something depending on the species. There might be territory markers or something, too.

[color=#ff0000]Creatures wander the world pushing outward from the rift where they were spawned. Prior to selecting a home location they will check any areas they move through as to their settlement validity.

This is calculated for each individual separately, or can groups move together (calculation for entire group)? Also wouldn't social creatures lean to squares with higher population? How far out will you check. Will just the adjacent tiles be checked, or will it have a higher chance to move in the direction of a large settlement several tiles away?
Size of tiles, how fast creatures move, number of creatures, if this moving is calculated individually, how many tiles away can be searched etc, is important. You might end up with something that's simply to demanding. You should do some rough calculations beforehand.


[color=#ff0000]Um, it will take a while before creatures form huge enough groups to make a difference. I think we could cap it at 50% to join and after that extra size doesn't matter. This is somewhat of an overview, I planned to do some organizational factors. Generally anything with 11 or more creatures will stay in that spot. There will be some relatively extreme concentrations, probably 2 or 3 larger cities for each rift spawned and some medium ones and some smaller ones.

I assume large city means 100+, which means rifts are huge, and therefore rare (not like in the game RIft where small rifts pop up everywhere). You describe general mechanics in how creatures will move, but you want a rift to do something specific (2 or 3 larger cities ... and some smaller ones). Are you making sure how creatures move will lead to this type of spread? It might just as well be something completely different.


[color=#ff0000]Um, all levels of groups can bond socially. Kingdoms are made up of several lairs, just like human kingdoms. As it says in the post, lairs with powerful social bonds to say, 4 or 5 lairs will form a more formal kingdom as opposed to a tribal alliance which is formed by weaker bonds.

So every lair will need a powerful social bond to everyone of the other lairs? What if 5 very small groups have powerful social bonds. Will they form a kingdom of 10-50 individuals? What happens when one lair is part of a tribe or kingdom, but it also has social bonds with other lairs, which after a while becomes more attractive than it's current tribe/kingdom? Do you know how you could program this? If a lair can choose a new kingdom/tribe, then you need to work out the mechanics in how attractive such a union is, how the transfer period is (does every lair suddenly switch to the new better alliance?


[color=#ff0000]Creatures will hold human locations in an individual list until they reconnect with their parent group at which point that location will be removed and added to the group list instead.

Can single creatures break off from the group? If so, will that individual take with it this intelligence? What if it breaks of, while away from the group. Other creatures in the group might have new intel. If they can break off, then every intel could store the time when thdis intel was known to the group. Aditionally a creature will know the time it left the group (out doing something else). If it breaks off it will then take with it, it's current intel and group intel that is older than the time it left the group.


[color=#ff0000]Kingdoms will be shown visually with some sort of color. Maybe colored clothes or face paint or something depending on the species. There might be territory markers or something, too.

What happens when a kingdom is formed, how are you gonna deal with groups inside kingdom that has weak social bonds?
Advertisement

[quote name='AltarofScience' timestamp='1326418993' post='4902184']
[color=#ff0000]Creatures wander the world pushing outward from the rift where they were spawned. Prior to selecting a home location they will check any areas they move through as to their settlement validity.

This is calculated for each individual separately, or can groups move together (calculation for entire group)? Also wouldn't social creatures lean to squares with higher population? How far out will you check. Will just the adjacent tiles be checked, or will it have a higher chance to move in the direction of a large settlement several tiles away?
Size of tiles, how fast creatures move, number of creatures, if this moving is calculated individually, how many tiles away can be searched etc, is important. You might end up with something that's simply to demanding. You should do some rough calculations beforehand.

[color=#00ff00]I was just having them scan the area they were in. Some groups spawn from the rift as groups.


[color=#ff0000]Um, it will take a while before creatures form huge enough groups to make a difference. I think we could cap it at 50% to join and after that extra size doesn't matter. This is somewhat of an overview, I planned to do some organizational factors. Generally anything with 11 or more creatures will stay in that spot. There will be some relatively extreme concentrations, probably 2 or 3 larger cities for each rift spawned and some medium ones and some smaller ones.

I assume large city means 100+, which means rifts are huge, and therefore rare (not like in the game RIft where small rifts pop up everywhere). You describe general mechanics in how creatures will move, but you want a rift to do something specific (2 or 3 larger cities ... and some smaller ones). Are you making sure how creatures move will lead to this type of spread? It might just as well be something completely different.

[color=#00ff00]Rifts have been explained before. A single rift is either created or expanded every time that a new player joins the world.


[color=#ff0000]Um, all levels of groups can bond socially. Kingdoms are made up of several lairs, just like human kingdoms. As it says in the post, lairs with powerful social bonds to say, 4 or 5 lairs will form a more formal kingdom as opposed to a tribal alliance which is formed by weaker bonds.

So every lair will need a powerful social bond to everyone of the other lairs? What if 5 very small groups have powerful social bonds. Will they form a kingdom of 10-50 individuals? What happens when one lair is part of a tribe or kingdom, but it also has social bonds with other lairs, which after a while becomes more attractive than it's current tribe/kingdom? Do you know how you could program this? If a lair can choose a new kingdom/tribe, then you need to work out the mechanics in how attractive such a union is, how the transfer period is (does every lair suddenly switch to the new better alliance?

[color=#00ff00]I guess I didn't really explain social bonds too much. You can get absorbed into another society because of auras, or kingdoms can combine, I don't think that it would be possible to be drawn into another kingdom.


[color=#ff0000]Creatures will hold human locations in an individual list until they reconnect with their parent group at which point that location will be removed and added to the group list instead.

Can single creatures break off from the group? If so, will that individual take with it this intelligence? What if it breaks of, while away from the group. Other creatures in the group might have new intel. If they can break off, then every intel could store the time when thdis intel was known to the group. Aditionally a creature will know the time it left the group (out doing something else). If it breaks off it will then take with it, it's current intel and group intel that is older than the time it left the group.

[color=#00ff00]Creatures cannot split from the group.


[color=#ff0000]Kingdoms will be shown visually with some sort of color. Maybe colored clothes or face paint or something depending on the species. There might be territory markers or something, too.

What happens when a kingdom is formed, how are you gonna deal with groups inside kingdom that has weak social bonds?
[/quote]

[color=#00ff00]Inside the kingdom with weak social bonds? That seems unlikely, although without understanding the whole system it might be hard to realize.

This topic is closed to new replies.

Advertisement