maybe this is the wrong forum for this kind of request but you seem to be the last active forum that has something to do with CoD4 modding, so I decided to try it here. I hope you can help

I recently had an idea for a new gamemode. The problem is: I don't get the basic systems behind gamemode mods. Actually, I'm playing the gungame mod for quite a while and was also fooling around with the files and modified the mod (modception

As hobby-programer I'm quite sure I'll manage the scripting itself as it seems to be some kind of c. My problem much more is that I don't understand how the concept behind these mods in general work. When I look into my gungame folder I see lots of different files seeming to be not connected at all. I have no clue what file does what, why it does what it does and how the game knows what files to call.
In the CoD scripting handbook there is an tutorial to implement an anti-camping-function into deathmatch. Although I can follow his instructions, I still have no clue how to actually create a new gamemode. Do I have to edit files? Create new ones and catch certain events that happen (such as the player being shot)?
Can someone please explain how all these files work, when they are called and so on? Or at least give a starting spoint or a good tutorial from where to work forward?
If this is of relevance: My gameidea is to create something like crashday's "pass the bomb" gamemode: http://www.youtube.com/watch?v=buT7UglMKiM
I hope you can help me

Greets
Royal_Flush