Remove Gamemode

Results 1 to 6 of 6
  1. #1
    Member vtrbh is offline
    MemberRank
    Mar 2012 Join Date
    53Posts

    config Remove Gamemode

    How can I completely remove CTF gamemode from sahar042 released source? Which .cpp's and .h's do i have to remove it? Thanks!


  2. #2
    Enthusiast T3Setsu is offline
    MemberRank
    Jul 2014 Join Date
    HellLocation
    32Posts

    Re: Remove Gamemode

    Search for a tutorial on how to add CTF and remove these line, should work.

  3. #3
    Gunz League owner Hakurah is offline
    MemberRank
    Dec 2006 Join Date
    Rio de JaneiroLocation
    602Posts

    Re: Remove Gamemode

    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.

  4. #4
    Account Upgraded | Title Enabled! medotarek is offline
    MemberRank
    Apr 2012 Join Date
    Egypt/RageZoneLocation
    615Posts

    Re: Remove Gamemode

    why dont you only remove the gamemode from channel rule and gametypeconfig ??

  5. #5
    Member vtrbh is offline
    MemberRank
    Mar 2012 Join Date
    53Posts

    Re: Remove Gamemode

    Quote Originally Posted by Hakurah View Post
    Why do you want it completely removed?
    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.

  6. #6
    Yaaay! Tannous is offline
    MemberRank
    Jul 2012 Join Date
    KonohaLocation
    840Posts

    Re: Remove Gamemode

    1- Search ALL related things to CTF and remove them !
    2- Get CTF source, and download WinMerge, then compare files and start deleting things !



Advertisement