 The subplot involving two police forces operating in the same town  without any knowledge of each other, each believing itself to be the  legit police, and McCoy being captured by the one he does not work  for is taken directly from the novel "Do Androids Dream Of Electric  Sheep?" the book upon which the film _Blade Runner (1982)_ (qv) was  based, however no trace of this plotline appears in the movie.