added editor mode for setting weapon images