More Halloween bumpercar mini-game help

Discussion in 'Mapping Questions & Discussion' started by That's the plan, Dec 18, 2018.

  1. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    I know that this is very specific question, but I would greatly appreciate it if it could be answered none the less. Is it possible to hide the HUD during the Halloween bumper car mini-game? I'm currently trying to make a varient of a KOTH map except with bumpercars, and I need the KOTH hud to appear, but the other HUD is blocking it. (For those who are wondering where this question came from, or are just confused: https://tf2maps.net/threads/halloween-bumpercar-mini-game-help.38249/)
     
  2. Wyvern

    aa Wyvern Certified TF2 Cartographer

    Messages:
    104
    Positive Ratings:
    144
    Could you send a screenshot so that we can get a better look at what's going on?:)
     
    • Like Like x 1
  3. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    The Mini-game HUD is blocking the KOTH HUD. I can't seem to figure out any way to get rid of the HUD. There is a option listed in the entity tf_halloween_minigame to insert you're own custom HUD, but I don't know how to completely get rid of it.
    20181218162837_6.jpg

     
  4. Powerlord

    Powerlord L3: Member

    Messages:
    127
    Positive Ratings:
    60
    How are you moving players to minigames? I ask because there's a dedicated entity for it: tf_logic_minigames. It shows up in the official FGD, so you should see it and its inputs in Hammer. I just assumed that using this entity to activate minigames changes the HUDs around as appopriate.

    Having said that, the KOTH HUD is set up by the tf_logic_koth entity, so maybe Valve didn't take into account that you might want to hide it. I'm not sure if temporarily disabling the tf_logic_koth entity would fix that or not.

    Edit: If the entire map is KOTH using bumper cars, do you even need the minigame? You could just cover the entire map in the entity that adds attributes to players and have it add the bumper cars attribute.
     
    Last edited: Dec 19, 2018
  5. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    Thanks for the reply. I'm using the "tf_halloween_minigame" entity, not tf_logic_minigames. I'm just setting spawn destinations within the entity. I'm not sure how to configure the minigame through tf_logic_minigames as far as I know.
     
  6. Powerlord

    Powerlord L3: Member

    Messages:
    127
    Positive Ratings:
    60
    If you're using tf_logic_minigames, you'd still use tf_halloween_minigame... tf_logic_minigames is just the entity that manages the setup of the minigames and chooses one at random if you tell it to.

    tf_logic_minigames has 4 inputs:
    • TeleportToMinigame(integer) - Teleports players to a specific minigame. I believe the integer corresponds to the Minigame Type, which would be 1 for the collection minigame which is more or less the standard one.
    • TeleportToRandomMinigame - Teleport to a random minigame, you have to set the minigame(s) to be in the random pool in the tf_halloween_minigame settings before this will work.
    • ReturnFromMinigame - Force players to return from the current minigame. I'm sure there's a reason for this, but I don't think any maps actually use it.
    • SetAdvantageTeam(string) - Sets which team should have the advantage during a minigame. I assume it takes "red" or "blu" (dunno why they didn't make it the team number like pretty much every everything else in the game)
     
  7. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    Thanks again for the relpy. I tried setting the command "On map spawn, teleport to minigame, 1" in the logic_auto entity using a input from the entity tf_logic_minigames, but nothing happened.
     
  8. ics

    aa ics http://ics-base.net

    Messages:
    814
    Positive Ratings:
    513
    OnMapSpawn, there are no players in the map to teleport to.