I want to make simple modification: Infected game mode (like the one from Quake Live). The reason is simple. Make it available for original oldschool Quake 3 players. The game mode would be new gametype (named Infected). But the modification should support only THIS gametype, so I need to supress the other gametypes. In order to avoid violation (just for sure), the gametype would be value “10” (yes, values “5”, “6”, “7”, “8” and “9” are missing).
What this modification will bring? Well, not much. Only the new game mode and few supporting assets (infected indicator, new skins for default players plus new cover texture - like quad or enviro suit creates a flashy coat around player, so will be for infected players), maybe some maps with Halloween theme (obtained in lvlworld.com and maybe I'll make one myself some day).
The gametype may be team based (players can't attack each other except for the other side, so survivals will be able to attack only zombies and vice versa). Red team will hold zombies, Blue team will hold survivals. When survival frags a zombie, the zombie will respawn again as zombie, but when zombie frags a survival, he becomes a zombie. That way the Infected mode is moreless a “Survival” mode or “Zombie” mode. Last standing wins the round. The game behaves like team game, but it's not a team game (each player gets points separately). To be exact, players are split between teams, but scoring is like in FFA. Also, start of the game is with all players on the survivals side (except one that is spread origin, which may be eighter one of the active players if played alternative, or Mastermind - a bot with Plasmagun, that is automatically member of zombie team and spreads the infection).
Bot play may be possible (for testing), but bots may behave like in original TDM, which may be a bit trouble. As you may know, the QL's Infected is a Red Rover gametype modification, which spawns all players with Machineguns and Shotguns and also removes all items from the map (including healths and armors). Players' healths are at initial point 100 and armor also at 100 (except for zombies which are geared at 125% amount of these and the countdown does not work)
But there's a little problem. The source code is very vast and I need to change bits of code that control g_gametype usage, skins for teams, gametype names assigned to their id numbers, behaviour of team games and of course scoring code (to make team game with FFA scoring). I was unable to find g_gametype cvar usage in downloaded (forked) code. Does anywhere exist some guide on how to get oriented in the Q3 source code to make neccessary changes? Because I'm lost



I obtained a source code at GitHub. I forked it to my own repository (with the Fork feature, obviously) and prepared for edits. Here are links to both repositories at GitHub:
- original: https://github.com/devharis/Quake-III-Arena
- fork: https://github.com/Polda18/Quake-III-Arena-Infected
So if anybody has some great guide on how to get oriented in the vast source code, please, tell me. I'd like to start building the modification soon, it's impossible to make useful changes without being oriented in source code.