Search for a tutorial on how to add CTF and remove these line, should work.
Why do you want it completely removed? You could just have it removed from the game so that no one can access it, it would be a lot less trouble and the end result would be the same. Take CTF out of channelrule.xml both server-side and client-side and you'll be done. If you really want to make it unplayable, you can edit the spawn.xml files in the server and take out the flag spawns.
There's no need to mess with the code and take the mode out completely. But if you really want to do it, T3Setsu said it right. Look for a tutorial on how to add them and you'll know what was changed to what. Revert the changes and you'll have CTF out of your game.
why dont you only remove the gamemode from channel rule and gametypeconfig ??
My english sucks, but i'll try to explain. Its because that im having some troubles with it. When the game starts, the flags do not appear and the game instantly ends and it show up game draw and i get back to stage. And i think that the CTF flags spawns conflict with the hp/ap/bullet map spawns(Thats what sahar042 said) that they are correctly added at each map spawn.xml server and client sides and the spawns are in wrong places like flying. I wanted to try to remove CTF to know if i could fix the hp/ap/bullet spawns. What should i do? I did not really wanted to remove, but its not working and if i need to remove it to fix the hp/ap/bullet spawns, i'll sadly have to remove it.
Last edited by vtrbh; 02-08-14 at 06:22 AM.
1- Search ALL related things to CTF and remove them !
2- Get CTF source, and download WinMerge, then compare files and start deleting things !