 Hugh Wilson (qv) got the idea for this film while working on the  series he created, _"WKRP in Cincinnati" (1978)_ (qv). That show was  shot on the CBS lot in Studio City, CA. Before CBS bought it, it  belonged to Republic Pictures, the studio that produced hundreds of  low budget westerns, exactly like the kind being spoofed in this  film.