No cookie for

Pattern of Life Part 2: “Entity Behavior”

In POL Part 1, I explained how you can specify the frequency and timing of entity spawning in a POL template. In this blog, I’ll explain what happens after entities get spawned.

The default behavior for a spawned entity is to randomly pick a sink point of the same type, walk or drive to the sink point, and be removed from the scenario. The default plan provides purposeful behavior for each entity and may be sufficient for your simulation.

First, let’s talk about sink points. Every spawn pattern automatically has a spawn point and sink point associated with it. For example, the Ped spawn pattern has Ped spawn points and Ped sink points. By default, entities created from a particular spawn point will look for a sink point of the same type. However, you can add waypoints or any other sink point to a spawn pattern and entities of that spawn type will choose among the additional sink points when they decide where to go.

Other than specifying sink points and setting a speed range for entities, there isn’t much else to be done if you use the default plan.

However, if the default plan is too simplistic for your simulation, you have another option:“ write a custom plan. When you write a custom plan, you have access to all of the planning capability of VR-Forces and B-HAVE. Every entity created from this spawn pattern will use the custom plan. You do not have to remove the entities from the scenario, but you can if you want to. (You will have to pay attention to how many entities get generated to ensure that the entity count does not get too high.)

An example of using a custom plan would be to simulate traffic at an airport. As each plane gets spawned, it could taxi to the runway, take off, and go wherever you wanted it to. You could not do this with the default plan.

In summary, the POL feature gives you a great deal of flexibility to control, which entities get spawned, where they get spawned, how often they get spawned and what they do after they get spawned. I hope this series of blogs has given you a better understanding of the Pattern(s) of Life.


SIGE 2012
Pattern of Life Part 1: “Patterns of Life&rd...

By accepting you will be accessing a service provided by a third-party external to