-- Define gametype (could be done with a .soc but uuuuuh maybe later??) G_AddGametype({ name = "HideAndSeek", identifier = "hidenseek", typeoflevel = TOL_RACE, rules = GTR_NOPOSITION, intermissiontype = int_none, description = "Hide and run away from the seekers until you get caught, then join the hunt!" }) rawset(_G, "hns_hidingtime", CV_RegisterVar({ name = "hns_hidingtime", defaultvalue = "15", flags = CV_NETVAR, possiblevalue = CV_Unsigned, })) rawset(_G, "HNSDEFS", { GameState = { Loading = 0, LevelStart = 1, Hiding = 2, Seeking = 3, }, })