Black holes from generalized gauge field theories