More Halloween bumpercar mini-game help

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
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/)
 

Wyvern

Certified TF2 Cartographer
Feb 16, 2018
105
152
Could you send a screenshot so that we can get a better look at what's going on?:)
 

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
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


Could you send a screenshot so that we can get a better look at what's going on?:)
 

Powerlord

L3: Member
May 8, 2010
127
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:

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
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.
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.
 

Powerlord

L3: Member
May 8, 2010
127
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)
 

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
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)
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.