Complex dynamics in a generalized Langford system