Curt Schilling agreed to pay $2.5 million to settle the case with Rhode Island Commerce Corp. over failed gaming company 38 Studios.