Actually I thought DoC had the better story, but Re4 is vastly superior in every other conceivable way.

And Re4 is the first Resident Evil to be designed with greater action elements and reflect a shooter, so yes Re4 was their first shot at that. Square just didn't give a good enough first shot. Hell I thought X-2's Gunner mini-game played better than DoC.