Thanks Noeska. This will be an open source project. I will have a look at the Quake2 sources and see if I can do it that way.

Just one thing I forgot to say earlier. I want to make a game, with the idea of it having it's own unique engine. But I'll look into other options for now.