Half-Life 2 has a Source Engine Plugin Interface which makes it relatively easy to integrate 3rd party functionality with the game platform.