Not a code as such. In Windows Explorer, open the X-Wing Alliance folder and open the sub-folder titled shiplist. All the ships in the game should be listed. At the end of every file for each ship the word non-flyable or something similar should appear. Simply modify that part of the filename (and nothing else) to flyable and the ship will be available to fly.