One Important Transformers Villain Is Based On Star Trek's Spock
Spock from "Star Trek" is easily one of the most influential science-fiction characters ever, flat-out. Even actor Leonard Nimoy never escaped the Vulcan's shadow — despite having a long, fulfilling career outside of it. Indeed, before his passing in 2015, Nimoy voiced villains in two separate "Transformers" films.
In the 1986 animated "Transformers" film, Nimoy played Galvatron, the reborn form of Decepticon leader Megatron, galvanized by the power of the dark god Unicron. Later, in Michael Bay's 2011 live-action film, "Transformers: Dark of the Moon," Nimoy voiced Sentinel Prime, mentor of Autobot leader Optimus Prime (Peter Cullen). Starting a "Transformers" tradition, Sentinel turned out to be a villain, allying himself with the Decepticons to conquer Earth and restore the Transformers' war-ruined world of Cybertron.
Aside from his two voiceover roles, Nimoy impacted "Transformers" in another important way via Spock. Marvel Comics writer Bob Budiansky, who wrote the original "Transformers" character bios and much of the proceeding comic, modeled the Decepticon Shockwave after Spock. Spock's defining character trait was his commitment to logic and restraint on his emotions, so Shockwave was written as an evil version of that: cold, brutally efficient, and willing to usurp Megatron if he felt his leadership performance was lacking.
Like his leader, Shockwave transformed into a gun, but a sci-fi laser pistol unlike the realistic Walter P-38 handgun that Megatron became. (Both were toys imported from Japan and rebranded by Hasbro; Megatron began as Takara's "Gun Robo" and Shockwave as Toyco's "4 Changeable Astro Magnum.") Shockwave's toy debuted on the U.S. market in 1985, in year 2 of "The Transformers," but he's often remembered as a year 1 character because he appeared from the beginning in the cartoon. The animated Shockwave was played by the prolific Corey Burton, with a voice modeled on David Warner's performance in "TRON."
Shockwave disappeared from the cartoon after season 2 — a deleted scene from the movie had him killed by Unicron, while some unrealized plans for season 3 had him switch sides to the Autobots. But while "The Transformers" forgot about Shockwave, few of the later reboots have. He is one of the franchise's most recurring characters, and part of the "big four" Decepticons along with Megatron, Starscream, and Soundwave. While Shockwave has a consistent design (purple color scheme, cannon on his left arm, and a square cyclopean head), later "Transformers" projects have reinterpreted his Spock-like characterization in logical and illogical ways.
Transformers comics made Shockwave into a formidable villain
The Marvel Shockwave, as written by Budiansky and then British "Transformers" writer Simon Furman, was a power player. Frankly, he is the comic's main villain more so than Megatron; after the Decepticons are vanquished in issue #4, Shockwave arrives, massacres the Autobots, takes control from Megatron, and puts the good guys on the run. (The cover of "Transformers" #5, drawn by Mark Bright, says it all with three simple words under the title.)
The cartoon was a different story. In "The Transformers," Megatron has Shockwave remain on Cybertron as the planet's guardian. (I'd assume that since his alternate mode was clearly not something made on Earth, the writers decide to have him hold off making his way to our world.) The cartoon Shockwave was also a more forgettable lackey who obeyed Megatron without question and did not have his comic self's logical personality.
Later versions of Shockwave mix and match features of his different characterizations in the comic and cartoon. In the too-short-lived "Transformers: Animated," he was depicted as a shapeshifter, one in deep cover as an Autobot security chief named Longarm. This Shockwave was Megatron's inside man on Cybertron, a very clever reimagining of his role in "The Transformers." (Corey Burton, already part of the main cast as Megatron and Autobot doctor Ratchet, even came back to voice the "Animated" Shockwave.)
This Shockwave's design was a bit different, with a more slender, vertical head and both hands instead of a permanent cannon on his left arm, and he didn't have the fixation on logic either. Though an effective villain, "Animated" Shockwave was more emotive and sadistic; he enjoyed taunting his prey and the word "logic" never escaped his mouth.
Shockwave is the Decepticons' very own Spock
The same cannot be said of the Shockwave in the following reboot, "Transformers: Prime." This Shockwave was voiced by the baritone David Sobolov, who used a deep and cold voice rather than Burton's British-accented one. His characterization was a halfway point between the cartoon and comic; "Prime" Shockwave was devoted to Megatron and to logic. Unfortunately, this sometimes manifested as Shockwave saying "logical" or "logically" a lot, without actually acting as such. "Prime" Shockwave was also depicted as a "mad" scientist (though only "mad" in the ethical sense, for insanity is illogical), furthering the idea of him as "Decepticon Spock."
The Shockwave who has hewed closest to the Marvel characterization is the one from IDW Publishing's "Transformers" comics. A long-thinking mastermind, IDW Shockwave is only a nominal Decepticon. He has no loyalty to Megatron or the cause, but was forced him to pick a side and the Decepticons are closer to his vision of Cybertronian galactic dominance than the peacenik Autobots are.
In "Spotlight: Shockwave" (by Furman and artist Nick Roche), Shockwave enacts a program called "Regenesis." He's calculated that the Autobot-Decepticon war will eventually deplete Cybertron's resources, so he seeds other worlds (including prehistoric Earth) with Energon. After centuries and centuries, the fuel will eventually sprout from the planets' crusts, creating sustainable alternative sources of Energon.
When the war has drained both sides' energy reserves millennia later, Shockwave predicts he will be able to harvest that Energon and "control the balance of power." As a functionally-immortal robot, Shockwave can play the long game, and is one of the few Transformers who proves capable of doing so.
In the classic "Star Trek" episode "Mirror, Mirror," some of the Enterprise crew venture into a universe where humanity leads the brutal Terran Empire instead of the utopian Federation. The Mirror Spock, famously wearing a goatee, turns out to be less evil than the others — sometimes, peace can be logical. Shockwave, though, provides a vision of what a truly unscrupulous Spock would look like: an intelligent, ruthless, and decisive villain who lays schemes within schemes, and who can play the underling if it suits his purposes but will turn traitor the second it becomes logical to do so.