Okay. I think I figured out what I was trying to do. I'll post the solution so others can view in case they're curious. I imagine since no one else has responded and I've found nothing else similar very quickly, there isn't another way of doing it.
Add the following lines to the end of the function OnPlayerKilled() [line 113] in ../Steam/steamapps/sourcemods/gesource/python/ges/GamePlay/__init__.py
fileHandle = open("killLog.log", "a")
fileHandle.write("{},{},{}\n".format(killer.GetPlayerName(), victim.GetPlayerName(), weapon))
fileHandle.close()
The killLog.log file will be in "../Steam/steamapps/common/Source SDK Base 2007/".
For other options available to the killer and victim objects, view the "../gesource/python/stubs/GEPlayer.py" file.
EDIT: Please note this only works for game modes where the scoring focuses on kills.
Hmm. Okay. Well hooks have always been a weak point of mine. Not sure why, but they always give me trouble.
So I tried adding the following snippet and it completely broke the scoring system. What am I doing wrong? How do I know what parameters are going to be passed?
def __init__(self):
....
parent.RegisterEventHook( EventHooks.GP_PLAYERKILLED, self._Test )
def _Test(self, killer, victim, weapon):
GEUtil.Msg("----HOOK----")