Disable Commander Mode

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zekk05

    #1

    Disable Commander Mode

    Could anyone help me figure out how to disable Commander mode in a BF2 game?
    Either disable the mode completely, or set the "Time to apply for Commander" to 0 seconds.
  • ptegan
    Member
    • Jul 2006
    • 2666

    #2
    Re: Disable Commander Mode

    Find this file:gpm_cq.py

    in directory yourlocation\EA GAMES\Battlefield 2\mods\bf2\python\game\gamemodes

    Replace this code:

    host.registerGameStatusHandler(onGameStatusChanged )
    if host.sgl_getIsAIGame() == 1:
    host.sh_setEnableCommander(1)
    else:
    host.sh_setEnableCommander(1)

    With this:

    host.registerGameStatusHandler(onGameStatusChanged )
    if host.sgl_getIsAIGame() == 1:
    host.sh_setEnableCommander(0)
    else:
    host.sh_setEnableCommander(0)

    Its all about the "host.sh_setEnableCommander(0)" option! 0 = off, 1 = on!



    Thanx to [DFF]Flits for info!

    Comment

    • MIKEHUNT-UK
      Member
      • Jul 2005
      • 439

      #3
      Re: Disable Commander Mode

      Why would you want to disable the commander function? (It's part of the game)

      Comment

      • Zekk05

        #4
        Re: Disable Commander Mode

        thanks for the code. funny thing is that after I posted it, I found it on the forums. Go figure. n00b++


        Why do I want to disable it? In my opinion, it unbalances the game when its only 5 v 5 or 6v6. Im testing rules for an upcoming BF2 tournament my organization is hosting at our next LAN party.

        Comment

        • The_Misfit

          #5
          Re: Disable Commander Mode

          Just a side note since you're talking 5v5 or 6v6... We played our 1st 5v5 infantry only match this week (TWL). No vehicle at all. Commander mode was allowed - but NO artillery. So I was able to scan / UAV / supply all I wanted, but no arty. Being in a 5v5 I was also fairly active in play, not like playing an 8v8 and leaving commander's screen up all the time..

          Just my 2 cents from someone who's played 5v5 :)

          Comment

          • Zekk05

            #6
            Re: Disable Commander Mode

            Actually, the original rules for the tournament were based around the 5v5 Infantry Ladder in the TWL. The Community didnt support the No Vehicle rule, so it was changed to 6v6 w/ vehicles.

            Since the tournament was on LAN, and for some rather large prizes, it would be hard and rather irritating to control the "No Arty" rule. Players would "forget" or "accidentally use it" and in turn could disqualify their entire team. Since these tournaments are held only twice a year, disqualifying the team REALLY sucks.

            So instead of leaving it to the players to remember side rules in a tourny, commander mode was just disabled instead. This way, no issues. Everyone joins, plays the game, and reports results. very easy.

            The tournament was run this past weekend, and brought in 48 players from across the province. The tournament was full with 8 teams, and ran very well. In the end, [KOP] won the tournament. All their players also play in the BF2 clan n1.

            Comment

            • Sevigon

              #7
              Re: Disable Commander Mode

              I like the idea of disabling Commander Mode in a LAN. I think I'll do it at my squad's next LAN Party.

              Comment

              Working...