Added weapon config parser function for hyperspanner.