Uhm, well. Maybe some stuff what only happened in the movie or environments, who aren't made by the description in the book, are HL2 inspired. Lets be honest. When the pic below doesnt remind you of HL2, what else?
Wfr, Sindwiller
As a 13yr old, i cant blame you for thinking HL2 was the first to pull off this idea. But like MikeZ said, HL2 itself pulled its idea of various other books, and i myself have seen dozens of movies with cities controlled by somekinda military. Equilibrium, Absolon, the Siege, 1984, etc.
The picture is of a military force blocking of a city street. It happens in every war. The architecture in the background may remind you of HL2, but you have to remember that hl2 itself was inspired by European architecture: we didnt build our cities after hl2