Alex Hopper is a talented but undisciplined slacker. His brother Stone, a naval Commander, forces Hopper to join the Navy. Hopper becomes a lieutenant on the USS John Paul Jones DDG-53, sister-ship to his brother's command, the USS Sampson DDG-102. Hopper also falls in love with Admiral Shane's daughter, Samantha, and wants to marry her, but is afraid of asking her father's permission, as he doesn't like Hopper. During the RIMPAC opening ceremony, Hopper gets into a brawl with Captain Nagata of the Japanese Maritime Self Defense Force, in charge of JDS Myoko DDG-175. Hopper soon learns that he is to be kicked out of the Navy at the end of RIMPAC. Meanwhile, Samantha accompanies Army veteran and amputee Mick Canales on a hike on Oahu in order to help him adapt to his prosthetic legs.
A small fleet of alien ships arrives in response to the NASA signal. One ship collides with an orbital satellite and crashes in Hong Kong, while five others land in the waters near Hawaii. The aliens erect a massive forcefield around the islands, trapping a number of American, Japanese and other sovereignty's warships, including Hopper's ship. The aliens attack, destroying Nagata and Stone's ships. Hopper's superiors are killed, leaving him in command of the John Paul Jones. Captain Nagata and some of his crew members are rescued from the waters and assists the Americans in setting up a discreet way to track the aliens using wave-detection buoys. During a night-time battle, the aliens and the Americans exchange pot shots, but Hopper manages to sink two alien ships. They rescue an alien from the water. They discover the aliens are very sensitive to sun light and have to wear filters during the day. Using this knowledge, Hopper attacks another alien ship at dawn, using a sniper rifle with Nagata to breach their cockpit window and blind them with sunlight. Both ships are destroyed in the battle.