It did state at the end of the film, on the credits, that it was based on a true story. I am not qualified to judge whether this is correct or not.
Off course the most obvious U.S. director and writer to have served in the Vietnam war, that no-one has mentioned so I will, is Oliver Stone.