Police-Station-Simulator

View project on GitHub

Police-Station-Simulator

In this GOD style game, you are a new police captain and your duty is to lead this police station to maximum efficency. You have the objective to control the situation of your police station and avoid criminals to escape from the justice. You and your officers are the ones that have to set justice in the city!

Download

You can download the game by clicking here. Extract it and before playing remember to read the README file.

Authors

Eric
Ferran

Mechanics:

  • As the police captain your job is to assign different officers to the desks to start investigate some cases.
  • You will have to provide new cells to capture more criminals.
  • At night as a captain you will be able to stun, for a period of time, the criminals that are escaping just to help your officers and avoid the escape.

Different npc’s roles:

Citizens

Citizen
  • Citizen Will Go to the Reception
  • If other Citizen is currently on the Reception he will go and Wait on the Waiting Room
  • When it is his turn it will go to the Reception
  • When he has finished giving the task to the Police he will leave the Building

Behaviour Tree

Citizens in the waiting roomn

Police

Policeman
  • Will go to the Desk to start Investigating a case
  • When it has finished, it will check if there is any criminal to liberate
  • If not, it will exit the building to chase the criminal
  • If the policeman has arrested a Criminal he will escort him to a Cell
  • At night if he doesn't need to patrol, will go Home
  • While Patrolling if he finds a criminal escaping, he will fight him (Also if it is the morning and a criminal was escaping the night before)
  • If the attack is a success, will escort the criminal to the Cell
  • If he was patrolling, the next morning it will go Home to sleep

Behaviour Tree

Police arresting a criminal

Police patroling at night

Criminals

Criminal
  • If the Criminal is arrested, it will be escorted to the Cell
  • He will wait in the cell for an ammount of time
  • If it is the Morning, he will wait until a police liberates and escort him to the Exit
  • If it is Night and has Waited enough time, he will escape the cell
  • If he is detected he will try to attack the police
  • He will return to the Cell if he doesn't succeeds on the attack

Criminal scaping

Behaviour Tree

Different Police station Rooms:

  • Lobby: Where the citizen make the crime notifications, also where the door to the street is located.

  • Containment Cell: Where the criminals are guarded until sent to jail.

  • Office: Where the policemen investigate the different cases.

Resources:

  • Money

  • Satisfaction

  • Police availability

  • Cells availability

Gameloop:

Objective

Your objective is to set free 5 criminals without letting escape more than 2, if you accomplish the objective you will gain satisfaction and win the game, but is escapes more than 2 you will lose instantly.

DAY (2 minutes)

Citizens

  • Citizen enters the police station
  • Citizen gives you notification

Police

  • The policemen go to desk to investigate a case
    • Case can be harder needing more time to be completed.
  • Policemen starts the case and becomes unavailable
  • Policemen ends the case and returns to available police, the player gains money.
  • If the policemen gets a criminal it goes to a cell

Criminals

  • After the criminals spent a period of time in the cell they are set free by a policemen

NIGHT (2 minutes)

Citizens

  • Citizen leave the station

Police

  • Some Policemen will leave the station.
  • 3 Policemen in the police station light up their torchlights and make rounds around keeping watch for scaped criminals

Criminals

  • Criminals scape. If the policemen have enough live to capture the criminal, the criminal will go back to the cell.
  • If the criminal arrives at the door, he will escape and you will lose satisfaction.