Exactly. There is a lot of ignorance in this thread. As if the only two roles are engine programmer and gameplay programmer where gameplay is just scripting. Nope. We have engineering teams dedicated to: UI, physics, rendering, streaming, automation, gameplay (people who write gameplay features that the game designers will access via script), build infra, pipeline (and pipeline is split up into people doing lighting/geometry tools vs tools that package up data for efficient runtime use), level editing tools, asset editing tools. I’m sure I’ve forgotten plenty. Then there are the QA teams, automation (not engineers but write test scripts etc), production, level designers, vfx artists, tech artists (almost programmers), character artists, 2d artists, prop artists, gameplay scripters. This is Activision but I know EA are similar and I wouldn’t be surprised to hear that most but AAA companies are also similar.
There’s a wide range of pay levels there.