class APZedList extends Object
  config(AdminPlus_v4);

struct ZedRecord
{
  var config array<string> ZedName;       //zed name, for comfort
  var config string ZedClassName;         //color tag
};
var config array<ZedRecord> ZedList;      //zed list

static function class<KFMonster> getZedClass(string zed, string eventType)
{
  local int i,n,j;
  local array<ZedRecord> temp;
  local string strTemp;

  // parse event type
  switch(eventType)
  {
    case "h":
      eventType = "_HALLOWEEN";
      break;
    case "c":
      eventType = "_CIRCUS";
      break;
    case "x":
      eventType = "_XMas";
      break;
    case "none":
      eventType = "";   //in case we want to spawn some custom shit
      break;
    default:
      eventType = "_STANDARD";
  }

  temp = default.ZedList;

  for(i=0; i<temp.Length; i++)
  {
    j = temp[i].ZedName.Length;
    for(n=0; n<j; n++)
    {
      if(zed != temp[i].ZedName[n])
        continue;
      strTemp = temp[i].ZedClassName$eventType;
    }
  }
  return class<KFMonster>(dynamicLoadObject(strTemp, class'Class'));
}