Within a few months, Mr. Grahame-Smith completely restructured and rewrote the screenplay, injecting it with campy humor that plays up the film's absurd premise: Barnabas Collins, a vampire played by Mr. Depp, emerges from a coffin after 200 years to find himself in the polyester, lava-lamp world of 1972.