setting weapon from UI and additional tests