Group: CG-F15-1
Members: Tolby Lew, Firas Sattar, Brian Ho
Documentation:
Part 1:
Story World Descriptions:
Our story takes place on a city street. Note the casual characters walking along the sidewalks, enjoying their day. However, one city man chooses the unwise choice of jaywalking and crosses the street, neglecting to look both ways to check traffic. He gets run over by a car! Trying to get up, he doesn’t notice as a second car runs him over! Neither car stops in this doubly disastrous case of hit and run.
Afterward, two bystander see the accident and rush to the man’s side. Depending on their level of panic (differing on each run through of the story), each bystander may point at the mangled man’s body in horror or call the police. As in real life, when an accident occurs, no one may call the police at all. Without user intervention, the man dies in the street.
Part 2:
(Controls:
W, A, S, D to move character
Mouse to look around
Once the jaywalker dies, get close and press R to revive
Then press D to make him bust a move)
You are the hero of the story, represented by the first person point of view camera, a trained EMT. After getting within a certain distance of the crime scene you can save the man! Press R to revive the man, who will get to his feet, but not move as he is in shock of his ordeal. More comedically, you can use the healing powers of breakdance to cause the fallen man to breakdance back to life by pressing D! Note, to do either of these actions, you must get close to the falling man. Alternatively, you can let the man die, and instead roam the city.
Part 3:
For the multi-agent control portion, we implemented a system where the player presses a button to switch the camera to a different agent. We used the same raycasting functions from B1 to enable and disable agent movement and their corresponding cameras upon switching to that agent.
Summary of characters:
Walkers:
Walk back and forth along the city street
Bystanders:
Call for help
Point in horror
Jaywalker:
Walk into Traffic
Struggle to get up
Revive self
Breakdance back to life
Protagonist (any controlled character):
revive fallen man
induce fallen man to breakdance
Videos:
Part 1 Behavior TreePart 2 Behavior Tree