1. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

KAG Removing red barrier...

Discussion in 'Server Help' started by daskew87, Dec 20, 2014.

  1. daskew87

    daskew87 Legendary corpse humper Donator

    Messages:
    447
    Heya...

    Does anyone know if there is a way to remove the red-barrier from CTF and TTH games manually without having to have another player there on the other team and waiting till the build time is over.

    I am trying to take a look at maps in spectate mode by myself.

    Go on! Fill me with yer knowledge! :heart:
     
  2. Galen

    Galen Haxor Staff Alumni Donator

    Messages:
    1,262
    set build time to zero?
     
    Pizza likes this.
  3. daskew87

    daskew87 Legendary corpse humper Donator

    Messages:
    447
    That would do it.

    Don't tell anyone but I don't know how to do that, which cfg file is that and what do I change if you don't mind Galen?

    • Is there a more dynamic way in-game for a superadmin to lower the red barrier manually?
     
  4. Galen

    Galen Haxor Staff Alumni Donator

    Messages:
    1,262
    X/KAG/Base/Rules/<gamemode>/<gamemode>_vars.cfg
    Code:
    #amount of pre-game time once there are enough players ingame
        warmup_time = 180; #seconds
    Replace "<gamemode>" with whatever gamemode you're hosting.
    And no, I don't think there's a way to actually end the build time ingame.
     
    Pizza, daskew87 and kodysch like this.
  5. Auburn

    Auburn Prepare Yourself! Forum Moderator Staff Alumni Donator Tester
    1. SharSharShar - [SHARK]

    Messages:
    734
    if you spawn a bot, the timer will start
     
    daskew87 likes this.
  6. daskew87

    daskew87 Legendary corpse humper Donator

    Messages:
    447
    Thanks a lot man I'll give that a go.

    This is another topic but I'm interested in this. How do you spawn a bot?
     
  7. Auburn

    Auburn Prepare Yourself! Forum Moderator Staff Alumni Donator Tester
    1. SharSharShar - [SHARK]

    Messages:
    734
    should just be !bot in chat
     
    daskew87 likes this.
  8. daskew87

    daskew87 Legendary corpse humper Donator

    Messages:
    447
    Can you explain what bots are for exactly? What are their uses?
     
  9. type getRules().SetCurrentState(GAME) in console (prefixed by /rcon if needed)
     
    Last edited: Dec 21, 2014
    zerd and daskew87 like this.
  10. daskew87

    daskew87 Legendary corpse humper Donator

    Messages:
    447
    Okay if I could like your post 10 times I would do. I just tried that, it works.

    That's amazing Norill thanks a lot.
     
  11. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    If there is no building time then you don't need to keep RedBarrier.as into your gamemode.cfg
    Will just eventually free up a bit of memory