[HEAVY WIP] Ports TG's gun code. 

Just a small PR, move along please.