Scenario Status and Ref Behaviors
This post is to advise about the status of the scenarios and give my reference behaviors
- Urban Search and Rescue
- Role 1: Rescuer (incomplete)
- Role 2: Lost person (incomplete)
- Area Protection
- Role 1: Protector
Priority 1, trigger Always: Go to point, (-297.7, -470.3). Agent goes to a point in front of the restricted doorway and holds position.
Priority 2, triggers See Agent (Successful Authorizations = 0) and Location Type (Restricted Area): Request Authorization. Agent requests authorization from any agents which approach and have not yet successfully authorized. If they do not authorize within a certain time period (5s), they are marked as having failed authorization.
Priority 3, triggers Hear Speech: Confirm Authorization. If agent hears speech, checks that the speech matches the password for authorization. If password is correct, source agent is marked as authorized. If incorrect, source agent is marked as unauthorized.
Priority 4, trigger See Agent (Successful Authorizations >= 1): Carry On animation. When authorized agent approaches, turns to agent and gives "carry on" signal
Priority 5, trigger See Agent (Failed Authorizations >= 1): Halt Animation. When an agent that has failed authorization approaches, turns to agent and gives halt gesture. Alertness is incremented.
Priority 6, trigger See Agent (Failed Authorizations >= 1) and Mood (Alertness >= 10): Wave Away Animation. When an agent that has failed authorization approaches & alertness is elevated, turns to agent and gives wave away gesture. Alertness is incremented.
Priority 7, trigger See Agent (Failed Authorizations >= 1) and Mood (Alertness >= 100): Ready Stance Animation. When an agent that has failed authorization approaches & alertness is elevated, turns to agent and gets into ready stance. Alertness is incremented.
Priority 8, trigger See Agent (Failed Authorizations >= 1) and Mood (Alertness >= 100): Point Gun Animation. When an agent that has failed authorization approaches & alertness is elevated, turns to agent and points gun. Alertness is incremented. - Role 2: Unauthorized individual
Priority 1, trigger Always: Go To Point (-208.13,-435.4). Agent attempts to enter the restricted Federal Building and hold position.
Priority 2, trigger Hear Speech: Provide Authorization. If the agent hears a challenge, it offers a fake password, attempting to bluff the authorization process.
Priority 3, trigger See Action: Respond To Action. If the agent observes an action, it responds to the action. If the action is hostile, the agent becomes scared and decreases the perceived friendliness of the source agent.
Priority 4, trigger Mood (Scared >= 1): Avoid Hostiles. If the agent is scared, it leaves the area and avoids regions where there are hostile agent (Friendly Actions < 0). - Role 3: Authorized individual (incomplete) Will be similar to unauthorized agent (could be identical, but with correct password)
- Role 1: Protector
- IED Sweep and Defuse
- Role 1: Bomb squad member
Priority 1, trigger always: Explore Map. Methodically visits each region of map
Priority 2, trigger See Agent with Mood Nervous: Go To Point. Goes to the location of the suspect
Priority 3, trigger Find Object with objectName 'bomb' and range 90: Go To Point. Goes to location of bomb if found
Priority 4, trigger Find Object with objectName 'bomb' and range 5: Remove Object. Removes found bomb. Also increments Mood 'Alertness' and Performed Actions 'Defused Bomb'.Note that it is possible that this particular behavior will not defuse the bomb if the bomb squad finds the suspect first. I expect to modify the reference agent so it uses an And trigger dependent on the agent having heightened alertness or performed a Defused Bomb action. A better reference agent would also approach to a certain distance from the bomber, and then use the point gun animation.
- Role 2: Bomber
Priority 0, trigger always: Wander. Wanders around the map
Priority 1, trigger Location Type (vulnerable area) and (not) see Agent and Performed Action (Placed Bomb, value 0): Place Object. Places a bomb, also increments Mood 'Nervous' and Performed Actions 'Placed Bomb'
Priority 2, trigger Performed Action (Placed Bomb, min value 1, max value 600): Explore Map. Methodically visits each region of map
Priority 3, trigger Performed Action (Placed Bomb, min value 1, max value 600) and Location Type (Hiding Place): Go To Point. Goes to an area marked as 'Hiding Place'.Note that this behavior does not require that the agent get close to the Vulnerable Area before placing the bomb. This would be a better policy, and the best reference agent would include this.
- Role 1: Bomb squad member