A new Rhode Island State Police public safety complex will replace longtime barracks in North Kingstown and Richmond.