 Ermey's experience as a drill instructor during the Vietnam era proved invaluable.Kubrick estimated that Ermey wrote 50% of his own dialogue, especially the insults.While Ermey practiced his lines in a rehearsal room, Kubrick's assistant Leon Vitali would throw tennis balls and oranges at him.