Metal Gear Rex is a mecha which appears inMetal Gear SolidandMetal Gear Solid 4 as a pilotable mecha. Designed byHal Emmerich, it is armed with 30 Gatling cannon, anti-tank missiles, laser cannons and a large railgunwhich fires a projectile that is undetectable by any current ballistic missile detection systems and has an armor piercing warhead to penetrate bunkers. Even though it is invulnerable to conventional attacks, its large radome is vulnerable to missile attacks. In Metal Gear Solid,Solid Snakeis tricked byLiquid Snaketo activate it, resulting in Solid Snake having to destroy it. After a battle, it was abandoned in the underground maintenance base. In Metal Gear Solid 4,Rex's railgun is removed prior to Solid Snake's (now known asOld Snake) arrival in Shadow Moses island. Solid Snake pilots it and engagesMetal Gear RAY, the Metal Gear designed to counter it, in battle outside the base. Due to the "Street Fighter" software control program which Hal Emmerich has secretly installed on Metal Gear Rex, Metal Gear won the battle and is abandoned after that.